3 [% USE AuthorisedValues %]
4 [% SET TagsShowEnabled = ( TagsEnabled && TagsShowOnDetail ) %]
5 [% SET TagsInputEnabled = ( opacuserlogin && TagsEnabled && TagsInputOnDetail ) %]
7 [% ShowCourseReservesHeader = 0 %]
8 [% IF Koha.Preference( 'UseCourseReserves' ) == 1 %]
9 [% FOREACH ITEM_RESULT IN itemloop %]
10 [% IF ITEM_RESULT.course_reserves %]
11 [% FOREACH r IN ITEM_RESULT.course_reserves %]
12 [% IF r.course.enabled == 'yes' %]
13 [% ShowCourseReservesHeader = 1 %]
20 [% IF ( using_https ) %]
21 [% SET protocol = "https://" %]
22 [% SET root_syndetics = "secure" %]
24 [% SET protocol = "http://" %]
25 [% SET root_syndetics = "www" %]
27 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Details for: [% title |html %][% FOREACH subtitl IN subtitle %], [% subtitl.subfield |html %][% END %]
28 [% INCLUDE 'doc-head-close.inc' %]
29 [% INCLUDE 'datatables.inc' %]
30 [% IF ( SocialNetworks ) %]
31 <script type="text/javascript" src="https://apis.google.com/js/plusone.js">
36 <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
38 [% IF ( OpacStarRatings != 'disable' ) %]<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.rating.js"></script>
39 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/jquery.rating.css" />[% END %]
41 [% IF ( OpacHighlightedWords ) %]<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.highlight-3.js"></script>[% END %]
43 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/right-to-left.css" />
45 <script type="text/javascript">
48 [% IF ( OpacBrowseResults && busc ) %]
49 var arrPagination = new Array();
50 var pag_index_ini = [% indexPag %];
51 [% IF ( listResults ) %]
52 [% FOREACH listResult IN listResults %]
53 arrPagination[[% listResult.index %]] = {
54 url:"[% listResult.url %][% IF ( listResult.url && query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]",
55 title:"[% listResult.title|remove('\n')|html %]",
56 author:"[% listResult.author|html %]",
57 biblionumber:[% listResult.biblionumber %]
63 [% IF ( OpacHighlightedWords ) %]
64 var q_array = new Array(); // holds search terms if available
66 function highlightOff() {
67 $("#catalogue_detail_biblio").removeHighlight();
68 $(".highlight_toggle").toggle();
70 function highlightOn() {
73 q_array[x] = q_array[x].replace(/\w*:([\w])/, "$1");
74 $(".title").highlight(q_array[x]);
75 $(".author").highlight(q_array[x]);
76 $(".results_summary").highlight(q_array[x]);
78 $(".highlight_toggle").toggle();
82 $(document).ready(function() {
83 $('#bibliodescriptions').tabs();
84 $(".branch-info-tooltip-trigger").tooltip({
85 position: { my: "left+15 center", at: "right center" },
89 var element = $(this).next("div");
90 return element.html();
93 [% IF ( TagsInputEnabled && loggedinusername ) %]
94 $(".tag_add").click(function(){
95 var thisid = $(this).attr("id");
96 thisid = thisid.replace("tag_add","");
98 $("#tagform"+thisid).show();
99 $("#newtag"+thisid).focus();
100 $("#newtag"+thisid+"_status").empty().hide();
103 $(".cancel_tag_add").click(function(){
104 var thisid = $(this).attr("id");
105 thisid = thisid.replace("cancel","");
106 $("#tagform"+thisid).hide();
107 $("#tag_add"+thisid).show();
108 $("#newtag"+thisid).val("");
109 $("#newtag"+thisid+"_status").empty().hide();
112 $(".tagbutton").click(function(){
113 var thisid = $(this).attr("title");
114 var tag = $("#newtag"+thisid).val();
115 if (!tag || (tag == "")) {
116 alert(MSG_NO_TAG_SPECIFIED);
119 KOHA.Tags.add_tag_button(thisid, tag);
124 $(".holdingst").dataTable($.extend(true, {}, dataTablesDefaults, {
126 [% IF ( item_level_itypes ) %]null,[% END %]
128 [% IF ( itemdata_ccode ) %]null,[% END %]
130 [% IF ( itemdata_enumchron ) %]null,[% END %]
131 [% IF ( itemdata_uri ) %]null,[% END %]
132 [% IF ( itemdata_copynumber ) %]null,[% END %]
134 [% IF ( itemdata_itemnotes ) %]null,[% END %]
135 { "sType": "title-string" },
136 [% IF ( OPACShowBarcode ) %]null,[% END %]
137 [% IF holds_count.defined %]
139 [% ELSIF show_priority %]
142 [% IF ( ShowCourseReservesHeader ) %]null,[% END %]
146 [% IF ( query_desc ) %][% IF ( OpacHighlightedWords ) %]var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') |html %]";
147 q_array = query_desc.split(" ");
149 $("#highlight_toggle_on" ).hide().click(function() {highlightOn() ; return false;});
150 $("#highlight_toggle_off").show().click(function() {highlightOff(); return false;});[% END %][% END %]
151 [% IF ( GoogleJackets ) %]
152 KOHA.Google.GetCoverFromIsbn([% covernewwindow %]);
154 [% IF OpenLibraryCovers %]
155 KOHA.OpenLibrary.GetCoverFromIsbn();
157 [% IF OPACLocalCoverImages %]
158 KOHA.LocalCover.GetCoverFromBibnumber(true);
160 [% IF ( NovelistSelectProfile ) %]
161 novSelect.loadContentForISBN('[% normalized_isbn %]','[% NovelistSelectProfile %]', '[% NovelistSelectPassword %]', function(d){});
164 [% IF ( OpacBrowseResults && busc ) %]
165 if (arrPagination.length > 0) {
166 renderPagIndexList(pag_index_ini, $("#listResults"));
168 $("#a_listResults").click(function(e) {
169 if (arrPagination.length > 0) {
171 var navigation = $(".pagination");
172 if (navigation.css("display") == 'none') {
174 var newtitle = $(this).attr('title').replace('Show', 'Hide')
175 $(this).attr('title',newtitle);
176 renderPagination(pag_index_ini, arrPagination.length - 1, $("#ul_pagination_list"), false);
179 var newtitle = $(this).attr('title').replace('Hide', 'Show')
180 $(this).attr('title',newtitle);
184 $("#close_pagination").click(function(e) {
186 var navigation = $(".pagination");
191 [% IF ( OpacStarRatings != 'disable' ) %]
192 // -----------------------------------------------------
194 // -----------------------------------------------------
195 // hide 'rate' button if javascript enabled
197 $('input[name="rate_button"]').remove();
200 $(".auto-submit-star").rating({
201 callback: function (value, link) {
203 // if the new value equals the old value, dont execute callback...
205 if ($("#rating_value").attr("value") != value) {
209 $.post("/cgi-bin/koha/opac-ratings-ajax.pl", {
210 rating_old_value: $("#rating_value").attr("value"),
211 borrowernumber: "[% borrowernumber %]",
212 biblionumber: "[% biblionumber %]",
217 if (data.auth_status != 'ok') {
218 window.alert(_("Your CGI session cookie is not current. Please refresh the page and try again."));
220 $("#rating_value").val(data.rating_value);
222 if (data.rating_value) {
223 $("#rating_value_text").text(_("your rating:") + ' ' + data.rating_value + ', ');
225 $("#rating_value_text").text('');
228 $("#rating_text").text(_("average rating:") + " " + data.rating_avg_int + ' (' + data.rating_total + ' votes)');
237 // -----------------------------------------------------
239 [% IF ( IDreamBooksReviews || IDreamBooksReadometer ) %]
240 var isbn = $(".isbn:last").text().split(" ")[1];
242 isbn = isbn.replace(/\W*$/, '');
243 isbn = isbn.replace(/-/, '');
245 if ($.browser.msie && parseInt($.browser.version, 10) >= 8 && window.XDomainRequest) {
246 // Use Microsoft XDR for IE version 8 or above
247 var xdr = new XDomainRequest();
248 xdr.open("get", "http://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e");
249 xdr.onload = function() {
250 json = 'json = '+xdr.responseText; // the string now looks like.. json = { ... };
251 eval(json); // json is now a regular JSON object
252 parseIDBJSON(json); // parse using same function as for jQuery's success event
256 $.getJSON("http://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e", function(json){
264 [% IF ( IDreamBooksReviews || IDreamBooksReadometer ) %]
265 function parseIDBJSON( json ) {
266 if(json.total_results > 0 && json.book.rating > 0){
267 var isbn = $(".isbn:last").text().split(" ")[1];
268 isbn = isbn.replace(/-/, '');
270 [% IF ( IDreamBooksReadometer ) %]
271 $(".title").append('<a href="'+json.book.detail_link+'" id="idreambooksreadometer"><img src="http://idreambooks.com/remotereadometer/'+isbn+'.jpg" alt="'+json.book.title+' by '+json.book.author+'" title="Rating based on reviews of '+json.book.title+'"></a>');
275 [% IF ( IDreamBooksReviews ) %]
276 //build new tab for critic reviews
277 $("#tab_idb_critic_reviews a").text($("#tab_idb_critic_reviews a").text().replace('XXX', json.book.review_count));
279 //append happy-sad cloud review
281 $("#catalogue_detail_biblio").append("<span class='idreambookssummary results_summary'><a href='"+json.book.detail_link+"'><img src='"+json.book.to_read_or_not_small+"' alt='"+json.book.title+" by "+json.book.author+"' title='Rating based on reviews of "+json.book.title+"'>"+json.book.rating+"%</a> <a href='http://www.idreambooks.com/'>rating based on reviews at iDreamBooks.com</a></span>");
283 //insert data into Book reviews tab
284 $.each(json.book.critic_reviews, function(){
285 $("#idb_review_snippets").append("<div class='review'><div><a href='"+this.review_link+"'>"+this.source+"</a></div><div>\"..."+this.snippet+"...\"</div><div>Review date: "+this.review_date+"</div><div><a class='reviewlink' href='"+json.book.detail_link+"'>Review result: "+this.pos_or_neg+" <img src='"+this.smiley_or_sad_small+"' alt='iDreamBooks.com rating' title='"+this.pos_or_neg+"' /></a></div></div>");
287 $("#seemoreidb").attr('href', json.book.detail_link);
288 $("#tab_idb_critic_reviews").show();
296 [% IF ( OpacBrowseResults && busc ) %]
298 var totalPagItemList = 10;
300 function rewindList()
302 var ul = $("#listResults");
303 var li_ini = ul.children(':first').next();
304 var index_ini = pag_index_ini;
306 index_ini = parseInt(li_ini.attr("class").substring(7), 10);
308 var li_end = ul.children(':last').prev();
309 var index_end = arrPagination.length - 1;
311 index_end = parseInt(li_end.attr("class").substring(7), 10);
313 if (index_ini > pag_index_ini) {
314 renderPagIndexList(index_ini - 1, ul, false);
315 renderPagination(index_ini - 1, arrPagination.length - 1, $("#ul_pagination_list"), true);
319 function forwardList()
321 var ul = $("#listResults");
322 var li_ini = ul.children(':first').next();
323 var index_ini = pag_index_ini;
325 index_ini = parseInt(li_ini.attr("class").substring(7), 10);
327 var li_end = ul.children(':last').prev();
328 var index_end = arrPagination.length - 1;
330 index_end = parseInt(li_end.attr("class").substring(7), 10);
332 if (index_end < arrPagination.length - 1) {
333 renderPagIndexList(index_ini + 1, ul, false);
334 renderPagination(index_ini + 1, arrPagination.length - 1, $("#ul_pagination_list"), true);
338 function renderPagIndexList(index, ul)
340 var $kids = ul.children("li");
341 if ($kids.length > 0) {
342 $kids.each(function() {
349 var end = ini + totalPagItemList - 1;
351 html = (index > pag_index_ini)?"<a href='#' id='rew_list_index' onclick='rewindList()' title='" + _("Click to rewind the list to") + " " + ini + " - " + end + "'>«</a>":"«";
355 for (var i=index; i < arrPagination.length && i < index + totalPagItemList; i++) {
356 if (arrPagination[i] == undefined) continue;
357 var li = $("<li />");
358 if (arrPagination[i].url != "") {
359 title = _("See biblio") + " "" + arrPagination[i].title + "" ";
360 if (arrPagination[i].author != "") title += " " + _("by") + """ + arrPagination[i].author + """;
361 title += " " + _("with biblionumber") + " " + arrPagination[i].biblionumber;
362 html = "<a href='" + arrPagination[i].url + "' title='" + title + "' class='a_pag' id='a_pag_" + i + "'";
363 html += " onmouseover='renderPagination(" + i + ", " + (arrPagination.length - 1) + ", $(\"#ul_pagination_list\"), true)'";
364 html += ">" + i + "</a>";
367 li.attr("class", "li_pag_" + i);
372 end = (arrPagination.length > index + totalPagItemList)?index + totalPagItemList:arrPagination.length - 1;
373 html = (end <= arrPagination.length - 1 && (end - index) >= totalPagItemList)?"<a href='#' id='fw_list_index' onclick='forwardList()' title='" + _("Click to forward the list to") + " " + ini + " - " + end + "'>»</a>":"»";
376 }//renderPagIndexList
379 function renderPagination(index, total, ul, highlIndex)
381 for (var i = pag_index_ini; i <= total; i++) {
382 if (arrPagination[i] == undefined || arrPagination[i].url == "") continue;
383 $("#li_pag_" + i).remove();
386 for (var i = index; i <= total && j < totalPagItemList; i++) {
387 if (arrPagination[i] == undefined || arrPagination[i].url == "") continue;
388 var li = $("<li id='li_pag_" + i + "' " + ((j % 2 == 0)?"class='highlight'":"") + " title='" + _("Go to detail") + "' />");
389 var html = "<span class='li_pag_index'>" + i + "</span><a href='" + arrPagination[i].url + "'>" + arrPagination[i].title + "</a>";
390 if (arrPagination[i].author) html += "<br /> by " + arrPagination[i].author;
392 if (highlIndex && i == index) li.css("backgroundColor", "#DDDDDD");
396 for (i = pag_index_ini; i < index && j < totalPagItemList; i++) {
397 if (arrPagination[i] == undefined || arrPagination[i].url == "") continue;
398 $("#li_pag_" + i).remove();
399 var li = $("<li id='li_pag_" + i + "' " + ((j % 2 == 0)?"class='highlight'":"") + " title='" + _("Go to detail") + "' />");
400 var html = "<span class='li_pag_index'>" + i + "</span><a href='" + arrPagination[i].url + "'>" + arrPagination[i].title + "</a>";
401 if (arrPagination[i].author) html += "<br /> " + _("by") + " " + arrPagination[i].author;
410 YAHOO.util.Event.onContentReady("furtherm", function () {
411 $("#furtherm").css("display","block").css("visibility","hidden");
412 $("#furthersearches").parent().show();
413 var furthersearchesMenu = new YAHOO.widget.Menu("furtherm");
414 furthersearchesMenu.render();
415 furthersearchesMenu.cfg.setProperty("context", ["furthersearches", "tr", "br"]);
416 furthersearchesMenu.subscribe("beforeShow",positionfurthersearchesMenu);
417 furthersearchesMenu.subscribe("show", furthersearchesMenu.focus);
418 function positionfurthersearchesMenu() {
419 furthersearchesMenu.align("tr", "br");
421 YAHOO.util.Event.addListener("furthersearches", "click", furthersearchesMenu.show, null, furthersearchesMenu);
422 YAHOO.widget.Overlay.windowResizeEvent.subscribe(positionfurthersearchesMenu);
427 [% IF OPACPopupAuthorsSearch %]
428 <script type="text/JavaScript" language="JavaScript">
430 function showAuthors(element){
431 var authornumber = $(element).attr("data-count");
432 // Hide subjects menu if displayed
433 hideMenu(".subjectSearch");
435 // Check checkbox related to the clicked link
436 $("#authorsList input[type='checkbox']").attr('checked', false);
437 $("#author_"+authornumber).attr('checked', true);
442 var left = element.offsetLeft || 0;
443 var top = element.offsetTop || 0;
444 $('.authorSearch').css('display', 'block');
445 $('.authorSearch').css('left', left);
446 $('.authorSearch').css('top', top + 15);
449 function hideMenu(elem) {
450 $(elem).css('display', 'none');
453 function checkAll(checkbox, elem) {
454 var check = $(checkbox).attr('checked') ? true : false;
455 $(elem).find("input[type='checkbox']").attr('checked', check);
456 elem == "#authorsList" ? makeAuthorRequest() : makeSubjectRequest();
459 function makeAuthorRequest(){
462 $("#authorsList").find("input[type='checkbox']:checked").each(function () {
463 values.push($(this).val());
466 if (values.length > 0) {
467 var request = "/cgi-bin/koha/opac-search.pl?q=" + values.join(' and ');
468 $("#validAuthorSearch").attr("href", request);
470 $("#validAuthorSearch").removeAttr("href");
476 function showSubjects(element, subjectnumber, subfieldnumber){
477 // Hide author menu if displayed
478 hideMenu(".authorSearch");
480 // Check checkbox related to the clicked link
481 $("#subjectsList input[type='checkbox']").attr('checked', false);
482 $("#subject_"+subjectnumber+"_"+subfieldnumber).attr('checked', true);
484 makeSubjectRequest();
487 var left = element.offsetLeft || 0;
488 var top = element.offsetTop || 0;
489 $('.subjectSearch').css('display', 'block');
490 $('.subjectSearch').css('left', left);
491 $('.subjectSearch').css('top', top + 15);
494 function makeSubjectRequest() {
496 $("#subjectsList > ul").each(function() {
497 var all_checked = true;
498 var local_values = [];
499 $(this).find('input[type="checkbox"]').each(function() {
500 if($(this).attr('checked')) {
501 local_values.push($(this).val());
506 var authid = $(this).attr('data-authid');
507 if(all_checked && authid) {
508 values.push('an:' + authid);
510 values = values.concat(local_values);
514 if(values.length > 0) {
515 var request = "/cgi-bin/koha/opac-search.pl?q=" + values.join(' and ');
516 $("#validSubjectSearch").attr('href', request);
518 $("#validSubjectSearch").removeAttr("href");
521 $(document).ready(function() {
522 $("a.showauthors").click(function(){
533 <body id="opac-detail">
534 <div id="doc3" class="yui-t7">
536 [% INCLUDE 'masthead.inc' %]
540 <div class="yui-b"><div id="opac-detail-yui-ge" class="yui-ge">
541 <div class="yui-u first">
542 <div id="userdetail" class="container">
543 <div id="catalogue_detail_biblio">
546 [% IF ( OPACLocalCoverImages ) %]<div style="block" title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>[% END %]
547 [% IF ( OPACAmazonCoverImages ) %]
548 [% IF ( OPACurlOpenInNewWindow ) %]
549 <a href="http://www.amazon[% AmazonTld %]/dp/[% normalized_isbn %]" target="_blank">
551 <a href="http://www.amazon[% AmazonTld %]/dp/[% normalized_isbn %]">
553 [% IF ( using_https ) %]
554 <img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="Cover image" /></a>
556 <img border="0" src="http://images.amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="Cover image" /></a>
560 [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( content_identifier_exists ) %]
561 <img src="[% protocol %][% root_syndetics %].syndetics.com/index.aspx?isbn=[% normalized_isbn %]/[% SyndeticsCoverImageSize %].GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% normalized_upc %]&oclc=[% normalized_oclc %]" alt="" class="thumbnail" />
563 [% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %][% END %]
565 [% IF ( GoogleJackets ) %]<div style="block" title="[% biblionumber |url %]" class="[% normalized_isbn %]" id="gbs-thumbnail-preview"></div>[% END %]
566 [% IF OpenLibraryCovers %]<div style="block" title="[% biblionumber |url %]" class="[% normalized_isbn %]" id="openlibrary-thumbnail-preview"></div>[% END %]
567 [% IF ( BakerTaylorEnabled ) %][% IF ( normalized_isbn ) %][% IF ( OPACurlOpenInNewWindow ) %]<a href="https://[% BakerTaylorBookstoreURL |html %][% normalized_isbn %]" target="_blank"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL |html %][% normalized_isbn %]" /></a>[% ELSE %]<a href="https://[% BakerTaylorBookstoreURL |html %][% normalized_isbn %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL |html %][% normalized_isbn %]" /></a>[% END %][% END %][% END %]
570 <abbr class="unapi-id" title="koha:biblionumber:[% biblionumber %]"><!-- unAPI --></abbr>
572 <!-- COinS / Openurl -->
573 <span class="Z3988" title="[% ocoins %]"></span>
576 <div id="views"><span class="view"><span id="Normalview">Normal view</span></span> <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblionumber %]">MARC view</a></span> [% IF ( ISBD ) %]<span class="view"><a id="ISBDview" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblionumber %]">ISBD view</a></span>[% END %]
578 [% IF ( OPACXSLTDetailsDisplay ) %]
581 <h1 class="title">[% title |html %][% IF ( subtitle ) %] <span class="subtitle">[% FOREACH subtitl IN subtitle %][% subtitl.subfield |html %] [% END %]</span>[% END %]</h1>
582 [% IF ( author ) %]<h5 class="author">by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author |html %]</a></h5>[% END %]
584 <span class="results_summary">[% UNLESS ( item_level_itypes ) %]
586 [% IF ( description ) %]
592 [% IF ( unititle ) %], [% unititle %][% END %]
595 [% IF ( MARCAUTHORS ) %]
596 <span class="results_summary"><span class="label">Additional authors:</span>
597 [% IF OPACPopupAuthorsSearch %]
598 <div class="authorSearch" id="authorSearch">
599 <span><b>Select the item(s) to search :</b></span>
601 <input type="checkbox" onchange="checkAll(this, '#authorsList')"> <b>all</b>
603 <ul id="authorsList">
604 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
606 [% IF (MARCAUTHOR.authoritylink) %]
607 <input type="checkbox" name="checkbox"
608 id="author_[% loop.count %]"
609 onclick="makeAuthorRequest()"
610 value="an:[% MARCAUTHOR.authoritylink %]" />
612 <input type="checkbox" name="checkbox"
613 id="author_[% loop.count %]"
614 onclick="makeAuthorRequest()"
615 value="au,wrdl:[% FOREACH SUBFIELD IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% SUBFIELD.value |url %][% UNLESS (loop.last) %]+[% END %][% END %]" />
617 <label for="author_[% loop.count %]">
618 [% FOREACH SUBFIELD IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
626 <a href="#" onclick="hideMenu('.authorSearch'); return false">Cancel</a>
628 <a id="validAuthorSearch">Search</a>
631 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
632 [% authorsloop = loop %]
633 [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
634 [% MARCAUTHOR_SUBFIELDS_LOO.separator %]
635 <a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value %]"
636 class="showauthors" data-count="[% authorsloop.count %]"
637 href="/cgi-bin/koha/opac-search.pl?q=[% FOREACH link_loo IN MARCAUTHOR_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit |url %]:[% link_loo.link |url %][% END %]">[% MARCAUTHOR_SUBFIELDS_LOO.value %]</a>
639 [% IF (MARCAUTHOR.authoritylink) %]
640 <a class='authlink' href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% MARCAUTHOR.authoritylink %]"><img style="vertical-align:middle" height="15" width="15" src="[% interface %]/[% theme %]/images/filefind.png"></a>
642 [% UNLESS ( loop.last ) %]|[% END %]
647 [% IF ( MARCSERIES ) %]
648 <span class="results_summary series"><span class="label">Series:</span>
649 [% FOREACH MARCSERIE IN MARCSERIES %]
650 [% FOREACH MARCSERIES_SUBFIELDS_LOO IN MARCSERIE.MARCSERIES_SUBFIELDS_LOOP %]
651 [% IF ( MARCSERIES_SUBFIELDS_LOO.value ) %]<a href="/cgi-bin/koha/opac-search.pl?q=se:[% MARCSERIES_SUBFIELDS_LOO.value |url %]">[% MARCSERIES_SUBFIELDS_LOO.value %]</a>[% END %][% IF ( MARCSERIES_SUBFIELDS_LOO.volumenum ) %]. [% MARCSERIES_SUBFIELDS_LOO.volumenum %][% END %]
652 [% END %] [% UNLESS ( loop.last ) %]|[% END %]
656 [% IF ( editionstatement ) %]
657 <span class="results_summary edition"><span class="label">Edition statement:</span>[% editionstatement %][% IF ( editionresponsibility ) %]/[% editionresponsibility %][% END %]</span>
659 [% IF ( publishercode ) %]
660 <span class="results_summary publisher"><span class="label">Published by :</span>
661 <a href="/cgi-bin/koha/opac-search.pl?q=pb:[% publishercode |url %] ">
662 [% publishercode |html %]
663 </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %]
667 [% IF ( pages ) %]<span class="results_summary physical"><span class="label">Physical details:</span> [% pages %] [% illus %] [% size %]</span>[% END %]
669 [% IF ( MARCISBNS ) %]
670 <span class="results_summary isbn"><span class="label">ISBN:</span>[% FOREACH MARCISBN IN MARCISBNS %][% MARCISBN %][% IF ( loop.last ) %].[% ELSE %]; [% END %][% END %]</span>
672 [% IF ( normalized_isbn ) %]
673 <span class="results_summary isbn"><span class="label">ISBN: </span>[% normalized_isbn %]</span>
677 <span class="results_summary issn"><span class="label">ISSN:</span>[% issn %]</span>
679 [% IF ( collectiontitle ) %]
680 <span class="results_summary collection"><span class="label">Collection: </span>
681 [% collectiontitle %]
682 [% IF ( collectionissn ) %], ISSN [% collectionissn %] [% END %]
683 [% IF ( collectionvolume ) %]; [% collectionvolume %] [% END %]
687 [% IF ( unititles ) %]
688 <span class="results_summary unititle"><span class="label">Uniform titles:</span>
689 [% FOREACH unititle IN unititles %]
690 [% unititle.unititle %] ;
696 [% IF ( MARCSUBJCTS ) %]
697 <span class="results_summary subject">
698 <span class="label">Subject(s):</span>
699 [% IF OPACPopupAuthorsSearch %]
700 <div class="subjectSearch" >
701 <span><b>Select the item(s) to search :</b></span>
702 <div id="subjectsList">
703 <input type="checkbox" id="all_subjects"
704 onchange="checkAll(this, '#subjectsList')" />
705 <label for="all_subjects">
709 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
710 [% subjectsloop = loop %]
711 [% IF MARCSUBJCT.authoritylink %]
712 <ul id="subjectsList[% loop.count %]"
713 data-authid="[% MARCSUBJCT.authoritylink %]">
715 <ul id="subjectsList[% loop.count %]">
717 [% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
719 <input type="checkbox" onclick="makeSubjectRequest()"
721 id="subject_[% subjectsloop.count %]_[% loop.count %]"
722 value="su,wrdl:[% SUBFIELD.value |url %]" />
723 <label for="subject_[% subjectsloop.count %]_[% loop.count %]">
733 onclick="hideMenu('.subjectSearch'); return false">Cancel</a>
735 <a id="validSubjectSearch">Search</a>
738 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
739 [% subjectsloop = loop %]
740 [% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
741 [% SUBFIELD.separator %]
742 <a title="$[% SUBFIELD.code %] [% SUBFIELD.value %]" href="/cgi-bin/koha/opac-search.pl?q=[% FOREACH link_loo IN SUBFIELD.link_loop %][% link_loo.operator |url %][% link_loo.limit |url %]:[% link_loo.link |url %][% END %]" onclick="showSubjects(this, [% subjectsloop.count %], [% loop.count %]); return false;">[% SUBFIELD.value %]</a>
744 [% IF (MARCSUBJCT.authoritylink) %]
745 <a class="authlink" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% MARCSUBJCT.authoritylink %]"><img style="vertical-align:middle" height="15" width="15" src="[% interface %]/[% theme %]/images/filefind.png" /></a>
747 [% UNLESS ( loop.last ) %] | [% END %]
751 [% IF ( subjects ) %]<span class="results_summary subject"><span class="label">Subject(s):</span> [% FOREACH subject IN subjects %]<a href="/cgi-bin/koha/opac-search.pl?q=su:[% subject.subject |url %]">[% subject.subject %]</a> | [% END %]</span>[% END %]
754 [% IF ( copyrightdate ) %]
755 <span class="results_summary year"><span class="label">Year: </span>[% copyrightdate %]</span>
757 [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl %]" alt="[% description %]" title="[% description %]" />
758 <span class="results_summary itemtype"><span class="label">Item type: </span>
759 [% IF ( description ) %]
766 [% IF ( MARCURLS ) %]
767 <div class="results_summary online_resources"><span class="label">Online resources:</span>
768 <ul> [% FOREACH MARCurl IN MARCURLS %]
769 <li>[% IF ( MARCurl.part ) %][% MARCurl.part %]
771 <!-- here you might do a tmpl_if name="toc" and use greybox or equivalent for table of contents -->
773 [% IF ( OPACurlOpenInNewWindow ) %]
774 [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
775 <a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL |url%]&biblionumber=[% biblionumber | url %]" title="[% MARCurl.MARCURL %]" target="_blank">
777 <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]" target="_blank">
780 [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
781 <a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL |url%]&biblionumber=[% biblionumber | url %]" title="[% MARCurl.MARCURL %]">
783 <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">
787 [% MARCurl.linktext %]</a>
788 [% IF ( MARCurl.notes ) %]<ul>[% FOREACH note IN MARCurl.notes %]<li>[% note.note %]</li>[% END %]</ul>[% END %]</li>
793 [% IF ( AuthorisedValueImages ) %]
794 [% IF ( authorised_value_images ) %]
795 <div class="authorised_value_images">
796 [% FOREACH authorised_value_image IN authorised_value_images %]
797 <img src="[% authorised_value_image.imageurl %]" alt="[% authorised_value_image.label %]" title="[% authorised_value_image.label %]" />
803 <!-- This puts the LTFL reviews in, and if TabbedView is not set, puts the remaining content above the Tabs instead of in them -->
804 [% IF ( LibraryThingForLibrariesID ) %]
805 [% UNLESS ( LibraryThingForLibrariesTabbedView ) %]
806 <div class="results_summary"><div id="ltfl_related" class="ltfl"></div></div>
807 <div class="results_summary"><div id="ltfl_similars" class="ltfl"></div></div>
808 <div class="results_summary"><div id="ltfl_tagbrowse" class="ltfl"></div></div>
810 <span class="results_summary">
811 <span class="label">Reviews from LibraryThing.com:</span>
812 <span style="display: block;" class="ltfl_reviews"></span>
816 <!--This grabs all of the lists a bib record appears in -->
817 [% IF ( GetShelves ) %]
818 <span class="results_summary lists"><span class="label">List(s) this item appears in: </span>
819 [% FOREACH GetShelve IN GetShelves %]
820 <a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% GetShelve.shelfnumber %]">[% GetShelve.shelfname %]</a>
821 [% IF ( loop.last ) %][% ELSE %]|[% END %]
826 [% IF ( TagsShowEnabled ) %]
827 <div class="results_summary tags">
829 <span class="label">Tags from this library:</span>
830 <ul id="tagslist">[% FOREACH TagLoo IN TagLoop %]
831 <li><a href="/cgi-bin/koha/opac-search.pl?tag=[% TagLoo.term |url %]&q=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a> <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]</li>
833 </ul>[% ELSE %]<span class="label">Tags from this library:</span><div>No tags from this library for this title.</div>
837 [% IF ( TagsInputEnabled ) %]
838 <div class="results_summary tagsinput">
839 [% IF ( loggedinusername ) %]
840 <a class="tag_add" id="tag_add[% biblionumber %]" href="#">Add</a>
841 <form id="tagform[% biblionumber %]" method="post" action="/cgi-bin/koha/opac-tags.pl" style="display:none;">
842 <label for="newtag[% biblionumber %]">New tag(s), separated by a comma:</label>
843 <input name="newtag[% biblionumber %]" id="newtag[% biblionumber %]" maxlength="100" type="text"/>
844 <input name="tagbutton" class="input tagbutton" title="[% biblionumber %]" type="submit" value="Add" />
845 <a class="cancel_tag_add" id="cancel[% biblionumber %]" href="#">(done)</a>
847 <span id="newtag[% biblionumber %]_status" class="tagstatus" style="display:none;">
851 <span id="login4tags">Log in to add tags.</span>
856 [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsSeries ) %][% IF ( SyndeticsSERIES1Exists ) %]
857 <span class="results_summary">
858 <span class="label">Series information:</span>
859 <a target="_blank" href="[% protocol %][% root_syndetics %].syndetics.com/ffseries.aspx?isbn=[% normalized_isbn %]&type=series&num=1&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]">Click to open in new window</a>
862 [% IF ( SyndeticsAVPROFILEExists ) %]
863 <span class="results_summary">
864 <span class="label">Audiovisual profile:</span>
865 <a target="_blank" href="[% protocol %][% root_syndetics %].syndetics.com/index.aspx?isbn=[% normalized_isbn %]/avprofile.html&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]&type=xw10">Click to open in new window</a>
868 [% IF ( SyndeticsFICTIONExists ) %]
869 <span class="results_summary">
870 <span class="label">Fiction notes:</span>
871 <a target="_blank" href="[% protocol %][% root_syndetics %].syndetics.com/index.aspx?isbn=[% normalized_isbn %]/fiction.html&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]&type=xw10">Click to open in new window</a>
874 [% IF ( SyndeticsAwards ) %][% IF ( SyndeticsAWARDS1Exists ) %]
875 <span class="results_summary">
876 <span class="label">Awards:</span>
877 <a target="_blank" href="[% protocol %][% root_syndetics %].syndetics.com/ffawards.aspx?isbn=[% normalized_isbn %]&type=awards&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]">Click to open in new window</a>
879 [% END %][% END %][% END %]
881 [% IF ( OpacStarRatings != 'disable' ) %]
882 <form method="post" action="/cgi-bin/koha/opac-ratings.pl">
883 <div class="results_summary ratings">
885 [% FOREACH i IN [ 1 2 3 4 5 ] %]
886 [% IF rating_avg == i && borrowernumber %]
887 <input class="auto-submit-star" type="radio" name="rating" value="[% i %]" checked="checked" />
888 [% ELSIF rating_avg == i %]
889 <input class="auto-submit-star" type="radio" name="rating" value="[% i %]" checked="checked" disabled="disabled" />
890 [% ELSIF borrowernumber %]
891 <input class="auto-submit-star" type="radio" name="rating" value="[% i %]" />
893 <input class="auto-submit-star" type="radio" name="rating" value="[% i %]" disabled="disabled" />
897 <!-- define some hidden vars for ratings -->
899 <input type="hidden" name='biblionumber' value="[% biblionumber %]" />
900 <input type="hidden" name='borrowernumber' value="[% borrowernumber %]" />
901 <input type="hidden" name='rating_value' id='rating_value' value="[% rating_value %]" />
902 <input type="hidden" name='rating_total' id='rating_total' value="[% rating_total %]" />
903 <input type="hidden" name='rating_avg_int' id='rating_avg_int' value="[% rating_avg_int %]" />
905 [% UNLESS ( rating_readonly ) %] <input name="rate_button" type="submit" value="Rate me" />[% END %]
907 [% IF ( rating_value ) %]
908 <span id="rating_value_text">your rating: [% rating_value %], </span>
910 <span id="rating_value_text"></span>
913 <span id="rating_text">average rating: [% rating_avg_int %] ([% rating_total %] votes)</span>
919 [% IF ( BakerTaylorContentURL ) %]
920 <span class="results_summary">
921 <span class="label">Enhanced content: </span>
922 [% IF ( OPACurlOpenInNewWindow ) %]<a href="[% BakerTaylorContentURL |html %]" target="_blank">Content Cafe</a>[% ELSE %]<a href="[% BakerTaylorContentURL |html %]">Content Cafe</a>[% END %]
925 [% IF ( NovelistSelectProfile ) %]
926 [% IF ( NovelistSelectView == 'above') %]
927 <span class="results_summary">
928 <span class="label">Novelist Select: </span>
929 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
934 [% IF ( Babeltheque ) %]
935 <input type="hidden" name="BW_id_isbn" id="BW_id_isbn" value="[% normalized_isbn %]"/>
937 <div id="BW_notes"></div>
938 <div id="BW_critiques"></div>
939 <div id="BW_critiques_pro"></div>
940 <div id="BW_citations"></div>
945 <div id="bibliodescriptions" class="toptabs">
948 [% IF ( defaulttab == 'holdings' ) %]<li id="tab_holdings" class="ui-tabs-active">[% ELSE %]<li id="tab_holdings">[% END %]
949 <a href="#holdings">[% IF SeparateHoldings %][% LoginBranchname %] holdings[% ELSE %]Holdings[% END %][% UNLESS too_many_items %] ( [% itemloop.size || 0 %] )[% END %]</a>
951 [% IF (SeparateHoldings) %]
952 <li><a href="#otherholdings">Other holdings ( [% otheritemloop.size || 0 %] )</a></li>
954 [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
955 <li id="tab_descriptions"> <a href="#descriptions">Title notes</a></li>
957 [% IF ( SYNDETICS_TOC ) %]
958 <li id="tab_toc"> <a href="#toc">TOC</a></li>
960 [% IF ( SyndeticsEnabled ) %]
961 [% IF ( SyndeticsExcerpt ) %][% IF ( SYNDETICS_EXCERPT ) %]
962 <li id="tab_excerpt"> <a href="#excerpt">Excerpt</a></li>
964 [% IF ( SyndeticsReviews ) %][% IF ( SYNDETICS_REVIEWS ) %]
965 <li id="tab_reviews"> <a href="#reviews">Reviews</a></li>
966 <li id="tab_LTFLreviews">
967 <script src="[% protocol %]www.librarything.com/forlibraries/widget.js?id=[% LibraryThingForLibrariesID %]" type="text/javascript"></script>
968 <noscript>This page contains enriched content visible when JavaScript is enabled or by clicking <a href="[% protocol %]www.librarything.com/forlibraries/noscript.php?id=[% LibraryThingForLibrariesID %]&accessibility=1">here</a>.</noscript>
971 [% IF ( SyndeticsAuthorNotes ) %][% IF ( SYNDETICS_ANOTES ) %]
972 <li id="tab_anotes"> <a href="#anotes">About the author</a></li>
975 [% IF ( LibraryThingForLibrariesID ) %]
976 [% IF ( LibraryThingForLibrariesTabbedView ) %]
977 <li id="tab_LFTLSimilarItems"> <a href="#LFTLSimilarItems">Similar items</a></li>
978 <li id="tab_LTFLTagBrowse"> <a href="#LTFLTagBrowse">Tag browser</a></li>
981 [% IF ( subscriptionsnumber ) %]
982 [% IF ( defaulttab == 'subscriptions' ) %]<li id="tab_subscriptions" class="ui-tabs-active">[% ELSE %]<li id="tab_subscriptions">[% END %]
983 <a href="#subscriptions">Subscriptions</a>
986 [% IF ( Koha.Preference( 'reviewson' ) == 1 ) %]
987 <li id="tab_comments"><a href="#comments">Comments ( [% reviews.size || 0 %] )</a></li>
990 [% IF ( NovelistSelectProfile ) %]
991 [% IF ( NovelistSelectView == 'tab') %]
992 <li id="tab_NovelistSelect"> <a href="#NovelistSelect">Novelist Select</a></li>
996 [% IF ( OPACFRBRizeEditions ) %][% IF ( XISBNS ) %]
997 <li id="tab_editions"><a href="#editions">Editions</a></li>
1000 [% IF ( serialcollection ) %]
1001 [% IF ( defaulttab == 'serialcollection' ) %]<li id="tab_serialcollection" class="ui-tabs-active">[% ELSE %]<li id="tab_serialcollection">[% END %]
1002 <a href="#serialcollection">Serial collection</a>
1006 [% IF ( OPACLocalCoverImages && localimages.size ) %]
1007 <li id="tab_images"><a href="#images">Images</a></li>
1010 [% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]
1011 <li id="tab_html5media"><a href="#html5media">Play media</a></li>
1014 [% IF ( IDreamBooksReviews ) %]
1015 <li id='tab_idb_critic_reviews' style="display:none;"><a href='#idb_critic_reviews'>Book reviews by critics ( XXX )</a></li>
1019 [% IF ( serialcollection ) %]
1020 <div id="serialcollection">
1021 <table id="serialcollectiont">
1024 <th id="serial_library">Library</th>
1025 <th id="serial_collection">Serial collection</th>
1026 <th id="serial_itemcallnumber">Item callnumber</th>
1030 [% FOREACH serialcollection IN serialcollections %]
1032 <td>[% serialcollection.branch %]</td>
1033 <td>[% serialcollection.text %]</td>
1034 <td>[% serialcollection.itemcallnumber %]</td>
1044 [% IF too_many_items %]
1045 <p>This record has many physical items ([% items_count %]). <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]&viewallitems=1">Click here to view them all.</a></p>
1046 [% ELSIF ( itemloop.size ) %]
1047 [% INCLUDE items_table items=itemloop tab="holdings" %]
1048 [% IF holds_count.defined || priority %]
1049 <div id="bib_holds">
1050 [% IF holds_count.defined %]
1051 Total holds: [% holds_count %]
1054 [% IF holds_count.defined %]
1055 (priority [% priority %])
1057 Overall queue priority: [% priority %]
1063 [% IF ( ALTERNATEHOLDINGS ) %]
1064 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
1065 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div>
1068 <div id="noitems">No physical items for this record</div>
1072 [% PROCESS 'shelfbrowser.inc' %]
1073 [% INCLUDE shelfbrowser tab='holdings' %]
1077 [% IF (SeparateHoldings) %]
1078 <div id="otherholdings">
1079 [% IF otheritemloop.size %]
1080 [% INCLUDE items_table items=otheritemloop tab="otherholdings" %]
1084 [% INCLUDE shelfbrowser tab='otherholdings' %]
1088 [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
1090 <div id="descriptions">
1091 <div class="content_set">
1093 [% IF ( SyndeticsEnabled ) %]
1094 [% IF ( SyndeticsSummary ) %]
1095 [% IF ( SYNDETICS_SUMMARY ) %]
1096 <h4>Enhanced descriptions from Syndetics:</h4>
1097 <p>[% SYNDETICS_SUMMARY %]</p>
1102 [% IF ( MARCNOTES ) %]
1103 <div id="marcnotes">
1104 [% FOREACH MARCNOTE IN MARCNOTES %]
1105 <p>[% MARCNOTE.marcnote FILTER html_line_break %]</p>
1119 [% IF ( SyndeticsEnabled ) %]
1121 [% IF ( SyndeticsTOC ) %][% IF ( SYNDETICS_TOC ) %]
1123 <div class="content_set">
1124 <h3>Table of contents provided by Syndetics</h3>
1126 [% FOREACH SYNDETICS_TO IN SYNDETICS_TOC %]
1127 [% IF ( SYNDETICS_TO.p ) %]
1128 <li><b>[% SYNDETICS_TO.l %] [% SYNDETICS_TO.t %]</b>[% IF ( SYNDETICS_TO.p ) %] ([% SYNDETICS_TO.p %])[% END %]</li>
1136 [% IF ( SyndeticsExcerpt ) %][% IF ( SYNDETICS_EXCERPT ) %]
1138 <div class="content_set">
1139 <h3>Excerpt provided by Syndetics</h3>
1140 [% SYNDETICS_EXCERPT %]
1145 [% IF ( SyndeticsReviews ) %][% IF ( SYNDETICS_REVIEWS ) %]
1147 <div class="content_set">
1148 <h3>Reviews provided by Syndetics</h3>
1149 [% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %]
1150 [% IF ( SYNDETICS_REVIEW.title ) %]
1151 <h4>[% SYNDETICS_REVIEW.title %]</h4>
1152 [% FOREACH review IN SYNDETICS_REVIEW.reviews %]
1154 [% IF ( review.content ) %]
1155 [% review.content %]
1165 [% IF ( SyndeticsAuthorNotes ) %][% IF ( SYNDETICS_ANOTES ) %]
1167 <div class="content_set">
1168 <h3>Author notes provided by Syndetics</h3>
1169 [% FOREACH SYNDETICS_ANOTE IN SYNDETICS_ANOTES %]
1170 [% IF ( SYNDETICS_ANOTE.content ) %]
1171 [% SYNDETICS_ANOTE.content %]
1177 [% END %] <!-- /SyndeticsEnabled -->
1179 [% IF ( NovelistSelectProfile ) %] [% IF ( NovelistSelectView == 'tab') %]
1180 <div id="NovelistSelect">
1181 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
1185 [% IF ( subscriptionsnumber ) %]
1186 <div id="subscriptions">
1187 <h2>This is a serial</h2>
1188 <p>There are [% subscriptionsnumber %] subscription(s) associated with this title.</p>
1189 [% FOREACH subscription IN subscriptions %]
1190 [% IF ( subscription.branchname ) %]<h3>At library: [% subscription.branchname %]</h3>[% ELSE %]
1191 [% IF ( subscription.branchcode ) %]<h3>At library: [% subscription.branchcode %]</h3>[% END %][% END %]
1192 [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
1193 <span style="display:none;"> [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %]</p>[% END %]</span>
1194 [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %]
1195 <p>Subscription from: [% subscription.histstartdate | $KohaDates %] to:[% IF ( subscription.histenddate ) %] [% subscription.histenddate | $KohaDates %] [% ELSE %] now (current)[% END %]</p>
1196 [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist %] </p>[% END %]
1197 [% IF ( subscription.opacnote ) %]<p>[% subscription.opacnote FILTER html_line_break %]</p>[% END %]
1198 [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %]</p>[% END %]
1199 [% IF ( subscription.latestserials ) %]
1200 <p> The [% subscription.opacdisplaycount %] latest issues for this subscription:</p>
1208 [% FOREACH latestserial IN subscription.latestserials %]
1210 <td> [% latestserial.serialseq %]
1212 <td> [% latestserial.planneddate %]
1215 [% IF ( latestserial.status1 ) %]Expected[% END %]
1216 [% IF ( latestserial.status2 ) %]Arrived[% END %]
1217 [% IF ( latestserial.status3 ) %]Late[% END %]
1218 [% IF ( latestserial.status4 ) %]Missing[% END %]
1219 [% IF ( latestserial.status41 ) %]Missing (never received)[% END %]
1220 [% IF ( latestserial.status42 ) %]Missing (sold out)[% END %]
1221 [% IF ( latestserial.status43 ) %]Missing (damaged)[% END %]
1222 [% IF ( latestserial.status44 ) %]Missing (lost)[% END %]
1223 [% IF ( latestserial.status5 ) %]Not issued[% END %]
1224 [% IF ( latestserial.status6 ) %]Delete[% END %]
1225 [% IF ( latestserial.status7 ) %]Claimed[% END %]
1226 [% IF ( latestserial.status8 ) %]Stopped[% END %]
1228 <td> [% latestserial.notes %]
1235 <p><a href="opac-serial-issues.pl?biblionumber=[% biblionumber %]">More details</a></p>
1239 [% IF ( LibraryThingForLibrariesID ) %]
1240 [% IF ( LibraryThingForLibrariesTabbedView ) %]
1241 <!-- Library Thing for Libraries Content -->
1242 <div id="LFTLSimilarItems">
1243 <div class="content_set">
1244 <!-- Uncommenting this span makes the font smaller in the tab for LTFL -->
1245 <!-- but breaks Xhtml validation -->
1246 <!-- <span class="results_summary">-->
1247 <div id="ltfl_related"></div>
1248 <div id="ltfl_similars"></div>
1252 <div id="LTFLTagBrowse">
1253 <div class="content_set">
1254 <!-- <span class="results_summary"> -->
1255 <div id="ltfl_tagbrowse" class="ltfl"></div>
1261 <!-- /Library Thing for Libraries Content -->
1264 [% IF ( Koha.Preference( 'reviewson' ) == 1 ) %]
1266 <div id="newcomment"></div>
1267 [% IF ( reviews ) %]
1268 [% FOREACH review IN reviews %]
1269 [% IF ( review.your_comment ) %]
1270 <div class="commentline yours" id="c[% review.reviewid %]">
1271 [% IF ( review.avatarurl ) %]
1272 <img class="avatar" src="[% review.avatarurl %]" height="80" width="80" alt="" />
1277 <small>[% review.datereviewed | $KohaDates %]</small>
1279 [% FILTER html_break %]
1280 [% review.review |html %]
1282 <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber %]&reviewid=[% review.reviewid %]');">Edit</a>
1285 <div class="commentline">
1286 [% IF ( ShowReviewer != "none" ) %]
1287 [% IF ( review.avatarurl ) %]
1288 <img class="avatar" src="[% review.avatarurl %]" height="80" width="80" alt="" />
1290 [% SWITCH ShowReviewer %]
1292 <h5>Comment by [% review.title %] [% review.firstname %] [% review.surname %]</h5>
1294 <h5>Comment by [% review.firstname %]</h5>
1295 [% CASE 'surname' %]
1296 <h5>Comment by [% review.surname %]</h5>
1297 [% CASE 'firstandinitial' %]
1298 <h5>Comment by [% review.firstname %] [% review.surname|truncate(2,'.') %]</h5>
1299 [% CASE 'username' %]
1300 <h5>Comment by [% review.userid %]</h5>
1302 <small>[% review.datereviewed | $KohaDates %]</small>
1303 [% ELSIF ( ShowReviewer == "none") %]
1304 <h5>Patron comment on [% review.datereviewed | $KohaDates %]</h5>
1307 [% FILTER html_break %]
1308 [% review.review |html %]
1314 <p>There are no comments for this item.</p>
1316 [% IF ( loggedinusername ) %]
1317 [% UNLESS ( loggedincommenter ) %]
1318 <div id="addcomment"> <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% biblionumber %]'); return false;">
1319 Post or edit your comments on this item.
1323 <div id="addcomment"><a href="/cgi-bin/koha/opac-user.pl">Log in to your account</a> to post a comment.</div>
1328 [% IF ( OPACFRBRizeEditions ) %][% IF ( XISBNS ) %]
1331 <h4>Other editions of this work</h4>
1333 [% FOREACH XISBN IN XISBNS %]
1336 [% IF ( OPACAmazonCoverImages ) %]<img src="http://images.amazon.com/images/P/[% XISBN.normalized_isbn %].01._AA75_PU_PU-5_.jpg" alt="" />[% END %]
1338 [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( XISBN.content_identifier_exists ) %]
1339 <img border="0" src="[% protocol %][% root_syndetics %].syndetics.com/index.aspx?isbn=[% XISBN.browser_normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %][% IF ( XISBN.browser_normalized_upc ) %]&upc=[% XISBN.browser_normalized_upc %][% END %][% IF ( XISBN.browser_normalized_oclc ) %]&oclc=[% XISBN.browser_normalized_oclc %][% END %]&type=xw10" alt="" />
1340 [% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %][% END %]
1343 [% UNLESS ( item_level_itypes ) %]<td>[% XISBN.description %]</td>[% END %]<td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a>[% IF ( XISBN.author ) %] by [% XISBN.author |html %][% END %][% IF ( XISBN.copyrightdate ) %] ©[% XISBN.copyrightdate %][% END %][% IF ( XISBN.publishercode ) %]
1344 <p>[% XISBN.publishercode |html %]
1345 [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %] [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear %][% END %]
1346 [% IF ( XISBN.pages ) %][% XISBN.pages %] [% XISBN.illus %] [% XISBN.size %]</p>[% END %]
1351 </div>[% END %][% END %]
1353 [% IF ( HTML5MediaEnabled ) %]
1354 <div id="html5media">
1356 <[% HTML5MediaParent %] controls preload=none>
1357 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
1358 <[% HTML5MediaSet.child %] src="[% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] />
1360 [[% HTML5MediaParent %] tag not supported by your browser.]
1361 </[% HTML5MediaParent %]>
1366 [% IF ( OPACLocalCoverImages && localimages.size ) %]
1368 <p>Click on an image to view it in the image viewer</p>
1369 [% FOREACH image IN localimages %]
1371 <a class="localimage" href="/cgi-bin/koha/opac-imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]"><img alt="" src="/cgi-bin/koha/opac-image.pl?thumbnail=1&imagenumber=[% image %]" /></a>
1377 [% IF ( IDreamBooksReviews ) %]
1378 <div id="idb_critic_reviews">
1379 <div id="idb_review_snippets">
1381 <span><a id="seemoreidb">More book reviews at iDreamBooks.com</a></span>
1387 [% IF ( NovelistSelectProfile ) %][% IF ( NovelistSelectView == 'below' ) %]
1388 <div id="NovelistSelect">
1389 <h3>Novelist Select</h3>
1390 <div data-novelist-novelistselect="[% normalized_isbn %]"></div>
1395 [% IF ( Babeltheque ) %]
1397 <div id="BW_etiquettes"></div>
1398 <div id="BW_suggestions"></div>
1400 <div class="clearfix"></div>
1402 <div id="BW_podcasts"></div>
1404 <div class="clearfix"></div>
1406 <div id="BW_videos"></div>
1415 <div id="ulactioncontainer" class="container">
1417 [% IF ( OpacBrowseResults && busc ) %]
1418 <div class="nav_results">
1419 <div class="l_Results">[% IF ( listResults ) %]<a href="#" id="a_listResults" title="Show pagination list ([% indexPag %]-[% indexPagEnd %] / [% totalPag %])">Browse results</a>[% ELSE %]<span>Browse results</span>[% END %]</div>
1420 <ul class="pg_menu clearfix">
1421 <li class="left_results">
1422 [% IF ( previousBiblionumber ) %]
1423 <a href="opac-detail.pl?biblionumber=[% previousBiblionumber %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="See: [% IF ( previousTitle ) %][% previousTitle |html %][% ELSE %]previous biblio[% END %]">« Previous</a>
1425 <span>Previous</span>
1428 <li class="back_results"><a href="opac-search.pl?[% busc %]" title="Back to the results search list">Back to results</a></li>
1429 <li class="right_results">
1430 [% IF ( nextBiblionumber ) %]
1431 <a href="opac-detail.pl?biblionumber=[% nextBiblionumber %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="See: [% IF ( nextTitle ) %][% nextTitle |html %][% ELSE %]next biblio[% END %]">Next »</a>
1437 [% IF ( listResults ) %]
1438 <div class="pagination">
1440 <span class="close_pagination"><a href="#" id="close_pagination">Close</a></span>
1441 <ul id="listResults"></ul>
1443 <div class="pagination_list">
1444 <ul id="ul_pagination_list"></ul>
1451 [% INCLUDE 'opac-detail-sidebar.inc' %]
1452 [% IF ( NovelistSelectProfile ) %] [% IF ( NovelistSelectView == 'right') %]
1453 <div id="NovelistSelect">
1454 <h4>Novelist Select</h4>
1455 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
1459 [% IF ( Babeltheque ) %]
1460 <div class="babeltheque_adds">
1461 <div id="BW_critiques_aj"></div>
1462 <div id="BW_citations_aj"></div>
1466 [% IF ( SocialNetworks ) %]
1467 <div id="social_networks">
1469 <div><a id="facebook" href="http://www.facebook.com/sharer.php?u=[% protocol %][% current_url |url %]&t=[% title |url %]" title="Share on Facebook">Facebook</a></div>
1470 <div><a id="linkedin" href="http://www.linkedin.com/shareArticle?mini=true&url=[% protocol %][% current_url |url %]&title=[% title |url %]" title="Share on LinkedIn">LinkedIn</a></div>
1471 <div><a id="delicious" href="http://www.delicious.com/save?url=[% protocol %][% current_url |url %]&title=[% title |url %]" title="Share on Delicious">Delicious</a></div>
1472 <div><a id="email" href="mailto:?subject=[% title |url %]&body=[% title |url %] ([% protocol %][% current_url |url %])" title="Share by email">Email</a></div>
1473 <div><g:plusone size="small" annotation="none"></g:plusone></div>
1474 <div><a id="twitter" href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-text="[% title %]" data-lang="[% lang %]">Tweet</a></div>
1486 [% IF ( LibraryThingForLibrariesID ) %]
1487 <script src="[% protocol %]ltfl.librarything.com/forlibraries/widget.js?systype=koha&id=[% LibraryThingForLibrariesID %]" type="text/javascript"></script>
1488 <noscript>This page contains enriched content visible when JavaScript is enabled or by clicking
1489 <a href="[% protocol %]www.librarything.com/forlibraries/noscript.php?id=[% LibraryThingForLibrariesID %]&accessibility=1">here</a>.</noscript>
1491 [% IF ( NovelistSelectProfile ) %]
1492 <script type="text/javascript" src="http://imageserver.ebscohost.com/novelistselect/ns2init.js"></script>
1495 [% IF ( Babeltheque ) %]
1496 <script type="text/javascript" src="[% Babeltheque_url_js %]"></script>
1499 [% INCLUDE 'opac-bottom.inc' %]
1501 [%# End of template %]
1503 [% BLOCK items_table %]
1504 <table class="holdingst">
1506 [% IF ( item_level_itypes ) %]<th id="item_itemtype" class="itype">Item type</th>[% END %]
1507 <th id="item_location" class="location">Location</th>
1508 [% IF ( itemdata_ccode ) %]<th id="item_ccode" class="collection">Collection</th>[% END %]
1509 <th id="item_callnumber" class="call_no">Call number</th>
1510 [% IF ( itemdata_enumchron ) %]<th id="item_enumchron" class="vol_info">Vol info</th>[% END %]
1511 [% IF ( itemdata_uri ) %]<th id="item_url" class="url">url</th>[% END %]
1512 [% IF ( itemdata_copynumber ) %]<th id="item_copy" class="copynumber">Copy number</th>[% END %]
1513 <th id="item_status" class="status">Status</th>
1514 [% IF ( itemdata_itemnotes ) %]<th id="item_notes" class="notes">Notes</th>[% END %]
1515 <th id="item_datedue" class="date_due">Date due</th>
1516 [% IF ( OPACShowBarcode ) %]<th id="item_barcode" class="barcode">Barcode</th>[% END %]
1517 [% IF holds_count.defined %]
1519 [% ELSIF show_priority %]
1520 <th>Item hold queue priority</th>
1522 [% IF ( ShowCourseReservesHeader ) %]<th id="item_coursereserves">Course reserves</th>[% END %]
1524 <tbody>[% FOREACH ITEM_RESULT IN items %]
1525 [% IF ITEM_RESULT.this_branch %]
1526 <tr class="highlight-row-detail" vocab="http://schema.org/" typeof="Offer">
1528 <tr vocab="http://schema.org/" typeof="Offer">
1530 [% IF ( item_level_itypes ) %]<td class="itype">[% UNLESS ( noItemTypeImages ) %][% IF ( ITEM_RESULT.imageurl ) %]<img src="[% ITEM_RESULT.imageurl %]" title="[% ITEM_RESULT.description %]" alt="[% ITEM_RESULT.description %]" />[% END %][% END %] [% ITEM_RESULT.description %]</td>[% END %]
1531 <td class="location" property="seller">
1532 <link property="itemOffered" href="#record" />
1533 <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
1534 [% UNLESS ( singleBranchMode ) %]
1535 <div class="[% ITEM_RESULT.branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]">
1536 [% IF ( ITEM_RESULT.branchurl ) %]
1537 <a href="[% ITEM_RESULT.branchurl %]" title="">[% ITEM_RESULT.branchname %]</a>
1539 <span title="">[% ITEM_RESULT.branchname %]</span>
1541 <div class="branch-info-tooltip">[% ITEM_RESULT.branch_opac_info %]</div>
1544 <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span>
1546 [% IF ( itemdata_ccode ) %]<td class="collection">[% ITEM_RESULT.ccode %]</td>[% END %]
1547 <td class="call_no" property="sku">
1548 [% IF ( ITEM_RESULT.itemcallnumber ) %]
1549 [% ITEM_RESULT.itemcallnumber %]
1550 [% IF ( OPACShelfBrowser ) %]
1551 [% IF ( ITEM_RESULT.itemnumber == starting_itemnumber ) %]
1552 (<a class="close_shelf" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber %]#[% tab %]">Browse shelf</a>)
1554 (<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber %]#[% tab %]">Browse shelf</a>)
1559 [% IF ( itemdata_enumchron ) %]<td class="vol_info">[% ITEM_RESULT.enumchron %]</td>[% END %]
1560 [% IF ( itemdata_uri ) %]<td class="url">
1561 [% IF ITEM_RESULT.uri %]
1562 [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1563 <a href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | url %]&biblionumber=[% biblionumber |url %]&itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url"> Link to resource </a>
1565 <a href="[% ITEM_RESULT.uri %]" property="url">[% ITEM_RESULT.uri %]</a>
1570 [% IF ( itemdata_copynumber ) %]<td class="copynumber">[% ITEM_RESULT.copynumber %]</td>[% END %]
1571 <td class="status">[% INCLUDE 'item-status-schema-org.inc' item = ITEM_RESULT %][% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
1572 [% IF ( itemdata_itemnotes ) %]<td class="notes" property="description">[% ITEM_RESULT.itemnotes %]</td>[% END %]
1573 <td class="date_due"><span title="[% ITEM_RESULT.datedue %]">[% ITEM_RESULT.datedue | $KohaDates as_due_date => 1 %]</span></td>
1574 [% IF ( OPACShowBarcode ) %]<td class="barcode" property="serialNumber">[% ITEM_RESULT.barcode %]</td>[% END %]
1575 [% IF holds_count.defined || show_priority %]
1576 <td class="holds_count">
1577 [% IF holds_count.defined %] [% ITEM_RESULT.holds_count %] [% END %]
1578 [% IF ITEM_RESULT.priority %]
1579 [% IF holds_count.defined %]
1580 (priority [% ITEM_RESULT.priority %])
1582 [% ITEM_RESULT.priority %]
1587 [% IF ShowCourseReservesHeader %]
1589 [% IF ITEM_RESULT.course_reserves %]
1590 [% FOREACH r IN ITEM_RESULT.course_reserves %]
1592 <a href="opac-course-details.pl?course_id=[% r.course.course_id %]">
1593 [% r.course.course_name %]
1594 <!--[% IF r.course.course_number %] [% r.course.course_number %] [% END %]-->
1595 [% IF r.course.section %] [% r.course.section %] [% END %]
1596 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term ) %] [% END %]
1606 [% END %][%# end of items_table block %]