Link Here
|
|
|
1 |
[% USE Koha %] |
2 |
|
3 |
<script type="text/javascript">//<![CDATA[ |
4 |
$(document).ready(function() { |
5 |
var path = location.pathname.substring(1); |
6 |
if (path.indexOf("labels") >= 0 && path.indexOf("spine") < 0 ) { |
7 |
$('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').css('font-weight','bold'); |
8 |
} else if (path.indexOf("patroncards") >= 0 ) { |
9 |
$('#navmenulist a[href$="/cgi-bin/koha/patroncards/home.pl"]').css('font-weight','bold'); |
10 |
} else if (path.indexOf("patron_lists") >= 0 ) { |
11 |
$('#navmenulist a[href$="/cgi-bin/koha/patron_lists/lists.pl"]').css('font-weight','bold'); |
12 |
} else if ((path+location.search).indexOf("batchMod.pl?del=1") >= 0 ) { |
13 |
$('#navmenulist a[href$="/cgi-bin/koha/tools/batchMod.pl?del=1"]').css('font-weight','bold'); |
14 |
} else { |
15 |
$('#navmenulist a[href$="/' + path + '"]').css('font-weight','bold'); |
16 |
} |
17 |
}); |
18 |
//]]> |
19 |
</script> |
1 |
<div id="navmenu"> |
20 |
<div id="navmenu"> |
2 |
<div id="navmenulist"> |
21 |
<div id="navmenulist"> |
3 |
<ul> |
22 |
<ul> |
Link Here
|
38 |
[% IF ( CAN_user_tools_batch_upload_patron_images ) %] |
57 |
[% IF ( CAN_user_tools_batch_upload_patron_images ) %] |
39 |
<li><a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a></li> |
58 |
<li><a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a></li> |
40 |
[% END %] |
59 |
[% END %] |
41 |
[% IF ( CAN_user_stockrotation_can_edit_rotas ) %] |
60 |
[% IF ( CAN_user_stockrotation_can_edit_rotas && Koha.Preference('StockRotation') ) %] |
42 |
<li><a href="/cgi-bin/koha/tools/stockrotation.pl">Stock rotation</a></li> |
61 |
<li><a href="/cgi-bin/koha/tools/stockrotation.pl">Stock rotation</a></li> |
43 |
[% END %] |
62 |
[% END %] |
44 |
</ul> |
63 |
</ul> |