[Koha-cvs] CVS: koha/admin issuingrules.pl,1.3,1.4

Owen Leonard oleonard at users.sourceforge.net
Thu Jan 20 18:37:58 CET 2005


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

Modified Files:
	issuingrules.pl 
Log Message:
Changing table row color toggle so that color values can be specified in the template instead of the script (requires update to template)

Index: issuingrules.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/issuingrules.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** issuingrules.pl	18 Aug 2004 16:05:14 -0000	1.3
--- issuingrules.pl	20 Jan 2005 17:37:56 -0000	1.4
***************
*** 132,136 ****
  $sth->execute;
  # $i=0;
! my $toggle="white";
  my @row_loop;
  my @itemtypes;
--- 132,136 ----
  $sth->execute;
  # $i=0;
! my $toggle= 1;
  my @row_loop;
  my @itemtypes;
***************
*** 146,153 ****
  	my @trow2;
  	my @cell_loop;
! 	if ( $toggle eq 'white' ) {
! 		$toggle = '#ffffcc';
  	} else {
! 		$toggle = 'white';
  	}
  	for (my $i=0;$i<=$#trow3;$i++){
--- 146,153 ----
  	my @trow2;
  	my @cell_loop;
! 	if ( $toggle eq 1 ) {
! 		$toggle = 0;
  	} else {
! 		$toggle = 1;
  	}
  	for (my $i=0;$i<=$#trow3;$i++){





More information about the Koha-cvs mailing list