From 22c92b437c2c6f542735cc750544a70c33e51c87 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 (cherry picked from commit 6d6c9626274268e82d6fa433894f188b995c913b) Signed-off-by: Chris Nighswonger --- 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 a1546abc02..9bb7056f21 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -315,9 +315,9 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
    -Holdings - ( [% count %] ) - +[% IF ( defaulttab == 'holdings' ) %]
  • +[% ELSE %]
  • [% END %] + Holdings ( [% count %] )
  • Title Notes
  • [% IF ( SYNDETICS_TOC ) %]
  • TOC
  • @@ -343,7 +343,9 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
  • Tag Browser
  • [% END %] [% END %] -[% IF ( subscriptionsnumber ) %] +[% IF ( subscriptionsnumber ) %] + [% IF ( defaulttab == 'subscriptions' ) %]
  • + [% ELSE %]
  • [% END %] Subscriptions
  • [% END %] [% IF ( reviewson ) %]
  • Comments
  • [% END %] @@ -356,7 +358,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