From e7da230a51a1389f1a856d4ec0b3015c7fd36eca Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Tue, 21 Jul 2015 10:41:02 +1200 Subject: [PATCH] Bug 14571: using_https check for ssl connections doesn't work in some situations To test: * turn on Amazon images for result and detail in the OPAC * do a search that will result in an Amazon image being displayed on the result page * inspect the cover image that is returned on the result page, it should be using a https://images-na... Amazon URL. * click through to the detail for that item * inspect the cover image that is returned on the detail page, it should be using a https://images-na... Amazon URL. Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 4 ---- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 4 ---- 2 files changed, 8 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index 3b5c404..2b5a730 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -58,11 +58,7 @@ [% ELSE %] [% END %] - [% IF ( using_https ) %] Cover image - [% ELSE %] - Cover image - [% END %] [% END %] [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt index 8a0ec89..f2c3d7d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -240,11 +240,7 @@ [% END %] [% IF ( OPACAmazonCoverImages ) %] [% IF ( SEARCH_RESULT.normalized_isbn ) %] - [% IF ( using_https ) %] - [% ELSE %] - - [% END %] [% ELSE %] No cover image available [% END %] -- 2.1.0