koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/C4 Auth.pm,1.36.2.1,1.36.2.2


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/C4 Auth.pm,1.36.2.1,1.36.2.2
Date: Thu, 28 Apr 2005 01:26:41 -0700

Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29709/C4

Modified Files:
      Tag: rel_2_2
        Auth.pm 
Log Message:
the 2 fixes for 2.2.2b

Index: Auth.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Auth.pm,v
retrieving revision 1.36.2.1
retrieving revision 1.36.2.2
diff -C2 -r1.36.2.1 -r1.36.2.2
*** Auth.pm     7 Apr 2005 10:04:09 -0000       1.36.2.1
--- Auth.pm     28 Apr 2005 08:26:39 -0000      1.36.2.2
***************
*** 131,135 ****
                # to create the template's parameters that will indicate
                # which menus the user can access.
!               if ($flags->{superlibrarian} == 1)
                {
                        $template->param(CAN_user_circulate => 1);
--- 131,135 ----
                # to create the template's parameters that will indicate
                # which menus the user can access.
!               if ($flags && $flags->{superlibrarian} == 1)
                {
                        $template->param(CAN_user_circulate => 1);
***************
*** 147,158 ****
                        $template->param(CAN_user_tools => 1); }
                
!               if ($flags->{circulate} == 1) {
                        $template->param(CAN_user_circulate => 1); }
  
!               if ($flags->{catalogue} == 1) {
                        $template->param(CAN_user_catalogue => 1); }
                
  
!               if ($flags->{parameters} == 1) {
                        $template->param(CAN_user_parameters => 1);     
                        $template->param(CAN_user_management => 1);
--- 147,158 ----
                        $template->param(CAN_user_tools => 1); }
                
!               if ($flags && $flags->{circulate} == 1) {
                        $template->param(CAN_user_circulate => 1); }
  
!               if ($flags && $flags->{catalogue} == 1) {
                        $template->param(CAN_user_catalogue => 1); }
                
  
!               if ($flags && $flags->{parameters} == 1) {
                        $template->param(CAN_user_parameters => 1);     
                        $template->param(CAN_user_management => 1);
***************
*** 160,197 ****
                
  
!               if ($flags->{borrowers} == 1) {
                        $template->param(CAN_user_borrowers => 1); }
                
  
!               if ($flags->{permissions} == 1) {
                        $template->param(CAN_user_permission => 1); }
                
!               if ($flags->{reserveforothers} == 1) {
                        $template->param(CAN_user_reserveforothers => 1); }
                
  
!               if ($flags->{borrow} == 1) {
                        $template->param(CAN_user_borrow => 1); }
                
  
!               if ($flags->{reserveforself} == 1) {
                        $template->param(CAN_user_reserveforself => 1); }
                
  
!               if ($flags->{editcatalogue} == 1) {
                        $template->param(CAN_user_editcatalogue => 1); }
                
  
!               if ($flags->{updatecharges} == 1) {
                        $template->param(CAN_user_updatecharge => 1); }
                
!               if ($flags->{acquisition} == 1) {
                        $template->param(CAN_user_acquisition => 1); }
                
!               if ($flags->{management} == 1) {
                        $template->param(CAN_user_management => 1);
                        $template->param(CAN_user_tools => 1); }
                
!               if ($flags->{tools} == 1) {
                        $template->param(CAN_user_tools => 1); }
                
--- 160,197 ----
                
  
!               if ($flags && $flags->{borrowers} == 1) {
                        $template->param(CAN_user_borrowers => 1); }
                
  
!               if ($flags && $flags->{permissions} == 1) {
                        $template->param(CAN_user_permission => 1); }
                
!               if ($flags && $flags->{reserveforothers} == 1) {
                        $template->param(CAN_user_reserveforothers => 1); }
                
  
!               if ($flags && $flags->{borrow} == 1) {
                        $template->param(CAN_user_borrow => 1); }
                
  
!               if ($flags && $flags->{reserveforself} == 1) {
                        $template->param(CAN_user_reserveforself => 1); }
                
  
!               if ($flags && $flags->{editcatalogue} == 1) {
                        $template->param(CAN_user_editcatalogue => 1); }
                
  
!               if ($flags && $flags->{updatecharges} == 1) {
                        $template->param(CAN_user_updatecharge => 1); }
                
!               if ($flags && $flags->{acquisition} == 1) {
                        $template->param(CAN_user_acquisition => 1); }
                
!               if ($flags && $flags->{management} == 1) {
                        $template->param(CAN_user_management => 1);
                        $template->param(CAN_user_tools => 1); }
                
!               if ($flags && $flags->{tools} == 1) {
                        $template->param(CAN_user_tools => 1); }
                




reply via email to

[Prev in Thread] Current Thread [Next in Thread]