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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (+4 lines)
Lines 242-247 Link Here
242
                                                        [% END %]
242
                                                        [% END %]
243
                                                    [% END %]
243
                                                    [% END %]
244
244
245
                                                    [% IF Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') %]
246
                                                        <a href="[% ISSUE.biblio_object.custom_cover_image_url | url %]"><img alt="Cover image" src="[% ISSUE.biblio_object.custom_cover_image_url | url %]" /></a>
247
                                                    [% END %]
248
245
                                                    [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
249
                                                    [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
246
                                                        <img src="https://secure.syndetics.com/index.aspx?isbn=[% ISSUE.normalized_isbn | html %]/SC.GIF&amp;client=[% SyndeticsClientCode | html %]&amp;type=xw10&amp;upc=[% ISSUE.normalized_upc | html %]&amp;oclc=[% ISSUE.normalized_oclc | html %]" alt="" class="item-thumbnail" />
250
                                                        <img src="https://secure.syndetics.com/index.aspx?isbn=[% ISSUE.normalized_isbn | html %]/SC.GIF&amp;client=[% SyndeticsClientCode | html %]&amp;type=xw10&amp;upc=[% ISSUE.normalized_upc | html %]&amp;oclc=[% ISSUE.normalized_oclc | html %]" alt="" class="item-thumbnail" />
247
                                                    [% END %]
251
                                                    [% END %]
(-)a/opac/opac-user.pl (-2 / +6 lines)
Lines 33-38 use C4::Biblio; Link Here
33
use C4::Items;
33
use C4::Items;
34
use C4::Letters;
34
use C4::Letters;
35
use Koha::Account::Lines;
35
use Koha::Account::Lines;
36
use Koha::Biblios;
36
use Koha::Libraries;
37
use Koha::Libraries;
37
use Koha::DateUtils;
38
use Koha::DateUtils;
38
use Koha::Holds;
39
use Koha::Holds;
Lines 248-253 if ( $pending_checkouts->count ) { # Useless test Link Here
248
            $issue->{'imageurl'}    = getitemtypeimagelocation( 'opac', $itemtypes->{$itemtype}->{'imageurl'} );
249
            $issue->{'imageurl'}    = getitemtypeimagelocation( 'opac', $itemtypes->{$itemtype}->{'imageurl'} );
249
            $issue->{'description'} = $itemtypes->{$itemtype}->{'description'};
250
            $issue->{'description'} = $itemtypes->{$itemtype}->{'description'};
250
        }
251
        }
252
253
        $issue->{biblio_object} = Koha::Biblios->find($issue->{biblionumber});
251
        push @issuedat, $issue;
254
        push @issuedat, $issue;
252
        $count++;
255
        $count++;
253
256
Lines 309-315 if (C4::Context->preference('BakerTaylorEnabled')) { Link Here
309
if (C4::Context->preference("OPACAmazonCoverImages") or 
312
if (C4::Context->preference("OPACAmazonCoverImages") or 
310
    C4::Context->preference("GoogleJackets") or
313
    C4::Context->preference("GoogleJackets") or
311
    C4::Context->preference("BakerTaylorEnabled") or
314
    C4::Context->preference("BakerTaylorEnabled") or
312
    C4::Context->preference("SyndeticsCoverImages")) {
315
    C4::Context->preference("SyndeticsCoverImages") or
316
    ( C4::Context->preference('OPACCustomCoverImages') and C4::Context->preference('CustomCoverImagesURL') )
317
) {
313
        $template->param(JacketImages=>1);
318
        $template->param(JacketImages=>1);
314
}
319
}
315
320
316
- 

Return to bug 22445