View | Details | Raw Unified | Return to bug 11431
Collapse All | Expand All

(-)a/admin/audio_alerts.pl (-1 / +1 lines)
Lines 63-68 if (@delete) { Link Here
63
    Koha::AudioAlerts->fix_precedences();
63
    Koha::AudioAlerts->fix_precedences();
64
}
64
}
65
65
66
$template->param( AudioAlerts => 1, audio_alerts => scalar Koha::AudioAlerts->search() );
66
$template->param( AudioAlertsPage => 1, audio_alerts => scalar Koha::AudioAlerts->search() );
67
67
68
output_html_with_http_headers $cgi, $cookie, $template->output;
68
output_html_with_http_headers $cgi, $cookie, $template->output;
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc (-1 / +1 lines)
Lines 64-70 Link Here
64
    </script>
64
    </script>
65
[% END %]
65
[% END %]
66
66
67
[% IF Koha.Preference('AudioAlerts') || AudioAlerts %]
67
[% IF Koha.Preference('AudioAlerts') || AudioAlertsPage %]
68
    <script type="text/javascript">
68
    <script type="text/javascript">
69
        //<![CDATA[
69
        //<![CDATA[
70
            var AUDIO_ALERT_PATH = '[% interface %]/[% theme %]/sound/';
70
            var AUDIO_ALERT_PATH = '[% interface %]/[% theme %]/sound/';
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/audio_alerts.tt (-2 / +1 lines)
Lines 12-18 Link Here
12
    <li>Locate the "Add new alert" form.</li>
12
    <li>Locate the "Add new alert" form.</li>
13
    <li>
13
    <li>
14
        Enter a selector in the "selector" input, you can see documentation on jQuery selectors <a href="http://api.jquery.com/category/selectors/">here</a>.
14
        Enter a selector in the "selector" input, you can see documentation on jQuery selectors <a href="http://api.jquery.com/category/selectors/">here</a>.
15
        For example, if you use the selector "#circ_impossible" your selected sound will be trigger when a checkout for a patron is not possible ( such as the barcode not being found ).
15
        For example, if you use the selector "#circ_impossible" your selected sound will be triggered when a checkout for a patron is not possible (such as the barcode not being found).
16
    <li>Enter a sound to be played, you can either select a built-in Koha sound using the pulldown selector, or you can enter a full URL to a sound file on another server.</li>
16
    <li>Enter a sound to be played, you can either select a built-in Koha sound using the pulldown selector, or you can enter a full URL to a sound file on another server.</li>
17
    <li>At this point, you can preview your sound by clicking the "Play sound" button</li>
17
    <li>At this point, you can preview your sound by clicking the "Play sound" button</li>
18
    <li>Click "Save alert" and your done!</li>
18
    <li>Click "Save alert" and your done!</li>
19
- 

Return to bug 11431