From 9c9777d1f0d4fd307712b6c0f6430a9d205d7c30 Mon Sep 17 00:00:00 2001 From: oleonard Date: Thu, 10 Feb 2005 22:38:17 +0000 Subject: [PATCH] Switching from building 'edit' link in the script to building it in the template itself by creating edit_tagfield and edit_frameworkcode variables to pass to the template. --- admin/marc_subfields_structure.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/admin/marc_subfields_structure.pl b/admin/marc_subfields_structure.pl index 4a172ad87e..01f0515718 100755 --- a/admin/marc_subfields_structure.pl +++ b/admin/marc_subfields_structure.pl @@ -389,7 +389,9 @@ if ($op eq 'add_form') { push(@loop_data, \%row_data); } $template->param(loop => \@loop_data); - $template->param(edit => ""); + $template->param(edit_tagfield => $tagfield, + edit_frameworkcode => $frameworkcode); + if ($offset>0) { my $prevpage = $offset-$pagesize; $template->param(prev =>""); -- 2.39.5