Lines 121-126
Link Here
|
121 |
</div> |
121 |
</div> |
122 |
[% END %] |
122 |
[% END %] |
123 |
|
123 |
|
|
|
124 |
[% IF OpenLibraryCovers %] |
125 |
<div class="cover-image" id="openlibrary-coverimg"> |
126 |
<div title="[% img_title | html %]" class="[% normalized_isbn | html %]" id="openlibrary-thumbnail-preview" data-use-data-link="1"></div> |
127 |
<div class="hint">Image from OpenLibrary</div> |
128 |
</div> |
129 |
[% END %] |
130 |
|
124 |
[% IF Koha.Preference('OPACCustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %] |
131 |
[% IF Koha.Preference('OPACCustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %] |
125 |
[% SET custom_cover_image_url = biblio.custom_cover_image_url %] |
132 |
[% SET custom_cover_image_url = biblio.custom_cover_image_url %] |
126 |
[% IF custom_cover_image_url %] |
133 |
[% IF custom_cover_image_url %] |
Lines 1662-1667
Link Here
|
1662 |
KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]',[% covernewwindow | html %]); |
1669 |
KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]',[% covernewwindow | html %]); |
1663 |
[% END %] |
1670 |
[% END %] |
1664 |
|
1671 |
|
|
|
1672 |
[% IF OpenLibraryCovers %] |
1673 |
KOHA.OpenLibrary.GetCoverFromIsbn(); |
1674 |
[% END %] |
1675 |
|
1665 |
function verify_images() { |
1676 |
function verify_images() { |
1666 |
// Loop over each container in the template which contains covers |
1677 |
// Loop over each container in the template which contains covers |
1667 |
$(".cover-slider").each(function(){ |
1678 |
$(".cover-slider").each(function(){ |
Lines 1703-1708
Link Here
|
1703 |
lightbox_descriptions.push("Image from Syndetics") |
1714 |
lightbox_descriptions.push("Image from Syndetics") |
1704 |
} else if( div.attr("id") == "googlejacket-coverimg" ){ |
1715 |
} else if( div.attr("id") == "googlejacket-coverimg" ){ |
1705 |
lightbox_descriptions.push(_("Image from Google Jacket (<a href='%s'>see the original image</a>)").format($(img).data('link'))); |
1716 |
lightbox_descriptions.push(_("Image from Google Jacket (<a href='%s'>see the original image</a>)").format($(img).data('link'))); |
|
|
1717 |
} else if( div.attr("id") == "openlibrary-coverimg" ){ |
1718 |
lightbox_descriptions.push(_("Image from OpenLibrary (<a href='%s'>see the original image</a>)").format($(img).data('link'))); |
1706 |
} else if( div.attr("id") == "coce-coverimg" ){ |
1719 |
} else if( div.attr("id") == "coce-coverimg" ){ |
1707 |
// Identify which service's image is being loaded by Coce |
1720 |
// Identify which service's image is being loaded by Coce |
1708 |
var coce_description; |
1721 |
var coce_description; |