From a1febe1c1e714be1a9355f9d520ba39a02a9622a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 25 Oct 2012 09:29:28 +0200 Subject: [PATCH] Bug 8952: (follow-up) change occurrences of using_https Signed-off-by: Corey Fuimaono Verified. Signed-off-by: Marcel de Rooy Signed-off-by: Galen Charlton --- .../opac-tmpl/prog/en/modules/opac-detail.tt | 65 ++++++------------- 1 file changed, 19 insertions(+), 46 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 2247f3b7d4..36fe3c199c 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' %] @@ -555,10 +557,8 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% 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 %] @@ -855,39 +855,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 %] @@ -977,13 +964,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 ) %] @@ -1354,9 +1336,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 %] @@ -1503,17 +1483,10 @@ YAHOO.util.Event.onContentReady("furtherm", function () { -[% IF ( LibraryThingForLibrariesID ) %] -[% IF ( using_https ) %] - - -[% ELSE %] - - -[% END %] +[% IF ( LibraryThingForLibrariesID ) %] + + [% END %] [% IF ( NovelistSelectProfile ) %] -- 2.39.5