projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
878b64d
)
FIX: Can offset display result
author
plugz
<plugz>
Fri, 20 Jun 2003 12:59:19 +0000
(12:59 +0000)
committer
plugz
<plugz>
Fri, 20 Jun 2003 12:59:19 +0000
(12:59 +0000)
admin/authorised_values.pl
patch
|
blob
|
history
diff --git
a/admin/authorised_values.pl
b/admin/authorised_values.pl
index
1589357
..
8c946b0
100755
(executable)
--- a/
admin/authorised_values.pl
+++ b/
admin/authorised_values.pl
@@
-184,13
+184,16
@@
if ($op eq 'add_form') {
$template->param(loop => \@loop_data,
tab_list => $tab_list,
category => $searchfield);
$template->param(loop => \@loop_data,
tab_list => $tab_list,
category => $searchfield);
+
if ($offset>0) {
my $prevpage = $offset-$pagesize;
if ($offset>0) {
my $prevpage = $offset-$pagesize;
- $template->param(
"<a href=$script_name?offset=".$prevpage.'<< Prev</a
>');
+ $template->param(
previous => "<a href=\"$script_name?offset=".$prevpage.'"
>');
}
if ($offset+$pagesize<$count) {
my $nextpage =$offset+$pagesize;
}
if ($offset+$pagesize<$count) {
my $nextpage =$offset+$pagesize;
- $template->param("a href=$script_name?offset=".$nextpage.'Next >></a>');
+ $template->param(next => "<a href=\"$script_name?offset=".$nextpage.'">');
+
+
}
} #---- END $OP eq DEFAULT
}
} #---- END $OP eq DEFAULT