Bug 19502: (follow-up) Pass parameters to avoid making templates depend on search...
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / tools-menu.inc
index a4bf84a..d3e03a9 100644 (file)
@@ -1,18 +1,3 @@
-<script type="text/javascript">//<![CDATA[
-    $(document).ready(function() {
-        var path = location.pathname.substring(1);
-        if (path.indexOf("labels") >= 0 && path.indexOf("spine") < 0 ) {
-          $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').css('font-weight','bold');
-        } else if (path.indexOf("patroncards") >= 0 ) {
-          $('#navmenulist a[href$="/cgi-bin/koha/patroncards/home.pl"]').css('font-weight','bold');
-       } else if (path.indexOf("patron_lists") >= 0 ) {
-          $('#navmenulist a[href$="/cgi-bin/koha/patron_lists/lists.pl"]').css('font-weight','bold');
-        } else {
-          $('#navmenulist a[href$="/' + path + '"]').css('font-weight','bold');
-        }
-    });
-//]]>
-</script>
 <div id="navmenu">
 <div id="navmenulist">
 <ul>
@@ -23,6 +8,9 @@
     [% IF ( CAN_user_tools_manage_patron_lists ) %]
        <li><a href="/cgi-bin/koha/patron_lists/lists.pl">Patron lists</a></li>
     [% END %]
+    [% IF (CAN_user_clubs) %]
+        <li><a href="/cgi-bin/koha/clubs/clubs.pl">Patron clubs</a></li>
+    [% END %]
     [% IF ( CAN_user_tools_moderate_comments ) %]
        <li><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments</a></li>
     [% END %]
     [% IF ( CAN_user_tools_upload_general_files ) %]
        <li><a href="/cgi-bin/koha/tools/upload.pl">Upload any file</a></li>
     [% END %]
+    [% IF ( CAN_user_tools_access_files ) %]
+    <li><a href="/cgi-bin/koha/tools/access_files.pl">Access files</a></li>
+    [% END %]
 </ul></div></div>