Browse Source

Fixed Bug #542

3.0.x
wolfpac444 21 years ago
parent
commit
d0559ec4cf
  1. 4
      admin/itemtypes.pl
  2. 4
      koha-tmpl/intranet-tmpl/default/en/parameters/itemtypes.tmpl

4
admin/itemtypes.pl

@ -194,11 +194,11 @@ if ($op eq 'add_form') {
$template->param(loop => \@loop_data);
if ($offset>0) {
my $prevpage = $offset-$pagesize;
$template->param(previous => "<a href=\"$script_name?offset=".$prevpage.'">');
$template->param(previous => "$script_name?offset=".$prevpage);
}
if ($offset+$pagesize<$count) {
my $nextpage =$offset+$pagesize;
$template->param(next => "<a href=\"$script_name?offset=".$nextpage.'">');
$template->param(next => "$script_name?offset=".$nextpage);
}
} #---- END $OP eq DEFAULT
output_html_with_http_headers $input, $cookie, $template->output;

4
koha-tmpl/intranet-tmpl/default/en/parameters/itemtypes.tmpl

@ -153,8 +153,8 @@ function Check(f) {
<td width="33%">
<input type=submit class="button" value="Add Item Type" title="Add item type" alt="Add item type" >
</td>
<td width=33%><TMPL_IF name="previous"><TMPL_VAR name="previous"><input type=image src="<TMPL_VAR name="interface">/<TMPL_VAR name="theme">/images/1leftarrow.png" title="previous" ALT="previous" BORDER=0></a></TMPL_IF></td>
<td width=33%><TMPL_IF name="next"><TMPL_VAR name="next"><input type=image src="<TMPL_VAR name="interface">/<TMPL_VAR name="theme">/images/1rightarrow.png" title="next" ALT="next" BORDER=0></a></TMPL_IF></td>
<td width=33%><TMPL_IF name="previous"><a href="<TMPL_VAR name=previous>"><input type=image src="<TMPL_VAR name="interface">/<TMPL_VAR name="theme">/images/1leftarrow.png" title="previous" ALT="previous" BORDER=0></a></TMPL_IF></td>
<td width=33%><TMPL_IF name="next"><a href="<TMPL_VAR name=next>"><input type=image src="<TMPL_VAR name="interface">/<TMPL_VAR name="theme">/images/1rightarrow.png" title="next" ALT="next" BORDER=0></a></TMPL_IF></td>
</tr>
</table>
</form>

Loading…
Cancel
Save