From 6d6c9626274268e82d6fa433894f188b995c913b Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 25 Aug 2011 12:48:55 -0400 Subject: [PATCH] Bug 6458: Incorrect translation processing / opac-detail.tt MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Chris Cormack --- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 14 +++++++++----- 1 file 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 61b7515327..3e8586d6ec 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 %]
-- 2.39.5