From 12d966230a80869066a4f4f09899fc37ec7c3fb4 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 Content-Type: text/plain; charset=utf-8 Signed-off-by: Corey Fuimaono Verified. Signed-off-by: Marcel de Rooy --- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 77 ++++++-------------- 1 files 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 ee0a921..c6d6c83 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -19,8 +19,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' %] @@ -539,10 +541,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 %] @@ -839,39 +839,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 %] @@ -961,13 +948,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 ) %] @@ -1339,9 +1321,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 %] @@ -1476,17 +1456,10 @@ YAHOO.util.Event.onContentReady("furtherm", function () { -[% IF ( LibraryThingForLibrariesID ) %] -[% IF ( using_https ) %] - - -[% ELSE %] - - -[% END %] +[% IF ( LibraryThingForLibrariesID ) %] + + [% END %] [% IF ( NovelistSelectProfile ) %] @@ -1627,11 +1600,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 %] @@ -1672,11 +1641,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.7.6