Lines 1-13
Link Here
|
1 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
1 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
2 |
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" /> |
2 |
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" /> |
|
|
3 |
|
3 |
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/jquery/jquery-ui.css" /> |
4 |
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/jquery/jquery-ui.css" /> |
4 |
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/bootstrap/bootstrap.min.css" /> |
5 |
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/bootstrap/bootstrap.min.css" /> |
5 |
<link rel="stylesheet" type="text/css" media="print" href="[% themelang %]/css/print.css" /> |
6 |
<link rel="stylesheet" type="text/css" media="print" href="[% themelang %]/css/print.css" /> |
6 |
[% INCLUDE intranetstylesheet.inc %] |
7 |
[% INCLUDE intranetstylesheet.inc %] |
7 |
[% IF ( bidi ) %] |
8 |
[% IF ( bidi ) %]<link rel="stylesheet" type="text/css" href="[% themelang %]/css/right-to-left.css" />[% END %] |
8 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/right-to-left.css" /> |
|
|
9 |
[% END %] |
10 |
[% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS %]</style>[% END %] |
9 |
[% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS %]</style>[% END %] |
|
|
10 |
|
11 |
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery.js"></script> |
11 |
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery.js"></script> |
12 |
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-ui.js"></script> |
12 |
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-ui.js"></script> |
13 |
<script type="text/javascript" src="[% interface %]/lib/shortcut/shortcut.js"></script> |
13 |
<script type="text/javascript" src="[% interface %]/lib/shortcut/shortcut.js"></script> |
Lines 22-58
Link Here
|
22 |
|
22 |
|
23 |
<!-- koha core js --> |
23 |
<!-- koha core js --> |
24 |
<script type="text/javascript" src="[% themelang %]/js/staff-global.js"></script> |
24 |
<script type="text/javascript" src="[% themelang %]/js/staff-global.js"></script> |
|
|
25 |
|
25 |
[% INCLUDE 'validator-strings.inc' %] |
26 |
[% INCLUDE 'validator-strings.inc' %] |
|
|
27 |
|
26 |
[% IF ( intranetuserjs ) %] |
28 |
[% IF ( intranetuserjs ) %] |
27 |
<script type="text/javascript"> |
29 |
<script type="text/javascript"> |
28 |
//<![CDATA[ |
30 |
//<![CDATA[ |
29 |
[% intranetuserjs %] |
31 |
[% intranetuserjs %] |
30 |
//]]> |
32 |
//]]> |
31 |
</script> |
33 |
</script> |
32 |
[% END %] |
34 |
[% END %] |
|
|
35 |
|
33 |
[% IF ( virtualshelves || intranetbookbag ) %] |
36 |
[% IF ( virtualshelves || intranetbookbag ) %] |
34 |
<script type="text/javascript"> |
37 |
<script type="text/javascript"> |
35 |
//<![CDATA[ |
38 |
//<![CDATA[ |
36 |
var MSG_BASKET_EMPTY = _("Your cart is currently empty"); |
39 |
var MSG_BASKET_EMPTY = _("Your cart is currently empty"); |
37 |
var MSG_RECORD_IN_BASKET = _("This item is already in your cart"); |
40 |
var MSG_RECORD_IN_BASKET = _("This item is already in your cart"); |
38 |
var MSG_RECORD_ADDED = _("This item has been added to your cart"); |
41 |
var MSG_RECORD_ADDED = _("This item has been added to your cart"); |
39 |
var MSG_NRECORDS_ADDED = _(" item(s) added to your cart"); |
42 |
var MSG_NRECORDS_ADDED = _(" item(s) added to your cart"); |
40 |
var MSG_NRECORDS_IN_BASKET = _("already in your cart"); |
43 |
var MSG_NRECORDS_IN_BASKET = _("already in your cart"); |
41 |
var MSG_NO_RECORD_SELECTED = _("No item was selected"); |
44 |
var MSG_NO_RECORD_SELECTED = _("No item was selected"); |
42 |
var MSG_NO_RECORD_ADDED = _("No item was added to your cart"); |
45 |
var MSG_NO_RECORD_ADDED = _("No item was added to your cart"); |
43 |
var MSG_CONFIRM_DEL_BASKET = _("Are you sure you want to empty your cart?"); |
46 |
var MSG_CONFIRM_DEL_BASKET = _("Are you sure you want to empty your cart?"); |
44 |
var MSG_CONFIRM_DEL_RECORDS = _("Are you sure you want to remove the selected items?"); |
47 |
var MSG_CONFIRM_DEL_RECORDS = _("Are you sure you want to remove the selected items?"); |
45 |
var MSG_IN_YOUR_CART = _("Items in your cart: "); |
48 |
var MSG_IN_YOUR_CART = _("Items in your cart: "); |
46 |
var MSG_NON_RESERVES_SELECTED = _("One or more selected items cannot be reserved."); |
49 |
var MSG_NON_RESERVES_SELECTED = _("One or more selected items cannot be reserved."); |
47 |
//]]> |
50 |
//]]> |
48 |
</script> |
51 |
</script> |
49 |
<script type="text/javascript" src="[% themelang %]/js/basket.js"></script> |
52 |
|
|
|
53 |
<script type="text/javascript" src="[% themelang %]/js/basket.js"></script> |
50 |
[% END %] |
54 |
[% END %] |
|
|
55 |
|
51 |
[% IF LocalCoverImages %] |
56 |
[% IF LocalCoverImages %] |
52 |
<script type="text/javascript" src="[% themelang %]/js/localcovers.js"></script> |
57 |
<script type="text/javascript" src="[% themelang %]/js/localcovers.js"></script> |
53 |
<script type="text/javascript"> |
58 |
<script type="text/javascript"> |
54 |
//<![CDATA[ |
59 |
//<![CDATA[ |
55 |
var NO_LOCAL_JACKET = _("No cover image available"); |
60 |
var NO_LOCAL_JACKET = _("No cover image available"); |
56 |
//]]> |
61 |
//]]> |
57 |
</script> |
62 |
</script> |
|
|
63 |
[% END %] |
64 |
|
65 |
[% IF soundon %] |
66 |
<script type="text/javascript"> |
67 |
//<![CDATA[ |
68 |
var TMPL_SOUND_PATH = "[% interface %]/[% theme %]/sound/"; |
69 |
//]]> |
70 |
|
71 |
$( document ).ready(function() { |
72 |
if ( $(".audio-alert-action").length ) { |
73 |
playSoundAction(); |
74 |
} |
75 |
else if ( $(".audio-alert-warning").length ) { |
76 |
playSoundWarning(); |
77 |
} |
78 |
else if ( $(".audio-alert-success").length ) { |
79 |
playSoundSuccess(); |
80 |
} |
81 |
}); |
82 |
</script> |
58 |
[% END %] |
83 |
[% END %] |