From 0c6f7deb5991ae53af7c0d6ab042856cb417a767 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 Signed-off-by: Corey Fuimaono Verified. --- 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 f09055c..a6e9488 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' %] @@ -344,10 +346,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 %] @@ -557,39 +557,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 %] @@ -677,13 +664,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 ) %] @@ -1048,9 +1030,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 %] @@ -1170,17 +1150,10 @@ YAHOO.util.Event.onContentReady("furtherm", function () { -[% IF ( LibraryThingForLibrariesID ) %] -[% IF ( using_https ) %] - - -[% ELSE %] - - -[% END %] +[% IF ( LibraryThingForLibrariesID ) %] + + [% END %] [% IF ( NovelistSelectProfile ) %] @@ -1285,11 +1258,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 %] @@ -1327,11 +1296,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.9.5