Lines 449-455
Link Here
|
449 |
<table> |
449 |
<table> |
450 |
<thead> |
450 |
<thead> |
451 |
<tr> |
451 |
<tr> |
452 |
[% IF ( AmazonCoverImages || LocalCoverImages || ( SyndeticsCovers ) || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] |
452 |
[% IF ( Cover_Images_Required || AmazonCoverImages || LocalCoverImages || ( SyndeticsCovers ) || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] |
453 |
<th> </th> |
453 |
<th> </th> |
454 |
[% END %] |
454 |
[% END %] |
455 |
<th colspan="2">Results</th> |
455 |
<th colspan="2">Results</th> |
Lines 461-469
Link Here
|
461 |
<tbody> |
461 |
<tbody> |
462 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
462 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
463 |
<tr id="row[% SEARCH_RESULT.biblionumber | html %]"> |
463 |
<tr id="row[% SEARCH_RESULT.biblionumber | html %]"> |
464 |
[% IF ( AmazonCoverImages || LocalCoverImages || IntranetCoce || ( SyndeticsCovers ) || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] |
464 |
[% IF ( Cover_Images_Required || AmazonCoverImages || LocalCoverImages || IntranetCoce || ( SyndeticsCovers ) || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] |
465 |
<td class="bookcoverimg"> |
465 |
<td class="bookcoverimg"> |
466 |
<div id="cover-slides-[% SEARCH_RESULT.biblionumber | html %]" class="cover-slides" data-biblionumber="[% SEARCH_RESULT.biblionumber | html %]"> |
466 |
<div id="cover-slides-[% SEARCH_RESULT.biblionumber | html %]" class="cover-slides search_cover_images_required" data-biblionumber="[% SEARCH_RESULT.biblionumber | html %]"> |
467 |
[% IF ( LocalCoverImages ) %][% SEARCH_RESULT.localimage | html %] |
467 |
[% IF ( LocalCoverImages ) %][% SEARCH_RESULT.localimage | html %] |
468 |
<div id="local-coverimg-[% SEARCH_RESULT.biblionumber | html %]" class="cover-image local-coverimg"> |
468 |
<div id="local-coverimg-[% SEARCH_RESULT.biblionumber | html %]" class="cover-image local-coverimg"> |
469 |
<a href="[% PROCESS biblio_a_href biblionumber => SEARCH_RESULT.biblionumber %]"> |
469 |
<a href="[% PROCESS biblio_a_href biblionumber => SEARCH_RESULT.biblionumber %]"> |
Lines 781-786
Link Here
|
781 |
[% Asset.css("css/humanmsg.css") | $raw %] |
781 |
[% Asset.css("css/humanmsg.css") | $raw %] |
782 |
[% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %] |
782 |
[% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %] |
783 |
[% INCLUDE 'select2.inc' %] |
783 |
[% INCLUDE 'select2.inc' %] |
|
|
784 |
[% IF ( Cover_Images_Required ) %] |
785 |
<script> |
786 |
const search_results = {}; |
787 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
788 |
var cover_index = "[% loop.count %]"; |
789 |
search_results[cover_index] = {}; |
790 |
search_results[cover_index].isbn = "[% SEARCH_RESULT.normalized_isbn | html %]"; |
791 |
search_results[cover_index].biblionumber = "[% SEARCH_RESULT.biblionumber | html %]"; |
792 |
search_results[cover_index].processedBiblio = "[% PROCESS biblio_a_href biblionumber => SEARCH_RESULT.biblionumber | html %]" |
793 |
[% END %] |
794 |
</script> |
795 |
[% END %] |
784 |
<script> |
796 |
<script> |
785 |
var PREF_AmazonCoverImages = parseInt( "[% Koha.Preference('AmazonCoverImages') | html %]", 10); |
797 |
var PREF_AmazonCoverImages = parseInt( "[% Koha.Preference('AmazonCoverImages') | html %]", 10); |
786 |
var q_array = new Array(); // will hold search terms, if present |
798 |
var q_array = new Array(); // will hold search terms, if present |