@@ -, +, @@
---
installer/data/mysql/updatedatabase.pl | 7 +++++++
.../prog/en/includes/doc-head-close.inc | 6 +++++-
koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js | 11 +++++++----
.../en/modules/admin/preferences/circulation.pref | 15 +++++++++++++++
4 files changed, 34 insertions(+), 5 deletions(-)
--- a/installer/data/mysql/updatedatabase.pl
+++ a/installer/data/mysql/updatedatabase.pl
@@ -8564,6 +8564,13 @@ $DBversion = "3.17.00.XXX";
if ( CheckVersion($DBversion) ) {
$dbh->do(q{UPDATE systempreferences SET variable = 'AudioAlerts' WHERE variable = 'soundon'});
+ $dbh->do(q{
+ INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type ) VALUES
+ ( 'OverrideAudioAlertWarning', '', NULL, 'URL to an audio file to replace the default warning sound.', 'free' ),
+ ( 'OverrideAudioAlertAction', '', NULL, 'URL to an audio file to replace the default "action required" sound.', 'free' ),
+ ( 'OverrideAudioAlertSuccess', '', NULL, 'URL to an audio file to replace the default success sound.', 'free' )
+ });
+
print "Upgrade to $DBversion done (Bug 11169 - Add OPACAcquisitionDetails syspref)\n";
SetVersion($DBversion);
}
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc
@@ -1,3 +1,4 @@
+[% USE Koha %]
@@ -65,7 +66,10 @@
[% IF AudioAlerts %]