[Koha-cvs] CVS: koha/opac opac-basket.pl,1.2,1.3
Owen Leonard
oleonard at users.sourceforge.net
Mon Jul 12 20:58:50 CEST 2004
Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20673/opac
Modified Files:
opac-basket.pl
Log Message:
Adding 'even' variable to pass to template to facilitate alternating row colors in table
Index: opac-basket.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-basket.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** opac-basket.pl 6 Jul 2004 10:07:22 -0000 1.2
--- opac-basket.pl 12 Jul 2004 18:58:47 -0000 1.3
***************
*** 27,30 ****
--- 27,31 ----
my @results;
+ my $num = 1;
foreach my $biblionumber (@bibs) {
$template->param(biblionumber => $biblionumber);
***************
*** 37,41 ****
$dat->{'additional'} .= "|" . $addauthor->[$i]->{'author'};
} # for
!
$dat->{'biblionumber'} = $biblionumber;
--- 38,45 ----
$dat->{'additional'} .= "|" . $addauthor->[$i]->{'author'};
} # for
! if($num % 2 == 1){
! $dat->{'even'} = 1;
! }
! $num++;
$dat->{'biblionumber'} = $biblionumber;
More information about the Koha-cvs
mailing list