From 8a8688b5e73e6d88d64fe4b412cbbf510512ae1e 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 | 73 ++++++-------------- 1 file changed, 21 insertions(+), 52 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 22b2367..7683e74 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -1,8 +1,10 @@ [% USE KohaDates %] [% 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' %] @@ -325,10 +327,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 %] @@ -544,39 +544,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 %] @@ -661,13 +648,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 ) %] @@ -832,9 +814,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% IF ( OPACAmazonCoverImages ) %][% IF ( PREVIOUS_SHELF_BROWS.browser_normalized_isbn ) %][% ELSE %]No cover image available[% END %][% END %] [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( content_identifier_exists ) %] - [% IF ( using_https ) %] - - [% ELSE %][% END %] + [% ELSE %]No cover image available[% END %][% END %][% END %] [% IF ( GoogleJackets ) %][% IF ( PREVIOUS_SHELF_BROWS.browser_normalized_isbn ) %]
    [% ELSE %]No cover image available[% END %][% END %] [% IF ( BakerTaylorEnabled ) %][% IF ( PREVIOUS_SHELF_BROWS.browser_normalized_isbn ) %] @@ -850,9 +830,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% ELSE %]No cover image available[% END %][% END %] [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( content_identifier_exists ) %] - [% IF ( using_https ) %] - - [% ELSE %][% END %] + [% ELSE %]No cover image available[% END %][% END %][% END %] [% IF ( GoogleJackets ) %][% IF ( NEXT_SHELF_BROWS.browser_normalized_isbn ) %]
    [% ELSE %]No cover image available[% END %][% END %] @@ -1126,9 +1104,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 %] @@ -1235,17 +1211,10 @@ YAHOO.util.Event.onContentReady("furtherm", function () { -[% IF ( LibraryThingForLibrariesID ) %] -[% IF ( using_https ) %] - -
    -[% ELSE %] - - -[% END %] +[% IF ( LibraryThingForLibrariesID ) %] + + [% END %] [% IF ( NovelistSelectProfile ) %] -- 1.7.10.4