koha-cvs
[Top][All Lists]
Advanced

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

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


From: Ryan Higgins
Subject: [Koha-cvs] koha/acqui newbasket2.pl [dev_week]
Date: Sun, 03 Dec 2006 21:04:52 +0000

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 
=>address@hidden,
                                                                loopresult 
=>address@hidden,
+                                                               
intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"),
+                                                               
intranetstylesheet => C4::Context->preference("intranetstylesheet"),
                                                                
'use-location-flags-p' => 1);
 
 output_html_with_http_headers $input, $cookie, $template->output;




reply via email to

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