koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/bookshelves shelves.pl,1.5,1.6


From: Owen Leonard
Subject: [Koha-cvs] CVS: koha/bookshelves shelves.pl,1.5,1.6
Date: Wed, 27 Apr 2005 10:17:43 -0700

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

Modified Files:
        shelves.pl 
Log Message:
Moving alternating row colors to the template, adding publicationyear and 
itemtype variables

Index: shelves.pl
===================================================================
RCS file: /cvsroot/koha/koha/bookshelves/shelves.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** shelves.pl  16 Dec 2004 11:30:57 -0000      1.5
--- shelves.pl  27 Apr 2005 17:17:41 -0000      1.6
***************
*** 108,112 ****
  ;
                push (@shelvesloop, \%line);
! }
  $template->param(shelvesloop => address@hidden);
  
--- 108,112 ----
  ;
                push (@shelvesloop, \%line);
!               }
  $template->param(shelvesloop => address@hidden);
  
***************
*** 170,179 ****
        foreach $item (sort {$a->{'barcode'} cmp $b->{'barcode'}} @$itemlist) {
                my %line;
!               ($color eq $linecolor1) ? ($color=$linecolor2) : 
($color=$linecolor1);
!               $line{'color'}=$color;
                $line{'itemnumber'}=$item->{'itemnumber'};
                $line{'barcode'}=$item->{'barcode'};
                $line{'title'}=$item->{'title'};
                $line{'author'}=$item->{'author'};
                $line{biblionumber} = $item->{biblionumber};
                push(@itemsloop, \%line);
--- 170,181 ----
        foreach $item (sort {$a->{'barcode'} cmp $b->{'barcode'}} @$itemlist) {
                my %line;
!               ($color eq 1) ? ($color=0) : ($color=1);
!               $line{'toggle'}=$color;
                $line{'itemnumber'}=$item->{'itemnumber'};
                $line{'barcode'}=$item->{'barcode'};
                $line{'title'}=$item->{'title'};
                $line{'author'}=$item->{'author'};
+               $line{'publicationyear'}=$item->{'publicationyear'};
+               $line{'itemtype'}=$item->{'itemtype'};
                $line{biblionumber} = $item->{biblionumber};
                push(@itemsloop, \%line);
***************
*** 189,192 ****
--- 191,197 ----
  #
  # $Log$
+ # Revision 1.6  2005/04/27 17:17:41  oleonard
+ # Moving alternating row colors to the template, adding publicationyear and 
itemtype variables
+ #
  # Revision 1.5  2004/12/16 11:30:57  tipaul
  # adding bookshelf features :




reply via email to

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