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

Paul POULAIN tipaul at users.sourceforge.net
Fri Jul 4 15:22:29 CEST 2003


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 => \@loop_data);
+ 	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;





More information about the Koha-cvs mailing list