Lines 46-51
Link Here
|
46 |
[% CoceHost = Koha.Preference('CoceHost') %] |
46 |
[% CoceHost = Koha.Preference('CoceHost') %] |
47 |
[% SyndeticsCovers = Koha.Preference('SyndeticsEnabled') && Koha.Preference('SyndeticsCoverImages') %] |
47 |
[% SyndeticsCovers = Koha.Preference('SyndeticsEnabled') && Koha.Preference('SyndeticsCoverImages') %] |
48 |
[% SyndeticsCoverImageSize = Koha.Preference('SyndeticsCoverImageSize') %] |
48 |
[% SyndeticsCoverImageSize = Koha.Preference('SyndeticsCoverImageSize') %] |
|
|
49 |
[% CustomCoverImages = ( Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL') ) %] |
50 |
[% BakerTaylorEnabled = Koha.Preference('BakerTaylorEnabled') %] |
49 |
|
51 |
|
50 |
[% WRAPPER 'sub-header.inc' %] |
52 |
[% WRAPPER 'sub-header.inc' %] |
51 |
[% WRAPPER breadcrumbs %] |
53 |
[% WRAPPER breadcrumbs %] |
Lines 571-577
Link Here
|
571 |
<table> |
573 |
<table> |
572 |
<thead> |
574 |
<thead> |
573 |
<tr> |
575 |
<tr> |
574 |
[% IF ( CoverImagePlugins || AmazonCoverImages || LocalCoverImages || IntranetCoce || ( SyndeticsCovers ) || Koha.Preference('BakerTaylorEnabled') || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] |
576 |
[% IF ( CoverImagePlugins || AmazonCoverImages || LocalCoverImages || IntranetCoce || SyndeticsCovers || BakerTaylorEnabled || CustomCoverImages ) %] |
575 |
<th> </th> |
577 |
<th> </th> |
576 |
[% END %] |
578 |
[% END %] |
577 |
<th colspan="2">Results</th> |
579 |
<th colspan="2">Results</th> |
Lines 583-589
Link Here
|
583 |
<tbody> |
585 |
<tbody> |
584 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
586 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
585 |
<tr id="row[% SEARCH_RESULT.biblionumber | html %]"> |
587 |
<tr id="row[% SEARCH_RESULT.biblionumber | html %]"> |
586 |
[% IF ( CoverImagePlugins || AmazonCoverImages || LocalCoverImages || IntranetCoce || ( SyndeticsCovers ) || Koha.Preference('BakerTaylorEnabled') || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] |
588 |
[% IF ( CoverImagePlugins || AmazonCoverImages || LocalCoverImages || IntranetCoce || SyndeticsCovers || BakerTaylorEnabled || CustomCoverImages ) %] |
587 |
<td class="bookcoverimg"> |
589 |
<td class="bookcoverimg"> |
588 |
<div |
590 |
<div |
589 |
id="cover-slides-[% SEARCH_RESULT.biblionumber | html %]" |
591 |
id="cover-slides-[% SEARCH_RESULT.biblionumber | html %]" |
Lines 637-643
Link Here
|
637 |
[% END %] |
639 |
[% END %] |
638 |
|
640 |
|
639 |
[% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %] |
641 |
[% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %] |
640 |
[% IF ( Koha.Preference('BakerTaylorEnabled') && bt_id ) %] |
642 |
[% IF ( BakerTaylorEnabled && bt_id ) %] |
641 |
[% SET BakerTaylorImageURL = "https://contentcafe2.btol.com/ContentCafe/Jacket.aspx?UserID=${ Koha.Preference('BakerTaylorUsername') }&Password=${ Koha.Preference('BakerTaylorPassword') }&Options=Y&Return=T&Type=S&Value=$bt_id" %] |
643 |
[% SET BakerTaylorImageURL = "https://contentcafe2.btol.com/ContentCafe/Jacket.aspx?UserID=${ Koha.Preference('BakerTaylorUsername') }&Password=${ Koha.Preference('BakerTaylorPassword') }&Options=Y&Return=T&Type=S&Value=$bt_id" %] |
642 |
<div class="cover-image bakertaylor-coverimg" id="bakertaylor-coverimg"> |
644 |
<div class="cover-image bakertaylor-coverimg" id="bakertaylor-coverimg"> |
643 |
[% IF BakerTaylorBookstoreURL %] |
645 |
[% IF BakerTaylorBookstoreURL %] |
Lines 653-659
Link Here
|
653 |
</div> |
655 |
</div> |
654 |
[% END %] |
656 |
[% END %] |
655 |
|
657 |
|
656 |
[% IF Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %] |
658 |
[% IF CustomCoverImages %] |
657 |
[% SET custom_cover_image_url = SEARCH_RESULT.biblio_object.custom_cover_image_url %] |
659 |
[% SET custom_cover_image_url = SEARCH_RESULT.biblio_object.custom_cover_image_url %] |
658 |
[% IF custom_cover_image_url %] |
660 |
[% IF custom_cover_image_url %] |
659 |
<div id="custom-coverimg-[% SEARCH_RESULT.biblionumber | html %]" class="cover-image custom-coverimg"> |
661 |
<div id="custom-coverimg-[% SEARCH_RESULT.biblionumber | html %]" class="cover-image custom-coverimg"> |