diff --git a/admin/branches.pl b/admin/branches.pl index 42c3d66561..808f19a84a 100755 --- a/admin/branches.pl +++ b/admin/branches.pl @@ -78,7 +78,6 @@ if ($op) { else => 1); # we show only the TMPL_VAR names $op } $template->param(action => $script_name); - if ($op eq 'add') { # If the user has pressed the "add new branch" button. heading("Branches: Add Branch"); diff --git a/admin/thesaurus.pl b/admin/thesaurus.pl index 69f7aca1c3..c1aa2181d8 100755 --- a/admin/thesaurus.pl +++ b/admin/thesaurus.pl @@ -257,10 +257,10 @@ if ($op eq 'add_form') { branch => $branch, father => $father); if ($offset>0) { - $template->param(previous => "<< Prev"); + $template->param(previous => "$script_name?branch=$branch&search_category=$search_category&searchstring=$searchstring&offset=$prevpage"); } if ($pagesize<$count) { - $template->param(next => "Next >>"); + $template->param(next => "$script_name?branch=$branch&search_category=$search_category&searchstring=$searchstring&offset=$nextpage"); } } #---- END $OP eq DEFAULT