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 465-471
Link Here
|
465 |
<table> |
467 |
<table> |
466 |
<thead> |
468 |
<thead> |
467 |
<tr> |
469 |
<tr> |
468 |
[% IF ( CoverImagePlugins || AmazonCoverImages || LocalCoverImages || IntranetCoce || ( SyndeticsCovers ) || Koha.Preference('BakerTaylorEnabled') || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] |
470 |
[% IF ( CoverImagePlugins || AmazonCoverImages || LocalCoverImages || IntranetCoce || SyndeticsCovers || BakerTaylorEnabled || CustomCoverImages ) %] |
469 |
<th> </th> |
471 |
<th> </th> |
470 |
[% END %] |
472 |
[% END %] |
471 |
<th colspan="2">Results</th> |
473 |
<th colspan="2">Results</th> |
Lines 477-483
Link Here
|
477 |
<tbody> |
479 |
<tbody> |
478 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
480 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
479 |
<tr id="row[% SEARCH_RESULT.biblionumber | html %]"> |
481 |
<tr id="row[% SEARCH_RESULT.biblionumber | html %]"> |
480 |
[% IF ( CoverImagePlugins || AmazonCoverImages || LocalCoverImages || IntranetCoce || ( SyndeticsCovers ) || Koha.Preference('BakerTaylorEnabled') || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] |
482 |
[% IF ( CoverImagePlugins || AmazonCoverImages || LocalCoverImages || IntranetCoce || SyndeticsCovers || BakerTaylorEnabled || CustomCoverImages ) %] |
481 |
<td class="bookcoverimg"> |
483 |
<td class="bookcoverimg"> |
482 |
<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 %]"> |
484 |
<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 %]"> |
483 |
[% IF ( LocalCoverImages && SEARCH_RESULT.has_local_cover_image ) %] |
485 |
[% IF ( LocalCoverImages && SEARCH_RESULT.has_local_cover_image ) %] |
Lines 522-528
Link Here
|
522 |
[% END %] |
524 |
[% END %] |
523 |
|
525 |
|
524 |
[% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %] |
526 |
[% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %] |
525 |
[% IF ( Koha.Preference('BakerTaylorEnabled') && bt_id ) %] |
527 |
[% IF ( BakerTaylorEnabled && bt_id ) %] |
526 |
[% 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" %] |
528 |
[% 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" %] |
527 |
<div class="cover-image bakertaylor-coverimg" id="bakertaylor-coverimg"> |
529 |
<div class="cover-image bakertaylor-coverimg" id="bakertaylor-coverimg"> |
528 |
[% IF BakerTaylorBookstoreURL %] |
530 |
[% IF BakerTaylorBookstoreURL %] |
Lines 538-544
Link Here
|
538 |
</div> |
540 |
</div> |
539 |
[% END %] |
541 |
[% END %] |
540 |
|
542 |
|
541 |
[% IF Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %] |
543 |
[% IF CustomCoverImages %] |
542 |
[% SET custom_cover_image_url = SEARCH_RESULT.biblio_object.custom_cover_image_url %] |
544 |
[% SET custom_cover_image_url = SEARCH_RESULT.biblio_object.custom_cover_image_url %] |
543 |
[% IF custom_cover_image_url %] |
545 |
[% IF custom_cover_image_url %] |
544 |
<div id="custom-coverimg-[% SEARCH_RESULT.biblionumber | html %]" class="cover-image custom-coverimg"> |
546 |
<div id="custom-coverimg-[% SEARCH_RESULT.biblionumber | html %]" class="cover-image custom-coverimg"> |