|
Lines 110-115
Link Here
|
| 110 |
</div> |
110 |
</div> |
| 111 |
[% END %] |
111 |
[% END %] |
| 112 |
|
112 |
|
|
|
113 |
[% IF OpenLibraryCovers %] |
| 114 |
<div class="cover-image" id="openlibrary-coverimg"> |
| 115 |
<div title="[% img_title | html %]" class="[% normalized_isbn | html %]" id="openlibrary-thumbnail-preview" data-use-data-link="1"></div> |
| 116 |
<div class="hint">Image from OpenLibrary</div> |
| 117 |
</div> |
| 118 |
[% END %] |
| 119 |
|
| 113 |
[% IF Koha.Preference('OPACCustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %] |
120 |
[% IF Koha.Preference('OPACCustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %] |
| 114 |
[% SET custom_cover_image_url = biblio.custom_cover_image_url %] |
121 |
[% SET custom_cover_image_url = biblio.custom_cover_image_url %] |
| 115 |
[% IF custom_cover_image_url %] |
122 |
[% IF custom_cover_image_url %] |
|
Lines 1502-1507
Link Here
|
| 1502 |
KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]',[% covernewwindow | html %]); |
1509 |
KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]',[% covernewwindow | html %]); |
| 1503 |
[% END %] |
1510 |
[% END %] |
| 1504 |
|
1511 |
|
|
|
1512 |
[% IF OpenLibraryCovers %] |
| 1513 |
KOHA.OpenLibrary.GetCoverFromIsbn(); |
| 1514 |
[% END %] |
| 1515 |
|
| 1505 |
function verify_images() { |
1516 |
function verify_images() { |
| 1506 |
// Loop over each container in the template which contains covers |
1517 |
// Loop over each container in the template which contains covers |
| 1507 |
$(".cover-slider").each(function(){ |
1518 |
$(".cover-slider").each(function(){ |
|
Lines 1543-1548
Link Here
|
| 1543 |
lightbox_descriptions.push("Image from Syndetics") |
1554 |
lightbox_descriptions.push("Image from Syndetics") |
| 1544 |
} else if( div.attr("id") == "googlejacket-coverimg" ){ |
1555 |
} else if( div.attr("id") == "googlejacket-coverimg" ){ |
| 1545 |
lightbox_descriptions.push(_("Image from Google Jacket (<a href='%s'>see the original image</a>)").format($(img).data('link'))); |
1556 |
lightbox_descriptions.push(_("Image from Google Jacket (<a href='%s'>see the original image</a>)").format($(img).data('link'))); |
|
|
1557 |
} else if( div.attr("id") == "openlibrary-coverimg" ){ |
| 1558 |
lightbox_descriptions.push(_("Image from OpenLibrary (<a href='%s'>see the original image</a>)").format($(img).data('link'))); |
| 1546 |
} else if( div.attr("id") == "coce-coverimg" ){ |
1559 |
} else if( div.attr("id") == "coce-coverimg" ){ |
| 1547 |
// Identify which service's image is being loaded by Coce |
1560 |
// Identify which service's image is being loaded by Coce |
| 1548 |
var coce_description; |
1561 |
var coce_description; |