bug 4252 add authorites permission to menus
authorNicole Engard <nengard@bywatersolutions.com>
Mon, 13 Dec 2010 15:27:47 +0000 (10:27 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 14 Dec 2010 00:16:32 +0000 (13:16 +1300)
Added to more menu and to the main intranet page

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/includes/header.inc
koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tmpl

index 95ce8dd..4a81e97 100644 (file)
@@ -22,7 +22,9 @@
                             <!-- TMPL_IF NAME="CAN_user_acquisition" -->
                             <li><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a></li>
                             <!-- /TMPL_IF -->
+                            <!-- TMPL_IF NAME="CAN_user_editauthorities" -->
                             <li><a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a></li>
+                            <!-- /TMPL_IF -->
                             <!-- TMPL_IF NAME="CAN_user_serials" -->
                             <li><a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a></li>
                             <!-- /TMPL_IF -->
index 420d7e1..368ad00 100644 (file)
     <h3><a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a></h3>
        <ul>
         <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl">Add MARC Record</a></li>
+    <!-- TMPL_ELSE -->
+    <!-- TMPL_IF NAME="CAN_user_editauthorities" -->
+    <h3>Cataloging</h3>
+    <ul>
+    <!-- /TMPL_IF -->
+    <!-- /TMPL_IF -->
+    <!-- TMPL_IF NAME="CAN_user_editauthorities" -->
         <li><a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a></li>
+    <!-- /TMPL_IF -->
     </ul>
     <!-- /TMPL_IF -->
     <!-- TMPL_IF NAME="CAN_user_serials" -->
     <h3><a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a></h3>
     <!-- /TMPL_IF -->
-       <!-- TMPL_IF NAME="CAN_user_acquisition" --> <h3><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a></h3> <!-- /TMPL_IF -->
-    <!-- TMPL_IF NAME="CAN_user_reports"     --> <h3><a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> </h3> <!-- /TMPL_IF -->
+       <!-- TMPL_IF NAME="CAN_user_acquisition" -->
+       <h3><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a></h3>
+       <!-- /TMPL_IF -->
+    <!-- TMPL_IF NAME="CAN_user_reports" -->
+    <h3><a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a></h3>
+    <!-- /TMPL_IF -->
     <!-- TMPL_IF NAME="CAN_user_parameters" -->
-   <h3> <a href="/cgi-bin/koha/admin/admin-home.pl">Koha administration</a></h3>
-                       <ul>
-            <li><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></li>
-        </ul>
+    <h3><a href="/cgi-bin/koha/admin/admin-home.pl">Koha administration</a></h3>
+       <ul>
+        <li><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></li>
+    </ul>
+    <!-- /TMPL_IF -->
+    <!-- TMPL_IF NAME="CAN_user_tools" --> 
+    <h3><a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a></h3>
     <!-- /TMPL_IF -->
-    <!-- TMPL_IF NAME="CAN_user_tools" --> <h3><a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a></h3> <!-- /TMPL_IF -->
     <h3><a href="/cgi-bin/koha/about.pl">About Koha</a></h3>
        </div>
        </div>