From b684955c2fef50f0c2eb0476c0b197e0cf7e046b Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 26 Jan 2004 10:36:03 +0000 Subject: [PATCH] moving <> links into template, to enable translation. --- admin/branches.pl | 1 - admin/thesaurus.pl | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) 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