From: Bill Erickson <berick@esilibrary.com>
Date: Fri, 8 Jul 2011 16:32:14 +0000 (-0400)
Subject: Avoid mixed content warnings on embedded content cafe
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e56472f0c88aed78f23c5abf6f3e460d0dc63774;p=contrib%2FConifer.git

Avoid mixed content warnings on embedded content cafe

Signed-off-by: Bill Erickson <berick@esilibrary.com>
---

diff --git a/Open-ILS/web/templates/default/opac/parts/record/summaryplus.tt2 b/Open-ILS/web/templates/default/opac/parts/record/summaryplus.tt2
index 32af899d46..6fb3d53d19 100644
--- a/Open-ILS/web/templates/default/opac/parts/record/summaryplus.tt2
+++ b/Open-ILS/web/templates/default/opac/parts/record/summaryplus.tt2
@@ -8,7 +8,7 @@
     <!-- Embedded content cafe iframe -->
     [% ident = attrs.isbn_clean || attrs.upc %]
     <iframe width="100%" height="400" frameborder="0" 
-        src="http://contentcafe2.btol.com/ContentCafeClient/ContentCafe.aspx?UserID=[%- 
+        src="http[% CGI.https ? 's' : '' %]://contentcafe2.btol.com/ContentCafeClient/ContentCafe.aspx?UserID=[%- 
             ENV.OILS_CONTENT_CAFE_USER %]&Password=[% ENV.OILS_CONTENT_CAFE_PASS %]&ItemKey=[% ident %]&Options=Y" >
     </iframe>
 </div>