From 16cb459e1f2c50e6f174749e47aa89f19ff8fd30 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 25 Aug 2011 12:48:55 -0400 Subject: [PATCH] [SIGNED-OFF] Bug 6458: Incorrect translation processing / opac-detail.tt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" Patch removes template directives from within HTML tags from OPAC detail view. Problems were related to the items tabs for holdings, subscriptions, and serial collection. Fixed the problem spotted by Frère Sébastien Marie - thx! Signed-off-by: Owen Leonard --- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt index 40af8f5..3e28e1a 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -322,9 +322,9 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
    -Holdings - ( [% count %] ) - +[% IF ( defaulttab == 'holdings' ) %]
  • +[% ELSE %]
  • [% END %] + Holdings ( [% count %] )
  • Title Notes
  • [% IF ( SYNDETICS_TOC ) %]
  • TOC
  • @@ -350,7 +350,9 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
  • Tag Browser
  • [% END %] [% END %] -[% IF ( subscriptionsnumber ) %] +[% IF ( subscriptionsnumber ) %] + [% IF ( defaulttab == 'subscriptions' ) %]
  • + [% ELSE %]
  • [% END %] Subscriptions
  • [% END %] [% IF ( reviewson ) %] @@ -366,7 +368,9 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% IF ( Babeltheque ) %]
  • Babelthèque
  • [% END %] [% IF ( serialcollection ) %] - Serial Collection + [% IF ( defaulttab == 'serialcollection' ) %]
  • + [% ELSE %]
  • [% END %] + Serial Collection
  • [% END %]
-- 1.7.3