From b9e4835f60fdca32f513b0c3388e9edd562ece1e Mon Sep 17 00:00:00 2001 From: acli Date: Thu, 11 Mar 2004 05:35:52 +0000 Subject: [PATCH] Make headings translatable while trying not to break old templates --- admin/marctagstructure.pl | 3 +++ .../default/en/parameters/marctagstructure.tmpl | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/admin/marctagstructure.pl b/admin/marctagstructure.pl index 2564e85e4b..53558fda5f 100755 --- a/admin/marctagstructure.pl +++ b/admin/marctagstructure.pl @@ -101,10 +101,13 @@ if ($op eq 'add_form') { if ($searchfield) { $template->param(action => "Modify tag", searchfield => "$searchfield"); + $template->param('heading-modify-tag-p' => 1); } else { $template->param(action => "Add tag", searchfield => ""); + $template->param('heading-add-tag-p' => 1); } + $template->param('use-heading-flags-p' => 1); $template->param(liblibrarian => $data->{'liblibrarian'}, libopac => $data->{'libopac'}, repeatable => CGI::checkbox('repeatable',$data->{'repeatable'}?'checked':'',1,''), diff --git a/koha-tmpl/intranet-tmpl/default/en/parameters/marctagstructure.tmpl b/koha-tmpl/intranet-tmpl/default/en/parameters/marctagstructure.tmpl index 3e4178608a..5a3501a951 100644 --- a/koha-tmpl/intranet-tmpl/default/en/parameters/marctagstructure.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/parameters/marctagstructure.tmpl @@ -54,7 +54,12 @@ -

+

+ + Modify tag + Add tag + +

-- 2.39.5