koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/admin itemtypes.pl,1.8,1.9


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/admin itemtypes.pl,1.8,1.9
Date: Fri, 04 Jul 2003 06:22:29 -0700

Update of /cvsroot/koha/koha/admin
In directory sc8-pr-cvs1:/tmp/cvs-serv22360/admin

Modified Files:
        itemtypes.pl 
Log Message:
fix for #471

Index: itemtypes.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/itemtypes.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** itemtypes.pl        5 Feb 2003 04:20:14 -0000       1.8
--- itemtypes.pl        4 Jul 2003 13:22:27 -0000       1.9
***************
*** 193,196 ****
--- 193,204 ----
        }
        $template->param(loop => address@hidden);
+       if ($offset>0) {
+               my $prevpage = $offset-$pagesize;
+               $template->param(previous => "<a 
href=\"$script_name?offset=".$prevpage.'">');
+       }
+       if ($offset+$pagesize<$count) {
+               my $nextpage =$offset+$pagesize;
+               $template->param(next => "<a 
href=\"$script_name?offset=".$nextpage.'">');
+       }
  } #---- END $OP eq DEFAULT
  output_html_with_http_headers $input, $cookie, $template->output;




reply via email to

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