[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/admin categorie.pl,1.16,1.16.2.1
From: |
Owen Leonard |
Subject: |
[Koha-cvs] CVS: koha/admin categorie.pl,1.16,1.16.2.1 |
Date: |
Thu, 20 Jan 2005 12:20:18 -0800 |
Update of /cvsroot/koha/koha/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18302/admin
Modified Files:
Tag: rel_2_2
categorie.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: categorie.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/categorie.pl,v
retrieving revision 1.16
retrieving revision 1.16.2.1
diff -C2 -r1.16 -r1.16.2.1
*** categorie.pl 18 Aug 2004 16:05:14 -0000 1.16
--- categorie.pl 20 Jan 2005 20:20:15 -0000 1.16.2.1
***************
*** 163,167 ****
my @loop;
my ($count,$results)=StringSearch($env,$searchfield,'web');
! my $toggle = 'white';
for (my $i=0; $i < $count; $i++){
my %row = (categorycode => $results->[$i]{'categorycode'},
--- 163,167 ----
my @loop;
my ($count,$results)=StringSearch($env,$searchfield,'web');
! my $toggle = 0;
for (my $i=0; $i < $count; $i++){
my %row = (categorycode => $results->[$i]{'categorycode'},
***************
*** 176,186 ****
toggle => $toggle );
push @loop, \%row;
! if ( $toggle eq 'white' )
{
! $toggle = '#ffffcc';
}
else
{
! $toggle = 'white';
}
}
--- 176,186 ----
toggle => $toggle );
push @loop, \%row;
! if ( $toggle eq 0 )
{
! $toggle = 1;
}
else
{
! $toggle = 0;
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/admin categorie.pl,1.16,1.16.2.1,
Owen Leonard <=