From bc5c478a57e1811844f0f24008327a0c4708de04 Mon Sep 17 00:00:00 2001 From: acli Date: Sun, 28 Mar 2004 08:42:20 +0000 Subject: [PATCH] Make "Edit subfields" a template variable. This change should not affect old templates. --- admin/marc_subfields_structure.pl | 2 ++ .../default/en/parameters/marc_subfields_structure.tmpl | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/admin/marc_subfields_structure.pl b/admin/marc_subfields_structure.pl index 44f52abf6b..3a4b2c90ca 100755 --- a/admin/marc_subfields_structure.pl +++ b/admin/marc_subfields_structure.pl @@ -233,6 +233,8 @@ if ($op eq 'add_form') { $row_data{bgcolor} = $toggle; push(@loop_data, \%row_data); } + $template->param('use-heading-flags-p' => 1); + $template->param('heading-edit-subfields-p' => 1); $template->param(action => "Edit subfields", tagfield => "$tagfield", loop => \@loop_data, diff --git a/koha-tmpl/intranet-tmpl/default/en/parameters/marc_subfields_structure.tmpl b/koha-tmpl/intranet-tmpl/default/en/parameters/marc_subfields_structure.tmpl index e912b864a0..f8c36e0e54 100644 --- a/koha-tmpl/intranet-tmpl/default/en/parameters/marc_subfields_structure.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/parameters/marc_subfields_structure.tmpl @@ -5,7 +5,11 @@ -

+

+ + Edit subfields + +

-- 2.39.5