Lines 56-62
Link Here
|
56 |
|
56 |
|
57 |
<div id="bookcover"> |
57 |
<div id="bookcover"> |
58 |
[% IF ( OPACLocalCoverImages ) %] |
58 |
[% IF ( OPACLocalCoverImages ) %] |
59 |
<div title="[% biblionumber |url %]" class="[% biblionumber | html %]" id="local-thumbnail-preview"></div> |
59 |
<div title="[% biblionumber |url %]" class="[% biblio.id %]" id="local-thumbnail-preview"></div> |
60 |
[% END %] |
60 |
[% END %] |
61 |
[% IF ( OPACAmazonCoverImages ) %] |
61 |
[% IF ( OPACAmazonCoverImages ) %] |
62 |
[% IF ( OPACURLOpenInNewWindow ) %] |
62 |
[% IF ( OPACURLOpenInNewWindow ) %] |
Lines 104-118
Link Here
|
104 |
[% END %] |
104 |
[% END %] |
105 |
</div><!-- / #bookcover --> |
105 |
</div><!-- / #bookcover --> |
106 |
|
106 |
|
107 |
<abbr class="unapi-id" title="koha:biblionumber:[% biblionumber | html %]"><!-- unAPI --></abbr> |
107 |
<abbr class="unapi-id" title="koha:biblionumber:[% biblio.id %]"><!-- unAPI --></abbr> |
108 |
[% IF ( ocoins ) # COinS / Openurl %] |
108 |
[% IF ( ocoins ) # COinS / Openurl %] |
109 |
<span class="Z3988" title="[% ocoins %]"></span> |
109 |
<span class="Z3988" title="[% ocoins %]"></span> |
110 |
[% END %] |
110 |
[% END %] |
111 |
|
111 |
|
112 |
<div id="views"> |
112 |
<div id="views"> |
113 |
<span class="view current-view"><span id="Normalview">Normal view</span></span> |
113 |
<span class="view current-view"><span id="Normalview">Normal view</span></span> |
114 |
<span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblionumber | html %]">MARC view</a></span> |
114 |
<span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblio.id %]">MARC view</a></span> |
115 |
[% IF ( ISBD ) %]<span class="view"><a id="ISBDview" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblionumber | html %]">ISBD view</a></span>[% END %] |
115 |
[% IF ( ISBD ) %]<span class="view"><a id="ISBDview" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblio.id %]">ISBD view</a></span>[% END %] |
116 |
</div> |
116 |
</div> |
117 |
[% IF ( OPACXSLTDetailsDisplay ) %] |
117 |
[% IF ( OPACXSLTDetailsDisplay ) %] |
118 |
[% XSLTBloc %] |
118 |
[% XSLTBloc %] |
Lines 408-423
Link Here
|
408 |
[% END %] |
408 |
[% END %] |
409 |
[% IF ( TagsInputEnabled ) %] |
409 |
[% IF ( TagsInputEnabled ) %] |
410 |
[% IF ( loggedinusername ) %] |
410 |
[% IF ( loggedinusername ) %] |
411 |
<form id="tagform[% biblionumber | html %]" method="post" action="/cgi-bin/koha/opac-tags.pl" style="display:none;"> |
411 |
<form id="tagform[% biblio.id %]" method="post" action="/cgi-bin/koha/opac-tags.pl" style="display:none;"> |
412 |
<label for="newtag[% biblionumber | html %]">New tag(s), separated by a comma:</label> |
412 |
<label for="newtag[% biblio.id %]">New tag(s), separated by a comma:</label> |
413 |
<input name="newtag[% biblionumber | html %]" id="newtag[% biblionumber | html %]" maxlength="100" type="text"/> |
413 |
<input name="newtag[% biblio.id %]" id="newtag[% biblio.id %]" maxlength="100" type="text"/> |
414 |
<input name="tagbutton" class="btn btn-small tagbutton" title="[% biblionumber | html %]" type="submit" value="Add" /> |
414 |
<input name="tagbutton" class="btn btn-small tagbutton" title="[% biblio.id %]" type="submit" value="Add" /> |
415 |
<a class="cancel_tag_add" id="cancel[% biblionumber | html %]" href="#">(done)</a> |
415 |
<a class="cancel_tag_add" id="cancel[% biblio.id %]" href="#">(done)</a> |
416 |
</form> |
416 |
</form> |
417 |
<span id="newtag[% biblionumber | html %]_status" class="tagstatus" style="display:none;"> |
417 |
<span id="newtag[% biblio.id %]_status" class="tagstatus" style="display:none;"> |
418 |
Tag status here. |
418 |
Tag status here. |
419 |
</span> |
419 |
</span> |
420 |
<a class="tag_add" id="tag_add[% biblionumber | html %]" href="#">Add tag(s)</a> |
420 |
<a class="tag_add" id="tag_add[% biblio.id %]" href="#">Add tag(s)</a> |
421 |
[% ELSE %] |
421 |
[% ELSE %] |
422 |
<span id="login4tags"> |
422 |
<span id="login4tags"> |
423 |
[% IF Koha.Preference('casAuthentication') %] |
423 |
[% IF Koha.Preference('casAuthentication') %] |
Lines 497-503
Link Here
|
497 |
|
497 |
|
498 |
<!-- define some hidden vars for ratings --> |
498 |
<!-- define some hidden vars for ratings --> |
499 |
|
499 |
|
500 |
<input type="hidden" name='biblionumber' value="[% biblionumber | html %]" /> |
500 |
<input type="hidden" name='biblionumber' value="[% biblio.id %]" /> |
501 |
<input type="hidden" name='rating_value' id='rating_value' value="[% my_rating.rating_value %]" /> |
501 |
<input type="hidden" name='rating_value' id='rating_value' value="[% my_rating.rating_value %]" /> |
502 |
|
502 |
|
503 |
[% UNLESS ( rating_readonly ) %] <input name="rate_button" type="submit" value="Rate me" />[% END %] |
503 |
[% UNLESS ( rating_readonly ) %] <input name="rate_button" type="submit" value="Rate me" />[% END %] |
Lines 651-657
Link Here
|
651 |
|
651 |
|
652 |
<div id="holdings"> |
652 |
<div id="holdings"> |
653 |
[% IF too_many_items %] |
653 |
[% IF too_many_items %] |
654 |
<p>This record has many physical items ([% items_count %]). <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]&viewallitems=1">Click here to view them all.</a></p> |
654 |
<p>This record has many physical items ([% items_count %]). <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.id %]&viewallitems=1">Click here to view them all.</a></p> |
655 |
[% ELSIF ( itemloop.size ) %] |
655 |
[% ELSIF ( itemloop.size ) %] |
656 |
[% INCLUDE items_table items=itemloop tab="holdings" %] |
656 |
[% INCLUDE items_table items=itemloop tab="holdings" %] |
657 |
[% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %] |
657 |
[% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %] |
Lines 874-880
Link Here
|
874 |
</table> |
874 |
</table> |
875 |
[% END # / IF subscription.latestserials %] |
875 |
[% END # / IF subscription.latestserials %] |
876 |
[% END # / FOREACH subscriptions %] |
876 |
[% END # / FOREACH subscriptions %] |
877 |
<p class="subscription_moredetails"><a href="opac-serial-issues.pl?biblionumber=[% biblionumber | html %]">More details</a></p> |
877 |
<p class="subscription_moredetails"><a href="opac-serial-issues.pl?biblionumber=[% biblio.id %]">More details</a></p> |
878 |
</div> <!-- / #subscriptions --> |
878 |
</div> <!-- / #subscriptions --> |
879 |
[% END # IF subscriptionsnumber %] |
879 |
[% END # IF subscriptionsnumber %] |
880 |
|
880 |
|
Lines 958-964
Link Here
|
958 |
|
958 |
|
959 |
[% IF ( loggedinusername ) %] |
959 |
[% IF ( loggedinusername ) %] |
960 |
[% UNLESS ( loggedincommenter ) %] |
960 |
[% UNLESS ( loggedincommenter ) %] |
961 |
<div id="addcomment"> <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% biblionumber | html %]'); return false;"> |
961 |
<div id="addcomment"> <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% biblio.id %]'); return false;"> |
962 |
Post your comments on this item. |
962 |
Post your comments on this item. |
963 |
</a></div> |
963 |
</a></div> |
964 |
[% END %] |
964 |
[% END %] |
Lines 1031-1037
Link Here
|
1031 |
<p>Click on an image to view it in the image viewer</p> |
1031 |
<p>Click on an image to view it in the image viewer</p> |
1032 |
[% FOREACH image IN localimages %] |
1032 |
[% FOREACH image IN localimages %] |
1033 |
[% IF image %] |
1033 |
[% IF image %] |
1034 |
<a class="localimage" href="/cgi-bin/koha/opac-imageviewer.pl?biblionumber=[% biblionumber | html %]&imagenumber=[% image %]"><img alt="" src="/cgi-bin/koha/opac-image.pl?thumbnail=1&imagenumber=[% image %]" /></a> |
1034 |
<a class="localimage" href="/cgi-bin/koha/opac-imageviewer.pl?biblionumber=[% biblio.id %]&imagenumber=[% image %]"><img alt="" src="/cgi-bin/koha/opac-image.pl?thumbnail=1&imagenumber=[% image %]" /></a> |
1035 |
[% END %] |
1035 |
[% END %] |
1036 |
[% END %] |
1036 |
[% END %] |
1037 |
</div><!-- / #images --> |
1037 |
</div><!-- / #images --> |
Lines 1645-1651
Link Here
|
1645 |
$.post("/cgi-bin/koha/opac-ratings-ajax.pl", { |
1645 |
$.post("/cgi-bin/koha/opac-ratings-ajax.pl", { |
1646 |
rating_old_value: $("#rating_value").attr("value"), |
1646 |
rating_old_value: $("#rating_value").attr("value"), |
1647 |
borrowernumber: "[% borrowernumber %]", |
1647 |
borrowernumber: "[% borrowernumber %]", |
1648 |
biblionumber: "[% biblionumber | html %]", |
1648 |
biblionumber: "[% biblio.id %]", |
1649 |
rating_value: value, |
1649 |
rating_value: value, |
1650 |
auth_error: value |
1650 |
auth_error: value |
1651 |
}, function (data) { |
1651 |
}, function (data) { |