|
Lines 64-70
Link Here
|
| 64 |
<span class="Z3988" title="[% ocoins %]"></span> |
64 |
<span class="Z3988" title="[% ocoins %]"></span> |
| 65 |
[% END %] |
65 |
[% END %] |
| 66 |
|
66 |
|
| 67 |
[% IF ( AmazonCoverImages || LocalCoverImages ) %] |
67 |
[% IF ( AmazonCoverImages || LocalCoverImages || CoceIntranet ) %] |
| 68 |
[% IF ( XSLTDetailsDisplay ) %] |
68 |
[% IF ( XSLTDetailsDisplay ) %] |
| 69 |
<div class="yui-gc"> |
69 |
<div class="yui-gc"> |
| 70 |
<div id="catalogue_detail_biblio" class="yui-u first"> |
70 |
<div id="catalogue_detail_biblio" class="yui-u first"> |
|
Lines 125-131
Link Here
|
| 125 |
</span> |
125 |
</span> |
| 126 |
[% END %] |
126 |
[% END %] |
| 127 |
|
127 |
|
| 128 |
[% IF ( AmazonCoverImages || LocalCoverImages ) %] |
128 |
[% IF ( AmazonCoverImages || LocalCoverImages || CoceIntranet ) %] |
| 129 |
</div><div class="yui-u" id="bookcoverimg"> |
129 |
</div><div class="yui-u" id="bookcoverimg"> |
| 130 |
[% IF ( LocalCoverImages ) %] |
130 |
[% IF ( LocalCoverImages ) %] |
| 131 |
<div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div> |
131 |
<div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div> |
|
Lines 136-141
Link Here
|
| 136 |
<img src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" /> |
136 |
<img src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" /> |
| 137 |
</a></div> |
137 |
</a></div> |
| 138 |
[% END %] |
138 |
[% END %] |
|
|
139 |
[% IF ( CoceIntranet && CoceProviders ) %] |
| 140 |
[% coce_id = normalized_ean || normalized_isbn %] |
| 141 |
<a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage %]?biblionumber=[% biblionumber |url %]"> |
| 142 |
[% IF ( coce_id ) %] |
| 143 |
<span style="block" title="[% biblionumber |url %]" class="[% coce_id %]" id="coce-thumbnail-preview"></span> |
| 144 |
[% ELSE %] |
| 145 |
<span class="no-image">No cover image available</span> |
| 146 |
[% END %] |
| 147 |
</a> |
| 148 |
[% END %] |
| 139 |
[% END %] |
149 |
[% END %] |
| 140 |
[% ELSE %] |
150 |
[% ELSE %] |
| 141 |
|
151 |
|
|
Lines 199-205
Link Here
|
| 199 |
</ul> |
209 |
</ul> |
| 200 |
</div> |
210 |
</div> |
| 201 |
|
211 |
|
| 202 |
[% IF ( AmazonCoverImages || LocalCoverImages ) %] |
212 |
[% IF ( AmazonCoverImages || LocalCoverImages || CoceIntranet ) %] |
| 203 |
<div class="yui-u" id="bookcoverimg"> |
213 |
<div class="yui-u" id="bookcoverimg"> |
| 204 |
[% IF ( LocalCoverImages ) %] |
214 |
[% IF ( LocalCoverImages ) %] |
| 205 |
<div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div> |
215 |
<div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div> |
|
Lines 211-216
Link Here
|
| 211 |
</a> |
221 |
</a> |
| 212 |
</div> |
222 |
</div> |
| 213 |
[% END %] |
223 |
[% END %] |
|
|
224 |
[% IF ( CoceIntranet && CoceProviders ) %] |
| 225 |
[% coce_id = normalized_ean || normalized_isbn %] |
| 226 |
<a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage %]?biblionumber=[% biblionumber |url %]"> |
| 227 |
[% IF ( coce_id ) %] |
| 228 |
<span style="block" title="[% biblionumber |url %]" class="[% coce_id %]" id="coce-thumbnail-preview"></span> |
| 229 |
[% ELSE %] |
| 230 |
<span class="no-image">No cover image available</span> |
| 231 |
[% END %] |
| 232 |
</a> |
| 233 |
[% END %] |
| 214 |
</div> |
234 |
</div> |
| 215 |
[% END %] |
235 |
[% END %] |
| 216 |
|
236 |
|
|
Lines 848-853
Link Here
|
| 848 |
[% INCLUDE 'catalog-strings.inc' %] |
868 |
[% INCLUDE 'catalog-strings.inc' %] |
| 849 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/catalog_[% KOHA_VERSION %].js"></script> |
869 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/catalog_[% KOHA_VERSION %].js"></script> |
| 850 |
[% INCLUDE 'greybox.inc' %] |
870 |
[% INCLUDE 'greybox.inc' %] |
|
|
871 |
<script type="text/javascript" src="[% interface %]/prog/js/coce_[% KOHA_VERSION %].js"></script> |
| 851 |
<script type="text/javascript"> |
872 |
<script type="text/javascript"> |
| 852 |
// http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html |
873 |
// http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html |
| 853 |
function verify_images() { |
874 |
function verify_images() { |
|
Lines 1003-1008
Link Here
|
| 1003 |
[% IF LocalCoverImages %] |
1024 |
[% IF LocalCoverImages %] |
| 1004 |
KOHA.LocalCover.GetCoverFromBibnumber(true); |
1025 |
KOHA.LocalCover.GetCoverFromBibnumber(true); |
| 1005 |
[% END %] |
1026 |
[% END %] |
|
|
1027 |
[% IF ( CoceIntranet && CoceProviders ) %] |
| 1028 |
KOHA.coce.getURL('[% CoceHost %]', '[% CoceProviders %]'); |
| 1029 |
[% END %] |
| 1030 |
|
| 1006 |
$("body").on("click",".previewMARC", function(e){ |
1031 |
$("body").on("click",".previewMARC", function(e){ |
| 1007 |
e.preventDefault(); |
1032 |
e.preventDefault(); |
| 1008 |
var page = $(this).attr("href"); |
1033 |
var page = $(this).attr("href"); |