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 468-474
Link Here
|
468 |
<table> |
470 |
<table> |
469 |
<thead> |
471 |
<thead> |
470 |
<tr> |
472 |
<tr> |
471 |
[% IF ( CoverImagePlugins || AmazonCoverImages || LocalCoverImages || IntranetCoce || ( SyndeticsCovers ) || Koha.Preference('BakerTaylorEnabled') || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] |
473 |
[% IF ( CoverImagePlugins || AmazonCoverImages || LocalCoverImages || IntranetCoce || SyndeticsCovers || BakerTaylorEnabled || CustomCoverImages ) %] |
472 |
<th> </th> |
474 |
<th> </th> |
473 |
[% END %] |
475 |
[% END %] |
474 |
<th colspan="2">Results</th> |
476 |
<th colspan="2">Results</th> |
Lines 480-486
Link Here
|
480 |
<tbody> |
482 |
<tbody> |
481 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
483 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
482 |
<tr id="row[% SEARCH_RESULT.biblionumber | html %]"> |
484 |
<tr id="row[% SEARCH_RESULT.biblionumber | html %]"> |
483 |
[% IF ( CoverImagePlugins || AmazonCoverImages || LocalCoverImages || IntranetCoce || ( SyndeticsCovers ) || Koha.Preference('BakerTaylorEnabled') || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] |
485 |
[% IF ( CoverImagePlugins || AmazonCoverImages || LocalCoverImages || IntranetCoce || SyndeticsCovers || BakerTaylorEnabled || CustomCoverImages ) %] |
484 |
<td class="bookcoverimg"> |
486 |
<td class="bookcoverimg"> |
485 |
<div id="cover-slides-[% SEARCH_RESULT.biblionumber | html %]" class="cover-slides" data-biblionumber="[% SEARCH_RESULT.biblionumber | html %]" data-isbn="[% To.json(SEARCH_RESULT.normalized_isbn) | $raw %]" data-processedbiblio="[% PROCESS biblio_a_href biblionumber => SEARCH_RESULT.biblionumber | $raw %]"> |
487 |
<div id="cover-slides-[% SEARCH_RESULT.biblionumber | html %]" class="cover-slides" data-biblionumber="[% SEARCH_RESULT.biblionumber | html %]" data-isbn="[% To.json(SEARCH_RESULT.normalized_isbn) | $raw %]" data-processedbiblio="[% PROCESS biblio_a_href biblionumber => SEARCH_RESULT.biblionumber | $raw %]"> |
486 |
[% IF ( LocalCoverImages && SEARCH_RESULT.has_local_cover_image ) %] |
488 |
[% IF ( LocalCoverImages && SEARCH_RESULT.has_local_cover_image ) %] |
Lines 525-531
Link Here
|
525 |
[% END %] |
527 |
[% END %] |
526 |
|
528 |
|
527 |
[% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %] |
529 |
[% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %] |
528 |
[% IF ( Koha.Preference('BakerTaylorEnabled') && bt_id ) %] |
530 |
[% IF ( BakerTaylorEnabled && bt_id ) %] |
529 |
[% 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" %] |
531 |
[% 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" %] |
530 |
<div class="cover-image bakertaylor-coverimg" id="bakertaylor-coverimg"> |
532 |
<div class="cover-image bakertaylor-coverimg" id="bakertaylor-coverimg"> |
531 |
[% IF BakerTaylorBookstoreURL %] |
533 |
[% IF BakerTaylorBookstoreURL %] |
Lines 541-547
Link Here
|
541 |
</div> |
543 |
</div> |
542 |
[% END %] |
544 |
[% END %] |
543 |
|
545 |
|
544 |
[% IF Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %] |
546 |
[% IF CustomCoverImages %] |
545 |
[% SET custom_cover_image_url = SEARCH_RESULT.biblio_object.custom_cover_image_url %] |
547 |
[% SET custom_cover_image_url = SEARCH_RESULT.biblio_object.custom_cover_image_url %] |
546 |
[% IF custom_cover_image_url %] |
548 |
[% IF custom_cover_image_url %] |
547 |
<div id="custom-coverimg-[% SEARCH_RESULT.biblionumber | html %]" class="cover-image custom-coverimg"> |
549 |
<div id="custom-coverimg-[% SEARCH_RESULT.biblionumber | html %]" class="cover-image custom-coverimg"> |