Avoid mixed content warnings on embedded content cafe
authorBill Erickson <berick@esilibrary.com>
Fri, 8 Jul 2011 16:32:14 +0000 (12:32 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 8 Jul 2011 16:32:14 +0000 (12:32 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/templates/default/opac/parts/record/summaryplus.tt2

index 32af899..6fb3d53 100644 (file)
@@ -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>