From 41dcf3dc310a84422add46a8a6a2e4ad48ea5fd7 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 25 Oct 2012 09:29:28 +0200 Subject: [PATCH] Bug 8952: Followup: Change all occurrences of using_https --- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 77 ++++++-------------- 1 file changed, 21 insertions(+), 56 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 b9a3112..24aede7 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -4,8 +4,10 @@ [% IF ( using_https ) %] [% SET protocol = "https://" %] + [% SET root_syndetics = "secure" %] [% ELSE %] [% SET protocol = "http://" %] + [% SET root_syndetics = "www" %] [% END %] [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Details for: [% title |html %][% FOREACH subtitl IN subtitle %], [% subtitl.subfield |html %][% END %] [% INCLUDE 'doc-head-close.inc' %] @@ -343,10 +345,8 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% IF ( OPACLocalCoverImages ) %]
[% END %] [% IF ( OPACAmazonCoverImages ) %][% IF ( OPACurlOpenInNewWindow ) %]Cover image[% ELSE %]Cover image[% END %][% END %] - [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( content_identifier_exists ) %][% IF ( using_https ) %] - - [% ELSE %] - [% END %] + [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( content_identifier_exists ) %] + [% ELSE %]No cover image available[% END %][% END %][% END %] @@ -556,39 +556,26 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsSeries ) %][% IF ( SyndeticsSERIES1Exists ) %] - Series information: - - [% IF ( using_https ) %]Click to open in new window - [% ELSE %] - Click to open in new window - [% END %] + Series information: + Click to open in new window [% END %][% END %] [% IF ( SyndeticsAVPROFILEExists ) %] - Audiovisual profile: - [% IF ( using_https ) %]Click to open in new window - [% ELSE %] - Click to open in new window - [% END %] + Audiovisual profile: + Click to open in new window [% END %] [% IF ( SyndeticsFICTIONExists ) %] - Fiction notes: - [% IF ( using_https ) %]Click to open in new window - [% ELSE %] - Click to open in new window - [% END %] + Fiction notes: + Click to open in new window [% END %] [% IF ( SyndeticsAwards ) %][% IF ( SyndeticsAWARDS1Exists ) %] - Awards: - [% IF ( using_https ) %] - Click to open in new window - [% ELSE %]Click to open in new window - [% END %] + Awards: + Click to open in new window [% END %][% END %][% END %] @@ -676,13 +663,8 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% IF ( SyndeticsReviews ) %][% IF ( SYNDETICS_REVIEWS ) %]
  • Reviews
  • - [% IF ( using_https ) %] - - - [% ELSE %] - - - [% END %] + +
  • [% END %][% END %] [% IF ( SyndeticsAuthorNotes ) %][% IF ( SYNDETICS_ANOTES ) %] @@ -1042,9 +1024,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% IF ( OPACAmazonCoverImages ) %][% END %] [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( XISBN.content_identifier_exists ) %] -[% IF ( using_https ) %] - -[% ELSE %][% END %] + [% ELSE %]No cover image available[% END %][% END %][% END %] @@ -1151,17 +1131,10 @@ YAHOO.util.Event.onContentReady("furtherm", function () { -[% IF ( LibraryThingForLibrariesID ) %] -[% IF ( using_https ) %] - - -[% ELSE %] - - -[% END %] +[% IF ( LibraryThingForLibrariesID ) %] + + [% END %] [% IF ( NovelistSelectProfile ) %] @@ -1266,11 +1239,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% IF ( SyndeticsEnabled ) %] [% IF ( SyndeticsCoverImages ) %] [% IF ( content_identifier_exists ) %] - [% IF ( using_https ) %] - - [% ELSE %] - - [% END %] + [% ELSE %] No cover image available [% END %] @@ -1308,11 +1277,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% IF ( SyndeticsEnabled ) %] [% IF ( SyndeticsCoverImages ) %] [% IF ( content_identifier_exists ) %] - [% IF ( using_https ) %] - - [% ELSE %] - - [% END %] + [% ELSE %] No cover image available [% END %] -- 1.7.10.4