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. --- 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..b6498b5 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 () { <div id="bibliodescriptions" class="toptabs"> <ul> -<li[% IF ( defaulttab == 'holdings' ) %] class="ui-tabs-selected"[% END %]><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#holdings">Holdings - ( [% count %] )</a> - </li> +[% IF ( defaulttab == 'holdings' ) %]<li class="ui-tabs-selected"> +[% ELSE %]<li class="ui-tabs-selected">[% END %] + <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#holdings">Holdings ( [% count %] )</a></li> <li> <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#descriptions">Title Notes</a></li> [% IF ( SYNDETICS_TOC ) %] <li> <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#toc">TOC</a></li> @@ -350,7 +350,9 @@ YAHOO.util.Event.onContentReady("furtherm", function () { <li> <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#LTFLTagBrowse">Tag Browser</a></li> [% END %] [% END %] -[% IF ( subscriptionsnumber ) %]<li[% IF ( defaulttab == 'subscriptions' ) %] class="ui-tabs-selected"[% END %]> +[% IF ( subscriptionsnumber ) %] + [% IF ( defaulttab == 'subscriptions' ) %]<li class="ui-tabs-selected"> + [% ELSE %]<li class="ui-tabs-selected">[% END %] <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#subscriptions">Subscriptions</a> </li>[% END %] [% IF ( reviewson ) %] @@ -366,7 +368,9 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% IF ( Babeltheque ) %]<li><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#babeltheque">Babelthèque</a></li>[% END %] [% IF ( serialcollection ) %] - <li[% IF ( defaulttab == 'serialcollection' ) %] class="ui-tabs-selected"[% END %]><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#serialcollection">Serial Collection</a></li> + [% IF ( defaulttab == 'serialcollection' ) %]<li class="ui-tabs-selected"> + [% ELSE %]<li class="ui-tabs-selected">[% END %] + <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]#serialcollection">Serial Collection</a></li> [% END %] </ul> -- 1.7.4.1 _______________________________________________ Koha-patches mailing list Koha-patches@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/