Lines 3-8
Link Here
|
3 |
[% USE Koha %] |
3 |
[% USE Koha %] |
4 |
[% USE KohaDates %] |
4 |
[% USE KohaDates %] |
5 |
[% USE AudioAlerts %] |
5 |
[% USE AudioAlerts %] |
|
|
6 |
[% USE To %] |
6 |
[% USE Price %] |
7 |
[% USE Price %] |
7 |
[% INCLUDE 'doc-head-open.inc' %] |
8 |
[% INCLUDE 'doc-head-open.inc' %] |
8 |
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %] › Self checkout </title> |
9 |
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %] › Self checkout </title> |
Lines 379-385
Link Here
|
379 |
return true; |
380 |
return true; |
380 |
} |
381 |
} |
381 |
[% IF Koha.Preference('AudioAlerts') %] |
382 |
[% IF Koha.Preference('AudioAlerts') %] |
382 |
var AUDIO_ALERTS = JSON.parse( '[% AudioAlerts.AudioAlerts | replace( "'", "\\'" ) | replace( '"', '\\"' ) | html %]' ); |
383 |
var AUDIO_ALERTS = JSON.parse( "[% To.json(AudioAlerts.AudioAlerts) | $raw %]" ); |
383 |
$( document ).ready(function() { |
384 |
$( document ).ready(function() { |
384 |
if ( AUDIO_ALERTS ) { |
385 |
if ( AUDIO_ALERTS ) { |
385 |
for ( var k in AUDIO_ALERTS ) { |
386 |
for ( var k in AUDIO_ALERTS ) { |
386 |
- |
|
|