Koha/koha-tmpl/intranet-tmpl/prog/en/includes
Kyle M Hall 220ff161e9 Bug 11431: Add additional sound options
This patch set replaces and extends Koha's current sound options.
This is implemented be removing the existing sound system, and
re-engineering using a table of selector/sound combinations such that
the highest precedence selector that is found in the DOM will trigger
and audio alert. The existing audio behaviors are implemented as a set
of default audio alerts.

Test Plan:
1) Apply this patch set
2) Run updatedatabase.pl
3) Enable the AudioAlerts system preference
4) Test existing sounds
5) Enter the new alerts editor in the admin section
6) Add a new audo alert with the following selector:
    "body:contains('Check in message')",
   choose any sound alert you wish, make sure it's not one of the 3
   sounds already used! Make this selector precedence 1
4) Browse to the checkins page, you should hear the default sound
5) Attempt to return an invalid barcode, you should hear your custom sound!

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
2015-11-04 12:32:57 -03:00
..
catalogue Bug 14303: Fix item search CSV export - obsolete "by" and display of publication year for MARC21 2015-07-10 10:57:20 -03:00
csv_headers Bug 14263: Fix export of item search results when translated 2015-06-04 10:08:40 -03:00
virtualshelves/merge
acquisitions-add-to-basket.inc
acquisitions-menu.inc
acquisitions-search.inc
acquisitions-toolbar.inc Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
additem.js.inc
admin-items-search-field-form.inc Bug 11425: Add item search form in staff interface 2014-11-04 19:08:12 -03:00
admin-menu.inc Bug 11431: Add additional sound options 2015-11-04 12:32:57 -03:00
auth-finder-search.inc Bug 14915: (QA followup) Replace fa-remove-sign with fa-times-circle 2015-10-27 10:03:06 -03:00
authorities-search-results.inc Bug 10985: [UNIMARC] Fix authority summary 2015-04-22 11:54:36 -03:00
authorities-search.inc Bug 14189: Use keep_text for the authority header 2015-07-07 15:37:19 -03:00
authorities-toolbar.inc Bug 14915: (QA followup) Replace fa-downlowd-alt with fa-download 2015-10-27 10:03:38 -03:00
authorities.inc
authorities_js.inc
av-build-dropbox.inc
biblio-default-view.inc
biblio-view-menu.inc Bug 14557: Add holds count to holds tab 2015-08-26 10:56:02 -03:00
borrower_debarments.inc Bug 8007: Discharge - Glue 2015-04-30 12:33:53 -03:00
branch-selector.inc Bug 13040 [QA Followup] - Fix koha-qa.pl issues 2015-01-26 16:22:12 -03:00
browser-strings.inc
budgets-active-currency.inc
budgets-admin-search.inc Bug 14189: Made text persist when clicking the tabs under the searchbox 2015-07-07 15:37:11 -03:00
budgets-admin-toolbar.inc Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
calendar.inc Bug 12137: Use Koha.Preference to access pref value 2015-07-20 10:44:06 -03:00
cat-menu.inc
cat-search.inc Bug 14189: Made text persist when clicking the tabs under the searchbox 2015-07-07 15:37:11 -03:00
cat-toolbar.inc Bug 14915: [FA 4.4] (QA followup) Replace fa-hold with fa-sticky-note-o 2015-10-27 10:04:20 -03:00
cataloging-search.inc Bug 14829: Fix shortcuts in the cataloging and patron modules 2015-10-02 15:08:42 -03:00
cateditor-ui.inc Bug 11559: (QA followup) fix several small issues 2015-10-27 12:25:01 -03:00
cateditor-widgets-marc21.inc Bug 11559: (followup) Fix import bugs, display/parsing issues 2015-10-27 12:18:00 -03:00
checkin-search.inc Bug 14189: Made text persist when clicking the tabs under the searchbox 2015-07-07 15:37:11 -03:00
checkouts-table-footer.inc Bug 13492: Add the location column to the checkouts tables 2015-04-24 09:41:23 -03:00
checkouts-table.inc Bug 14915: (QA followup) Replace fa-downlowd-alt with fa-download 2015-10-27 10:03:38 -03:00
circ-menu.inc Bug 15037: Correctly check the patron categories on displaying the Batch checkout tab 2015-10-23 10:11:37 -03:00
circ-search.inc Bug 14189: Made text persist when clicking the tabs under the searchbox 2015-07-07 15:37:11 -03:00
cities-admin-search.inc Bug 14189: Made text persist when clicking the tabs under the searchbox 2015-07-07 15:37:11 -03:00
columns_settings.inc Bug 14510: (QA followup) fix columns settings in other pages 2015-09-18 11:57:04 -03:00
contracts-admin-search.inc Bug 14189: Made text persist when clicking the tabs under the searchbox 2015-07-07 15:37:11 -03:00
currencies-admin-search.inc Bug 14189: Made text persist when clicking the tabs under the searchbox 2015-07-07 15:37:11 -03:00
datatables-strings.inc
datatables.inc Bug 12987: The new format_price include file should be include on using datatables 2014-11-11 09:46:27 -03:00
date-format.inc
doc-head-close-receipt.inc
doc-head-close.inc Bug 11431: Add additional sound options 2015-11-04 12:32:57 -03:00
doc-head-open.inc Bug 13948: Prevent explosion when Template::Plugin::Stash not installed 2015-07-28 10:30:21 -03:00
empty_line.inc Bug 14263: Fix export of item search results when translated 2015-06-04 10:08:40 -03:00
facets.inc Bug 13789 - facets with accented utf-8 characters generate double encoded links 2015-03-07 21:05:04 +01:00
form-blocks.inc
format_price.inc Bug 12987: Update table footer with the visible rows 2014-11-11 09:46:21 -03:00
greybox.inc Revert "Bug 8992: Use the existing greybox plugin in interface/theme" 2015-04-29 12:07:23 -03:00
guided-reports-view.inc
header.inc Bug 14773: Move help link back out of the dropdown menu 2015-11-02 11:36:23 -03:00
help-bottom.inc
help-top.inc Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
home-search.inc Bug 14189: Made text persist when clicking the tabs under the searchbox 2015-07-07 15:37:11 -03:00
installer-doc-head-close.inc Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
intranet-bottom.inc Bug 11431: Add additional sound options 2015-11-04 12:32:57 -03:00
intranetstylesheet.inc
labels-toolbar.inc Bug 14915: (QA followup) Switch recent commits from Glyphicons to Font Awesome 2015-10-27 10:04:53 -03:00
letters-search.inc Bug 14189: Made text persist when clicking the tabs under the searchbox 2015-07-07 15:37:11 -03:00
member-alt-address-style-de.inc Bug 4041: (QA followup) fix issues raised by koha-qa.pl 2015-04-29 12:04:07 -03:00
member-alt-address-style-us.inc Bug 4041: (QA followup) fix issues raised by koha-qa.pl 2015-04-29 12:04:07 -03:00
member-alt-contact-style-de.inc Bug 4041: (QA followup) fix issues raised by koha-qa.pl 2015-04-29 12:04:07 -03:00
member-alt-contact-style-us.inc Bug 4041: (QA followup) fix issues raised by koha-qa.pl 2015-04-29 12:04:07 -03:00
member-display-address-style-de.inc Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
member-display-address-style-us.inc Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
member-main-address-style-de.inc Bug 4041: (QA followup) fix issues raised by koha-qa.pl 2015-04-29 12:04:07 -03:00
member-main-address-style-us.inc Bug 4041: (QA followup) fix issues raised by koha-qa.pl 2015-04-29 12:04:07 -03:00
members-menu.inc Bug 8007: Discharge - Glue 2015-04-30 12:33:53 -03:00
members-toolbar.inc Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
merge-record-strings.inc
merge-record.inc
messaging-preference-form.inc Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
nl-search-form.tt Bug 11401: Add support for Norwegian national library card 2014-11-14 09:42:23 -03:00
page-numbers.inc Bug 13425 - XSS in intranet facets - Patch for 3.18 and master 2014-12-26 21:03:17 -03:00
patron-search-box.inc Bug 14189: Made text persist when clicking the tabs under the searchbox 2015-07-07 15:37:11 -03:00
patron-search.inc Bug 14829: Fix shortcuts in the cataloging and patron modules 2015-10-02 15:08:42 -03:00
patron-title.inc Bug 12648: Fix conflict with bug 8096 2015-03-11 14:16:17 -03:00
patron-toolbar.inc Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
patroncards-errors.inc
patroncards-toolbar.inc Bug 14915: (QA followup) Switch recent commits from Glyphicons to Font Awesome 2015-10-27 10:04:53 -03:00
patrons-admin-search.inc Bug 14189: Made text persist when clicking the tabs under the searchbox 2015-07-07 15:37:11 -03:00
permissions.inc Bug 13632: QA follow-up: Tidy installer directories / update permissions.inc 2015-10-19 09:38:04 -03:00
popup-bottom.inc
prefs-admin-search.inc Bug 14189: Made text persist when clicking the tabs under the searchbox 2015-07-07 15:37:11 -03:00
prefs-menu.inc Bug 11559: Rancor: advanced cataloging interface 2015-10-27 12:17:39 -03:00
printers-admin-search.inc Bug 14189: Made text persist when clicking the tabs under the searchbox 2015-07-07 15:37:11 -03:00
quotes-toolbar.inc Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
quotes-upload-toolbar.inc Bug 14915: (QA followup) Replace fa-hdd with fa-save 2015-10-27 10:03:24 -03:00
reports-menu.inc
reports-toolbar.inc Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
resort_form.inc
rotating-collections-toolbar.inc Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
search_indexes.inc Bug 9368 [ALTERNATE] - specific behavior of yr and acqdate indexes 2014-10-22 15:16:55 -03:00
searchbox-keep-text.inc Bug 14189: Made text persist when clicking the tabs under the searchbox 2015-07-07 15:37:11 -03:00
serials-menu.inc Bug 10855: Search subscriptions by additional fields 2015-10-02 15:10:30 -03:00
serials-search.inc Bug 14189: Made text persist when clicking the tabs under the searchbox 2015-07-07 15:37:11 -03:00
serials-toolbar.inc Bug 14915: (QA followup) Tweak '+' icon for serials-home 2015-10-27 10:02:51 -03:00
slip-print.inc
stopwords-admin-search.inc Bug 14189: Made text persist when clicking the tabs under the searchbox 2015-07-07 15:37:11 -03:00
strings.inc Bug 8236: Renewing policy in overdue or restriction case 2015-10-19 14:36:55 -03:00
subscriptions-search.inc Bug 10971: Hide EAN search for MARC21 / template corrections 2015-04-24 20:14:52 -03:00
subtypes_unimarc.inc
suggestions-add-search.inc Bug 14189: Made text persist when clicking the tabs under the searchbox 2015-07-07 15:37:11 -03:00
timepicker.inc
tools-item-action.inc
tools-menu.inc Bug 11395: Add links to the new tool page 2015-03-05 15:27:01 +01:00
tools-nomatch-action.inc
tools-overlay-action.inc
validator-strings.inc
vendor-menu.inc
virtualshelves-toolbar.inc Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
wysiwyg-systempreferences.inc Bug 11584: Add wysiwyg editor to system preferences dealing with HTML 2015-08-28 10:28:50 -03:00
z3950-admin-search.inc Bug 14189: Made text persist when clicking the tabs under the searchbox 2015-07-07 15:37:11 -03:00