From 7f377d39ac08ea2cd9516c8fef34b5e3d29e5375 Mon Sep 17 00:00:00 2001 From: oleonard Date: Mon, 10 Jan 2005 21:33:54 +0000 Subject: [PATCH] Moving HTML markup to the template --- admin/marctagstructure.pl | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/admin/marctagstructure.pl b/admin/marctagstructure.pl index fa0fb737da..e3021b1ae8 100755 --- a/admin/marctagstructure.pl +++ b/admin/marctagstructure.pl @@ -124,11 +124,10 @@ if ($op eq 'add_form') { if ($searchfield) { $template->param(action => "Modify tag", - searchfield => "$searchfield"); + searchfield => $searchfield); $template->param('heading-modify-tag-p' => 1); } else { - $template->param(action => "Add tag", - searchfield => ""); + $template->param(action => "Add tag"); $template->param('heading-add-tag-p' => 1); } $template->param('use-heading-flags-p' => 1); @@ -224,9 +223,6 @@ if ($op eq 'add_form') { $row_data{repeatable} = $results->[$i]{'repeatable'}; $row_data{mandatory} = $results->[$i]{'mandatory'}; $row_data{authorised_value} = $results->[$i]{'authorised_value'}; - $row_data{subfield_link} ="marc_subfields_structure.pl?tagfield=".$results->[$i]{'tagfield'}."&frameworkcode=".$frameworkcode; - $row_data{edit} = "$script_name?op=add_form&searchfield=".$results->[$i]{'tagfield'}."&frameworkcode=".$frameworkcode; - $row_data{delete} = "$script_name?op=delete_confirm&searchfield=".$results->[$i]{'tagfield'}."&frameworkcode=".$frameworkcode; $row_data{bgcolor} = $toggle; push(@loop_data, \%row_data); } -- 2.39.5