Lines 228-234
function verify_images() {
Link Here
|
228 |
[% IF ( subscriptionsnumber ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#subscriptions">Subscriptions</a></li>[% END %] |
228 |
[% IF ( subscriptionsnumber ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#subscriptions">Subscriptions</a></li>[% END %] |
229 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#editions">Editions</a></li>[% END %][% END %] |
229 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#editions">Editions</a></li>[% END %][% END %] |
230 |
[% IF ( AmazonSimilarItems ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#related">Related Titles</a></li>[% END %] |
230 |
[% IF ( AmazonSimilarItems ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#related">Related Titles</a></li>[% END %] |
231 |
[% IF ( LocalCoverImages ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#images">Images</a></li>[% END %] |
231 |
[% IF ( LocalCoverImages ) %][% IF ( localimages.0 || CAN_user_tools_upload_local_cover_images ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#images">Images</a></li>[% END %][% END %] |
232 |
</ul> |
232 |
</ul> |
233 |
|
233 |
|
234 |
<div id="holdings"> |
234 |
<div id="holdings"> |
Lines 519-530
function verify_images() {
Link Here
|
519 |
|
519 |
|
520 |
[% IF ( LocalCoverImages ) %] |
520 |
[% IF ( LocalCoverImages ) %] |
521 |
<div id="images"> |
521 |
<div id="images"> |
|
|
522 |
[% IF ( localimages.0 ) %] |
522 |
<div>Click on an image to view it in the image viewer</div> |
523 |
<div>Click on an image to view it in the image viewer</div> |
523 |
[% FOREACH image IN localimages %] |
524 |
[% FOREACH image IN localimages %] |
524 |
[% IF image %] |
525 |
[% IF image %] |
525 |
<span class="localimage"><a href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]"><img alt="img" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image %]" /></a></span> |
526 |
<span class="localimage"><a href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]"><img alt="img" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image %]" /></a></span> |
526 |
[% END %] |
527 |
[% END %] |
527 |
[% END %] |
528 |
[% END %] |
|
|
529 |
[% ELSE %] |
530 |
[% IF ( CAN_user_tools_upload_local_cover_images ) %] |
531 |
<p>No images have been uploaded for this bibliographic record yet. Please <a href='/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber %]&filetype=image'>upload</a> one.</p> |
532 |
[% END %] |
533 |
[% END %] |
528 |
</div> |
534 |
</div> |
529 |
[% END %] |
535 |
[% END %] |
530 |
|
536 |
|