[Koha-patches] [PATCH] [SIGNED-OFF] bug 4252 add authorites permission to menus
Owen Leonard
oleonard at myacpl.org
Mon Dec 13 16:27:47 CET 2010
From: Nicole Engard <nengard at bywatersolutions.com>
Added to more menu and to the main intranet page
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
---
.../intranet-tmpl/prog/en/includes/header.inc | 2 +
.../prog/en/modules/intranet-main.tmpl | 28 +++++++++++++++-----
2 files changed, 23 insertions(+), 7 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc
index 95ce8dd..4a81e97 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc
@@ -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 -->
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tmpl
index 420d7e1..368ad00 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tmpl
@@ -58,21 +58,35 @@
<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>
--
1.7.1
More information about the Koha-patches
mailing list