From 6d777c478f4b59fdc3f4d265353d0ee0e480b228 Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Thu, 18 Feb 2010 11:19:52 +0100 Subject: [PATCH] Bug 5916 : (MT #2685) don't show authority edition menu this patch add a check of rights to show the authority edition menu, if the user have no rights of authority edition, we hide the menu. --- .../prog/en/includes/authorities-toolbar.inc | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc index 425519e..3e0c527 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc @@ -18,7 +18,7 @@ { text: "", url: "/cgi-bin/koha/authorities/authorities.pl?authtypecode="}, ] - + new YAHOO.widget.Button({ type: "menu", label: _("New Authority"), @@ -36,6 +36,7 @@ container: "delAuthc", onclick: {fn: confirm_deletion } }); + } //]]> -- 1.7.1