[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/bookshelves shelves.pl,1.5,1.5.2.1
From: |
Owen Leonard |
Subject: |
[Koha-cvs] CVS: koha/bookshelves shelves.pl,1.5,1.5.2.1 |
Date: |
Wed, 27 Apr 2005 09:55:40 -0700 |
Update of /cvsroot/koha/koha/bookshelves
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15980/bookshelves
Modified Files:
Tag: rel_2_2
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.5.2.1
diff -C2 -r1.5 -r1.5.2.1
*** shelves.pl 16 Dec 2004 11:30:57 -0000 1.5
--- shelves.pl 27 Apr 2005 16:55:38 -0000 1.5.2.1
***************
*** 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.5.2.1 2005/04/27 16:55:38 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 :
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/bookshelves shelves.pl,1.5,1.5.2.1,
Owen Leonard <=