View | Details | Raw Unified | Return to bug 10944
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-2 / +7 lines)
Lines 46-54 Link Here
46
                    [% END %]
46
                    [% END %]
47
                    [% IF ( OPACAmazonCoverImages ) %]
47
                    [% IF ( OPACAmazonCoverImages ) %]
48
                        [% IF ( OPACurlOpenInNewWindow ) %]
48
                        [% IF ( OPACurlOpenInNewWindow ) %]
49
                            <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link" target="_blank"><img src="http://images.amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="Cover image" /></a>
49
                            <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link" target="_blank">
50
                        [% ELSE %]
50
                        [% ELSE %]
51
                            <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img src="http://images.amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="Cover image" /></a>
51
                            <a href="http://www.amazon[% AmazonTld %]/dp/[% normalized_isbn %]">
52
                        [% END %]
53
                        [% IF ( using_https ) %]
54
                            <img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="Cover image" /></a>
55
                        [% ELSE %]
56
                            <img border="0" src="http://images.amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="Cover image" /></a>
52
                        [% END %]
57
                        [% END %]
53
                    [% END %]
58
                    [% END %]
54
59
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-1 / +4 lines)
Lines 227-233 Link Here
227
                                                        [% END %]
227
                                                        [% END %]
228
                                                        [% IF ( OPACAmazonCoverImages ) %]
228
                                                        [% IF ( OPACAmazonCoverImages ) %]
229
                                                            [% IF ( SEARCH_RESULT.normalized_isbn ) %]
229
                                                            [% IF ( SEARCH_RESULT.normalized_isbn ) %]
230
                                                                [% IF ( using_https ) %]
231
                                                                    <span title="[% SEARCH_RESULT.biblionumber %]" id="amazon-thumbnail[% loop.count %]"><img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="item-thumbnail" /></span>
232
                                                                [% ELSE %]
230
                                                                <span title="[% SEARCH_RESULT.biblionumber %]" id="amazon-thumbnail[% loop.count %]"><img src="http://images.amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="item-thumbnail" /></span>
233
                                                                <span title="[% SEARCH_RESULT.biblionumber %]" id="amazon-thumbnail[% loop.count %]"><img src="http://images.amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="item-thumbnail" /></span>
234
                                                                [% END %]
231
                                                            [% ELSE %]
235
                                                            [% ELSE %]
232
                                                                <span class="no-image">No cover image available</span>
236
                                                                <span class="no-image">No cover image available</span>
233
                                                            [% END %]
237
                                                            [% END %]
234
- 

Return to bug 10944