Lines 233-239
function verify_images() {
Link Here
|
233 |
[% IF ( subscriptionsnumber ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#subscriptions">Subscriptions</a></li>[% END %] |
233 |
[% IF ( subscriptionsnumber ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#subscriptions">Subscriptions</a></li>[% END %] |
234 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#editions">Editions</a></li>[% END %][% END %] |
234 |
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#editions">Editions</a></li>[% END %][% END %] |
235 |
[% IF ( AmazonSimilarItems ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#related">Related Titles</a></li>[% END %] |
235 |
[% IF ( AmazonSimilarItems ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#related">Related Titles</a></li>[% END %] |
236 |
[% IF ( LocalCoverImages ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#images">Images</a></li>[% END %] |
236 |
[% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#images">Images</a></li>[% END %][% END %] |
237 |
</ul> |
237 |
</ul> |
238 |
|
238 |
|
239 |
<div id="holdings"> |
239 |
<div id="holdings"> |
Lines 524-535
function verify_images() {
Link Here
|
524 |
|
524 |
|
525 |
[% IF ( LocalCoverImages ) %] |
525 |
[% IF ( LocalCoverImages ) %] |
526 |
<div id="images"> |
526 |
<div id="images"> |
|
|
527 |
[% IF ( localimages ) %] |
527 |
<div>Click on an image to view it in the image viewer</div> |
528 |
<div>Click on an image to view it in the image viewer</div> |
528 |
[% FOREACH image IN localimages %] |
529 |
[% FOREACH image IN localimages %] |
529 |
[% IF image %] |
530 |
[% IF image %] |
530 |
<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> |
531 |
<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> |
531 |
[% END %] |
532 |
[% END %] |
532 |
[% END %] |
533 |
[% END %] |
|
|
534 |
[% ELSE %] |
535 |
[% IF ( CAN_user_tools_upload_local_cover_images ) %] |
536 |
<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> |
537 |
[% END %] |
538 |
[% END %] |
533 |
</div> |
539 |
</div> |
534 |
[% END %] |
540 |
[% END %] |
535 |
|
541 |
|