From add90a6c1111b802a92ad85ecf25377301e3f2b9 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Sun, 9 Sep 2012 13:10:25 -0400 Subject: [PATCH] Bug 8523: fix translatability Content-Type: text/plain; charset="UTF-8" The translator script was unable to handle arrayrefs in TT, so this patch modifies the way the hierarchy generator recurses to avoid the need for them. --- .../prog/en/includes/opac-authorities.inc | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/opac-authorities.inc b/koha-tmpl/opac-tmpl/prog/en/includes/opac-authorities.inc index 4b5776f..4c927d3 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/opac-authorities.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/opac-authorities.inc @@ -1,5 +1,9 @@ [% BLOCK showhierarchy %] [% FOREACH tree IN trees %] + [% PROCESS showtree tree = tree %] + [% END %] +[% END %] +[% BLOCK showtree %] - [% END %] [% END %] [% BLOCK authtypelabel %] -- 1.7.2.5