From e56472f0c88aed78f23c5abf6f3e460d0dc63774 Mon Sep 17 00:00:00 2001
From: Bill Erickson <berick@esilibrary.com>
Date: Fri, 8 Jul 2011 12:32:14 -0400
Subject: [PATCH] Avoid mixed content warnings on embedded content cafe

Signed-off-by: Bill Erickson <berick@esilibrary.com>
---
 Open-ILS/web/templates/default/opac/parts/record/summaryplus.tt2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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>
-- 
2.11.0