From c2513fb4bad8b4abcb3766a8296505401821fcac Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Fri, 4 Jan 2008 21:31:05 -0500 Subject: [PATCH] additional fixes to permissions Signed-off-by: Joshua Ferraro --- C4/Auth.pm | 2 +- .../prog/en/includes/biblio-view-menu.inc | 23 +++++++++++-------- .../prog/en/includes/cat-toolbar.inc | 6 +++-- .../prog/en/includes/circ-menu.inc | 4 ++++ .../prog/en/includes/circ-toolbar.inc | 4 ++++ 5 files changed, 26 insertions(+), 13 deletions(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 77eb4428e4..590ea3f369 100755 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -211,7 +211,7 @@ sub get_template_and_user { } if ( $flags && $flags->{updatecharges} == 1 ) { - $template->param( CAN_user_updatecharge => 1 ); + $template->param( CAN_user_updatecharges => 1 ); } if ( $flags && $flags->{acquisition} == 1 ) { diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc index eeb2a5e846..e431d3cbea 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc @@ -1,20 +1,23 @@ \ No newline at end of file + diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc index ec4870f712..3dfbd01c95 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc @@ -102,16 +102,18 @@ function confirm_deletion() { diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc index e4d5293b1b..eef505c8d6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -30,8 +30,12 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc index 154ecc12aa..ef53fd6bfe 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc @@ -89,6 +89,7 @@ function confirm_reregistration() { //]]>