From d61f7801f108d4e890c08bcd3fceaa06d773d3b5 Mon Sep 17 00:00:00 2001 From: Jane Wagner Date: Fri, 12 Mar 2010 08:51:29 -0500 Subject: [PATCH] Bug 4314 Flag for SSL Enabled to fix 3rd Party Enhanced Content in OPAC Duplicates gmcharlt's earlier change to Auth.pm to add a check for SSL-enabled. Modifies the various template calls to Syndetics and Library things to use an https URL if SSL is in use. Signed-off-by: Galen Charlton --- .../prog/en/modules/opac-detail.tmpl | 22 +++++++++---------- .../prog/en/modules/opac-opensearch.tmpl | 2 +- .../prog/en/modules/opac-readingrecord.tmpl | 2 +- .../prog/en/modules/opac-results.tmpl | 4 ++-- .../opac-tmpl/prog/en/modules/opac-user.tmpl | 4 ++-- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl index 1716dc8a36..df0b1db553 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl @@ -71,7 +71,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
/gp/reader//ref=sib_dp_pt/002-7879865-0184864#reader-link" target="_blank">.01.MZZZZZZZ.jpg" alt="Cover Image" />/gp/reader//ref=sib_dp_pt/002-7879865-0184864#reader-link">.01.MZZZZZZZ.jpg" alt="Cover Image" /> - /.GIF&client=&type=xw10&upc=&oclc=" alt="" class="thumbnail" />No cover image available + //.GIF&client=&type=xw10&upc=&oclc=" alt="" class="thumbnail" />No cover image available
" class="" id="gbs-thumbnail-preview">
" target="_blank">See Baker & Taylor" />">See Baker & Taylor" />
@@ -257,22 +257,22 @@ YAHOO.util.Event.onContentReady("furtherm", function () { - Series Information: &type=series&num=1&client=&upc=&oclc=">Click to open in new window + Series Information: &type=series&num=1&client=&upc=&oclc=">Click to open in new window - Audiovisual Profile: /avprofile.html&client=&upc=&oclc=&type=xw10">Click to open in new window + Audiovisual Profile: /avprofile.html&client=&upc=&oclc=&type=xw10">Click to open in new window - Fiction Notes: /fiction.html&client=&upc=&oclc=&type=xw10">Click to open in new window + Fiction Notes: /fiction.html&client=&upc=&oclc=&type=xw10">Click to open in new window - Awards: &type=awards&client=&upc=&oclc=">Click to open in new window + Awards: &type=awards&client=&upc=&oclc=">Click to open in new window @@ -299,7 +299,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
  • #reviews">Reviews
  • -
  • +
  • #anotes">About the Author
  • @@ -435,7 +435,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { &shelfbrowse_itemnumber=#shelfbrowser"> .01._AA75_PU_PU-5_.jpg" alt="" />No cover image available - /SC.GIF&client=&upc=&oclc=&type=xw10" alt="" />No cover image available + /SC.GIF&client=&upc=&oclc=&type=xw10" alt="" />No cover image available
    " class="" id="gbs-thumbnail-preview">
    No cover image available See Baker & Taylor" />No cover image available @@ -448,7 +448,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { .01._AA75_PU_PU-5_.jpg" alt="" />No cover image available - /SC.GIF&client=&upc=&oclc=&type=xw10" alt="" />No cover image available + /SC.GIF&client=&upc=&oclc=&type=xw10" alt="" />No cover image available
    " class="" id="gbs-thumbnail-preview">
    No cover image available See Baker & Taylor" />No cover image available @@ -708,7 +708,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { .01._AA75_PU_PU-5_.jpg" alt="" /> -/SC.GIF&client=&upc=&oclc=&type=xw10" alt="" class="thumbnail" /> +/SC.GIF&client=&upc=&oclc=&type=xw10" alt="" class="thumbnail" />
    "> by © @@ -734,7 +734,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { ">.01._SS50_.jpg" /> -">/SC.GIF&client=&upc=&oclc=&type=xw10" alt="" /> +">/SC.GIF&client=&upc=&oclc=&type=xw10" alt="" /> "> @@ -839,6 +839,6 @@ YAHOO.util.Event.onContentReady("furtherm", function () { - + diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-opensearch.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-opensearch.tmpl index 87d8a1dd7d..1b7fa66d42 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-opensearch.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-opensearch.tmpl @@ -36,7 +36,7 @@ /cgi-bin/koha/opac-MARCdetail.pl?biblionumber=/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=/cgi-bin/koha/opac-detail.pl?biblionumber= .01.TZZZZZZZ.jpg" alt="" /> -/SC.GIF&client=&type=xw10&upc=&oclc=" alt="" /> +/SC.GIF&client=&type=xw10&upc=&oclc=" alt="" /> ">See Baker & Taylor" />

    By . diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tmpl index 2590ff3e70..fd655ce53a 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tmpl @@ -55,7 +55,7 @@ TMPL_ELSE -->Title ">See Baker & Taylor" />No cover image available -/SC.GIF&client=&upc=&oclc=&type=xw10" alt=""/> +/SC.GIF&client=&upc=&oclc=&type=xw10" alt=""/> "> "> diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl index 1ea73e5fc1..4e9cdcfb24 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl @@ -506,7 +506,7 @@ $(document).ready(function(){ "> .01.TZZZZZZZ.jpg" alt="" class="thumbnail" />No cover image available - /SC.GIF&client=&type=xw10&upc=&oclc=" alt="" class="thumbnail" />No cover image available + /SC.GIF&client=&type=xw10&upc=&oclc=" alt="" class="thumbnail" />No cover image available

    " class="" id="gbs-thumbnail">
    No cover image available ">See Baker & Taylor" />No cover image available @@ -542,6 +542,6 @@ $(document).ready(function(){ - + diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl index fabcb94c3f..92a73d7803 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl @@ -226,7 +226,7 @@ $.tablesorter.addParser({ ">See Baker & Taylor" />No cover image available -/SC.GIF&client=&upc=&oclc=&type=xw10" alt="" class="thumbnail"/> +/SC.GIF&client=&upc=&oclc=&type=xw10" alt="" class="thumbnail"/> @@ -298,7 +298,7 @@ $.tablesorter.addParser({ ">See Baker & Taylor" />No cover image available -/SC.GIF&client=&upc=&oclc=&type=xw10" alt="" class="thumbnail"/> +/SC.GIF&client=&upc=&oclc=&type=xw10" alt="" class="thumbnail"/> -- 2.20.1