From d9b28400165830dcdd2d4fb2952e29b138913a87 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 20 Jan 2023 15:47:08 +0000 Subject: [PATCH] Bug 32571: (follow-up) Use more unique variable name to avoid collisions Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc | 8 ++++---- koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc index abe7f111e1..7ea0a2bc0f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc @@ -345,12 +345,12 @@ [%# BOOTSTRAP TAB WRAPPER USAGE [ WRAPPER tabs id= "tabs container id" ] [ WRAPPER tabs_nav ] - [ WRAPPER tab_item tabname= "tab name 1" ] [ content ] [ END ] + [ WRAPPER tab_item tabname= "tab name 1" bt_active= 1 ] [ content ] [ END ] [ WRAPPER tab_item tabname= "tab name 2" ] [ content ] [ END ] ... [ END ] [ WRAPPER tab_panels ] - [ WRAPPER tab_panel id="tab name 1"] [ content ] [ END ] + [ WRAPPER tab_panel id="tab name 1" bt_active= 1 ] [ content ] [ END ] [ WRAPPER tab_panel id="tab name 2"] [ content ] [ END ] ... [ END ] @@ -374,7 +374,7 @@ [% END %] [% BLOCK tab_item %] - [% IF ( active ) %] + [% IF ( bt_active ) %]
  • @@ -392,7 +392,7 @@ [% END %] [% BLOCK tab_panel %] - [% IF ( active ) %] + [% IF ( bt_active ) %]
    [% ELSE %]
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt index ed58c59371..5aae8a2281 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -32,7 +32,7 @@ [% WRAPPER tabs id= "abouttabs" %] [% WRAPPER tabs_nav %] - [% WRAPPER tab_item tabname= "about" active= 1 %] Server information [% END %] + [% WRAPPER tab_item tabname= "about" bt_active= 1 %] Server information [% END %] [% WRAPPER tab_item tabname= "perl" %] Perl modules [% END %] [% WRAPPER tab_item tabname= "sysinfo" %] System information [% END %] [% WRAPPER tab_item tabname= "team" %] Koha team [% END %] @@ -43,7 +43,7 @@ [% END %] [% WRAPPER tab_panels %] - [% WRAPPER tab_panel tabname= "about" active= 1 %] + [% WRAPPER tab_panel tabname= "about" bt_active= 1 %] -- 2.39.5
    Server information