[Koha-cvs] koha/acqui newbasket2.pl [dev_week]

Ryan Higgins rch at liblime.com
Sun Dec 3 22:04:52 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Ryan Higgins <rych>	06/12/03 21:04:52

Modified files:
	acqui          : newbasket2.pl 

Log message:
	merge with rel_2_2 

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/acqui/newbasket2.pl?cvsroot=koha&only_with_tag=dev_week&r1=1.15.2.1&r2=1.15.2.1.2.1

Patches:
Index: newbasket2.pl
===================================================================
RCS file: /sources/koha/koha/acqui/Attic/newbasket2.pl,v
retrieving revision 1.15.2.1
retrieving revision 1.15.2.1.2.1
diff -u -b -r1.15.2.1 -r1.15.2.1.2.1
--- newbasket2.pl	25 Mar 2005 12:49:23 -0000	1.15.2.1
+++ newbasket2.pl	3 Dec 2006 21:04:52 -0000	1.15.2.1.2.1
@@ -222,6 +222,7 @@
 	$lineres{biblionumber}=$result->{biblionumber};
 	$lineres{title}=$result->{title};
 	$lineres{author}=$result->{author};
+	$lineres{colour}=$colour;
 	$lineres{toggle}=$toggle;
 	$lineres{itemcount}=$count;
 	$lineres{location}=$location;
@@ -230,6 +231,8 @@
 	$i++;
 }
 
+my $previous =  $offset-$dispnum if($dispnum>1); #for multipage gestion
+
 $offset=$num+$offset;
 $template->param(	bookselname => $booksellers[0]->{'name'},
 								booksellerid => $booksellerid,
@@ -240,12 +243,15 @@
 								dispnum => $dispnum,
 								offsetover => ($offset < $count ),
 								num => $num,
+								previous => $previous,
 								offset => $offset,
 								type =>  $type,
 								title => $title,
 								author => $author,
 								loopsearch =>\@loopsearch,
 								loopresult =>\@loopresult,
+								intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"),
+								intranetstylesheet => C4::Context->preference("intranetstylesheet"),
 								'use-location-flags-p' => 1);
 
 output_html_with_http_headers $input, $cookie, $template->output;





More information about the Koha-cvs mailing list