From 01a2fe5e79ad67c2b32f7f1993b7f5395054f3bb Mon Sep 17 00:00:00 2001 From: oleonard Date: Thu, 10 Feb 2005 22:42:56 +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. A change to the template is also required. --- 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 c8e60f3bcf..a1e724d2b1 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