[Koha-cvs] CVS: koha/admin systempreferences.pl,1.24,1.25

Paul POULAIN tipaul at users.sourceforge.net
Mon Jun 20 15:12:14 CEST 2005


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

Modified Files:
	systempreferences.pl 
Log Message:
improving systempref selector :
* showing active tab better
* removing useless filter form
* adding some systemprefs to their correct tab

Index: systempreferences.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/systempreferences.pl,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** systempreferences.pl	17 Jun 2005 16:37:01 -0000	1.24
--- systempreferences.pl	20 Jun 2005 13:12:11 -0000	1.25
***************
*** 60,64 ****
  $tabsysprefs{maxoutstanding}="Circulation";
  $tabsysprefs{printcirculationslips}="Circulation";
! $tabsysprefs{suggestion}="Circulation";
  $tabsysprefs{automembernum}="Members";
  $tabsysprefs{noissuescharge}="Circulation";
--- 60,64 ----
  $tabsysprefs{maxoutstanding}="Circulation";
  $tabsysprefs{printcirculationslips}="Circulation";
! $tabsysprefs{suggestion}="Acquisitions";
  $tabsysprefs{automembernum}="Members";
  $tabsysprefs{noissuescharge}="Circulation";
***************
*** 75,78 ****
--- 75,81 ----
  $tabsysprefs{ldapinfos}="Admin";
  $tabsysprefs{ldapserver}="Admin";
+ $tabsysprefs{itemcallnumber}="Catalogue";
+ $tabsysprefs{maxreserves}="Circulation";
+ $tabsysprefs{virtualshelves}="OPAC";
  
  sub StringSearch  {
***************
*** 135,142 ****
  if ($op) {
  $template->param(script_name => $script_name,
! 						$op              => 1); # we show only the TMPL_VAR names $op
  } else {
  $template->param(script_name => $script_name,
! 						else              => 1); # we show only the TMPL_VAR names $op
  }
  
--- 138,145 ----
  if ($op) {
  $template->param(script_name => $script_name,
! 						$op              => 1,); # we show only the TMPL_VAR names $op
  } else {
  $template->param(script_name => $script_name,
! 						else              => 1,); # we show only the TMPL_VAR names $op
  }
  
***************
*** 352,356 ****
  		push(@loop_data, \%row_data);
  	}
! 	$template->param(loop => \@loop_data);
  	if ($offset>0) {
  		my $prevpage = $offset-$pagesize;
--- 355,359 ----
  		push(@loop_data, \%row_data);
  	}
! 	$template->param(loop => \@loop_data, $tab => 1);
  	if ($offset>0) {
  		my $prevpage = $offset-$pagesize;





More information about the Koha-cvs mailing list