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 263-268 if ( $pending_checkouts->count ) { # Useless test Link Here
263
            $issue->{'imageurl'}    = getitemtypeimagelocation( 'opac', $itemtypes->{$itemtype}->{'imageurl'} );
264
            $issue->{'imageurl'}    = getitemtypeimagelocation( 'opac', $itemtypes->{$itemtype}->{'imageurl'} );
264
            $issue->{'description'} = $itemtypes->{$itemtype}->{'description'};
265
            $issue->{'description'} = $itemtypes->{$itemtype}->{'description'};
265
        }
266
        }
267
268
        $issue->{biblio_object} = Koha::Biblios->find($issue->{biblionumber});
266
        push @issuedat, $issue;
269
        push @issuedat, $issue;
267
        $count++;
270
        $count++;
268
271
Lines 319-325 if (C4::Context->preference('BakerTaylorEnabled')) { Link Here
319
if (C4::Context->preference("OPACAmazonCoverImages") or 
322
if (C4::Context->preference("OPACAmazonCoverImages") or 
320
    C4::Context->preference("GoogleJackets") or
323
    C4::Context->preference("GoogleJackets") or
321
    C4::Context->preference("BakerTaylorEnabled") or
324
    C4::Context->preference("BakerTaylorEnabled") or
322
    C4::Context->preference("SyndeticsCoverImages")) {
325
    C4::Context->preference("SyndeticsCoverImages") or
326
    ( C4::Context->preference('OPACCustomCoverImages') and C4::Context->preference('CustomCoverImagesURL') )
327
) {
323
        $template->param(JacketImages=>1);
328
        $template->param(JacketImages=>1);
324
}
329
}
325
330
326
- 

Return to bug 22445