koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/opac opac-basket.pl,1.2,1.3


From: Owen Leonard
Subject: [Koha-cvs] CVS: koha/opac opac-basket.pl,1.2,1.3
Date: Mon, 12 Jul 2004 11:58:50 -0700

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;
        




reply via email to

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