5 [% USE ColumnsSettings %]
6 [% USE AuthorisedValues %]
7 [% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
8 [% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
9 [% IF Koha.Preference('AmazonAssocTag') %]
10 [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
12 [% AmazonAssocTag = '' %]
15 [% ShowCourseReservesHeader = 0 %]
16 [% IF Koha.Preference( 'UseCourseReserves' ) == 1 %]
17 [% FOREACH ITEM_RESULT IN itemloop %]
18 [% IF ITEM_RESULT.course_reserves %]
19 [% FOREACH r IN ITEM_RESULT.course_reserves %]
20 [% IF r.course.enabled == 'yes' %]
21 [% ShowCourseReservesHeader = 1 %]
28 [% IF ( using_https ) %]
29 [% SET protocol = "https://" %]
31 [% SET protocol = "http://" %]
33 [% INCLUDE 'doc-head-open.inc' %]
34 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Details for: [% title |html %][% FOREACH subtitl IN subtitle %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] [% subtitl.subfield |html %][% END %]</title>
35 [% INCLUDE 'doc-head-close.inc' %]
37 [% BLOCK cssinclude %]<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left_[% KOHA_VERSION %].css" />[% END %]
39 [% IF ( OpacStarRatings != 'disable' ) %]
40 [% BLOCK cssinclude %]<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/jquery.rating_[% KOHA_VERSION %].css" />[% END %]
42 [% INCLUDE greybox.inc %]
43 <link href="[% interface %]/lib/emoji-picker/css/emoji_[% KOHA_VERSION %].css" rel="stylesheet">
45 [% INCLUDE 'bodytag.inc' bodyid='opac-detail' bodyclass='scrollto' %]
46 [% INCLUDE 'masthead.inc' %]
49 <ul class="breadcrumb">
50 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
51 <li><a href="#"><span>Details for: </span>[% title |html %][% FOREACH subtitl IN subtitle %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] [% subtitl.subfield |html %][% END %]</a></li>
54 <div class="container-fluid">
55 <div class="row-fluid">
57 <div id="catalogue_detail_biblio" class="maincontent">
60 [% IF ( OPACLocalCoverImages ) %]
61 <div title="[% biblio.biblionumber %]" class="[% biblio.biblionumber %]" id="local-thumbnail-preview"></div>
63 [% IF ( OPACAmazonCoverImages ) %]
64 [% IF ( OPACURLOpenInNewWindow ) %]
65 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %][% AmazonAssocTag %]#reader-link" target="_blank" rel="noreferrer">
67 <a href="http://www.amazon[% AmazonTld %]/dp/[% normalized_isbn %][% AmazonAssocTag %]">
69 <img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="Cover image" /></a>
72 [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
73 [% IF ( content_identifier_exists ) %]
74 [% IF ( using_https ) %]
75 <img src="https://secure.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/[% SyndeticsCoverImageSize %].GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% normalized_upc %]&oclc=[% normalized_oclc %]" alt="" class="thumbnail" />
77 <img src="http://www.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/[% SyndeticsCoverImageSize %].GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% normalized_upc %]&oclc=[% normalized_oclc %]" alt="" class="thumbnail" />
81 <span class="no-image">No cover image available</span>
85 [% IF ( GoogleJackets ) %]
86 <div title="[% biblio.biblionumber %]" class="[% normalized_isbn %]" id="gbs-thumbnail-preview"></div>
88 [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
89 [% coce_id = normalized_ean || normalized_isbn %]
90 <div style="block" title="[% biblio.biblionumber %]" class="[% coce_id %]" id="coce-thumbnail-preview"></div>
92 [% IF OpenLibraryCovers %]
93 <div title="[% biblio.biblionumber %]" class="[% normalized_isbn %]" id="openlibrary-thumbnail-preview"></div>
95 [% bt_id = ( normalized_upc || normalized_isbn ) %]
96 [% IF ( BakerTaylorEnabled && bt_id ) %]
97 [% IF BakerTaylorBookstoreURL %]
98 [% IF ( OPACURLOpenInNewWindow ) %]
99 <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]" target="_blank" rel="noreferrer"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
101 <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
104 <img alt="See Baker & Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" />
107 </div><!-- / #bookcover -->
109 <abbr class="unapi-id" title="koha:biblionumber:[% biblio.biblionumber %]"><!-- unAPI --></abbr>
110 [% IF ( ocoins ) # COinS / Openurl %]
111 <span class="Z3988" title="[% ocoins %]"></span>
115 <span class="view current-view"><span id="Normalview">Normal view</span></span>
116 <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblio.biblionumber %]">MARC view</a></span>
117 [% IF ( ISBD ) %]<span class="view"><a id="ISBDview" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblio.biblionumber %]">ISBD view</a></span>[% END %]
119 [% IF ( OPACXSLTDetailsDisplay ) %]
122 <h1 class="title">[% title |html %][% IF ( subtitle ) %] <span class="subtitle">[% FOREACH subtitl IN subtitle %][% subtitl.subfield |html %] [% END %]</span>[% END %]</h1>
123 [% IF ( author ) %]<h5 class="author">by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author |html %]</a></h5>[% END %]
125 <span class="results_summary">[% UNLESS ( item_level_itypes ) %]
127 [% IF ( description ) %]
133 [% IF ( unititle ) %], [% unititle %][% END %]
136 [% IF ( MARCAUTHORS ) %]
137 <div class="results_summary">
138 <span class="label">Additional authors:</span>
139 [% IF OPACPopupAuthorsSearch %]
140 <!-- Author search term selection modal -->
141 <div id="authorSearch" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="authorSearchLabel" aria-hidden="true">
142 <div class="modal-header">
143 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
144 <h3 id="authorSearchLabel">Select the item(s) to search</h3>
146 <div class="modal-body">
147 <input type="checkbox" onchange="checkAll(this, '#authorsList')" /> <b>All</b>
148 <ul id="authorsList">
149 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
151 [% IF (MARCAUTHOR.authoritylink) %]
152 <input type="checkbox" name="checkbox"
153 id="author_[% loop.count %]"
154 onclick="makeAuthorRequest()"
155 value="an:[% MARCAUTHOR.authoritylink %]" />
157 <input type="checkbox" name="checkbox"
158 id="author_[% loop.count %]"
159 onclick="makeAuthorRequest()"
160 value="au,wrdl:[% FOREACH SUBFIELD IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% SUBFIELD.value |url %][% UNLESS (loop.last) %]+[% END %][% END %]" />
162 <label for="author_[% loop.count %]">
163 [% FOREACH SUBFIELD IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
168 [% END # /FOREACH MARCAUTHORS %]
171 <div class="modal-footer">
172 <a id="validAuthorSearch" href="#" class="btn btn-primary">Search</a>
173 <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
176 [% END # /OPACPopupAuthorsSearch %]
178 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
179 [% authorsloop = loop %]
180 [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
181 [% MARCAUTHOR_SUBFIELDS_LOO.separator %]
182 [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %]
183 <a role="button" data-toggle="modal" title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value %]"
184 class="showauthors" data-count="[% authorsloop.count %]"
185 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 %]#authorSearch">[% MARCAUTHOR_SUBFIELDS_LOO.value %]</a>
187 <a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value %]"
188 class="showauthors" 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>
191 [% IF (MARCAUTHOR.authoritylink) %]
192 <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>
194 [% IF IDREF and MARCAUTHOR.unimarc3 %]
195 <a href="/cgi-bin/koha/opac-idref.pl?unimarc3=[% MARCAUTHOR.unimarc3 %]" title="IdRef" rel="gb_page_center[600,500]">IdRef</a>
197 [% UNLESS ( loop.last ) %]|[% END %]
198 [% END # /FOREACH MARCAUTHORS %]
200 [% END # IF MARCAUTHORS %]
202 [% IF ( MARCSERIES ) %]
203 <span class="results_summary series"><span class="label">Series:</span>
204 [% FOREACH MARCSERIE IN MARCSERIES %]
205 [% FOREACH MARCSERIES_SUBFIELDS_LOO IN MARCSERIE.MARCSERIES_SUBFIELDS_LOOP %]
206 [% IF ( MARCSERIES_SUBFIELDS_LOO.value ) %]
207 <a href="/cgi-bin/koha/opac-search.pl?q=se:[% MARCSERIES_SUBFIELDS_LOO.value |url %]">[% MARCSERIES_SUBFIELDS_LOO.value %]</a>
209 [% IF ( MARCSERIES_SUBFIELDS_LOO.volumenum ) %]
210 . [% MARCSERIES_SUBFIELDS_LOO.volumenum %]
213 [% UNLESS ( loop.last ) %]|[% END %]
214 [% END # / FOREACH MARCSERIES %]
216 [% END # /MARCSERIES %]
218 [% IF ( editionstatement ) %]
219 <span class="results_summary edition"><span class="label">Edition statement:</span>[% editionstatement %][% IF ( editionresponsibility ) %]/[% editionresponsibility %][% END %]</span>
221 [% IF ( publishercode ) %]
222 <span class="results_summary publisher"><span class="label">Published by :</span>
223 <a href="/cgi-bin/koha/opac-search.pl?q=pb:[% publishercode |url %] ">
224 [% publishercode |html %]
225 </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %]
230 <span class="results_summary physical"><span class="label">Physical details:</span> [% pages %] [% illus %] [% size %]</span>
233 [% IF ( MARCISBNS ) %]
234 <span class="results_summary isbn"><span class="label">ISBN:</span>[% FOREACH MARCISBN IN MARCISBNS %][% MARCISBN %][% IF ( loop.last ) %].[% ELSE %]; [% END %][% END %]</span>
236 [% IF ( normalized_isbn ) %]
237 <span class="results_summary isbn"><span class="label">ISBN: </span>[% normalized_isbn %]</span>
242 <span class="results_summary issn"><span class="label">ISSN:</span>[% issn %]</span>
245 [% IF ( collectiontitle ) %]
246 <span class="results_summary collection"><span class="label">Collection: </span>
247 [% collectiontitle %]
248 [% IF ( collectionissn ) %] [% ', ISSN ' _ collectionissn %][% END %]
249 [% IF ( collectionvolume ) %] [% ' ; ' _ collectionvolume %] [% END %]
254 [% IF ( unititles ) %]
255 <span class="results_summary unititle"><span class="label">Uniform titles:</span>
256 [% FOREACH unititle IN unititles %]
257 [% unititle.unititle %] ;
262 [% IF ( MARCSUBJCTS ) %]
263 <div class="results_summary subject">
264 <span class="label">Subject(s):</span>
266 [% IF OPACPopupAuthorsSearch %]
267 <!-- Search term selection modal -->
268 <div id="subjectSearch" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="subjectSearchLabel" aria-hidden="true">
269 <div class="modal-header">
270 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
271 <h3 id="subjectSearchLabel">Select the term(s) to search</h3>
273 <div id="subjectsList" class="modal-body">
274 <input type="checkbox" id="all_subjects" onchange="checkAll(this, '#subjectsList')" />
275 <label for="all_subjects">
278 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
279 [% subjectsloop = loop %]
280 [% IF MARCSUBJCT.authoritylink %]
281 <ul id="subjectsList[% loop.count %]" data-authid="[% MARCSUBJCT.authoritylink %]">
283 <ul id="subjectsList[% loop.count %]">
285 [% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
287 <input type="checkbox" onclick="makeSubjectRequest()" name="checkbox" id="subject_[% subjectsloop.count %]_[% loop.count %]" value="su,wrdl:[% SUBFIELD.value |url %]" />
288 <label for="subject_[% subjectsloop.count %]_[% loop.count %]">
296 <div class="modal-footer">
297 <a href="#" id="validSubjectSearch" class="btn btn-primary">Search</a>
298 <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
301 [% END # /OPACPopupAuthorsSearch%]
303 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
304 [% subjectsloop = loop %]
305 [% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
306 [% SUBFIELD.separator %]
307 [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %]
308 <a role="button" data-toggle="modal" 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 %]#subjectSearch" onclick="showSubjects(this, [% subjectsloop.count %], [% loop.count %]); return false;">[% SUBFIELD.value %]</a>
310 <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 %]">[% SUBFIELD.value %]</a>
313 [% IF (MARCSUBJCT.authoritylink) %]
314 <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>
316 [% UNLESS ( loop.last ) %] | [% END %]
317 [% END # / FOREACH MARCSUBJCTS %]
319 [% ELSE # /IF MARCSUBJCTS %]
320 [% IF ( subjects ) %]<span class="results_summary"><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 %]
323 [% IF ( copyrightdate ) %]
324 <span class="results_summary year"><span class="label">Year: </span>[% copyrightdate %]</span>
327 [% UNLESS ( item_level_itypes ) %]
329 <img src="[% imageurl %]" alt="" />
331 <span class="results_summary itemtype"><span class="label">Item type: </span>
332 [% IF ( description ) %]
340 [% IF ( MARCURLS ) %]
341 <div class="results_summary online_resources"><span class="label">Online resources:</span>
343 [% FOREACH MARCurl IN MARCURLS %]
344 <li>[% IF ( MARCurl.part ) %][% MARCurl.part %]<br />[% END %]
346 [% IF ( OPACURLOpenInNewWindow ) %]
347 [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
348 <a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL |url%]&biblionumber=[% biblio.biblionumber %]" title="[% MARCurl.MARCURL %]" target="_blank" rel="noreferrer">
350 <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]" target="_blank" rel="noreferrer">
353 [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
354 <a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL |url%]&biblionumber=[% biblio.biblionumber %]" title="[% MARCurl.MARCURL %]">
356 <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">
359 [% MARCurl.linktext %]</a>
360 [% IF ( MARCurl.notes ) %]
362 [% FOREACH note IN MARCurl.notes %]
363 <li>[% note.note %]</li>
368 [% END # /FOREACH MARCURLS %]
371 [% END # / IF MARCURLS %]
372 [% END # / IF OPACXSLTDetailsDisplay %]
374 <!-- This puts the LTFL reviews in, and if TabbedView is not set, puts the remaining content above the Tabs instead of in them -->
375 [% IF ( LibraryThingForLibrariesID ) %]
376 [% UNLESS ( LibraryThingForLibrariesTabbedView ) %]
377 <div class="results_summary"><div id="ltfl_related" class="ltfl"></div></div>
378 <div class="results_summary"><div id="ltfl_similars" class="ltfl"></div></div>
379 <div class="results_summary"><div id="ltfl_tagbrowse" class="ltfl"></div></div>
381 <span class="results_summary">
382 <span class="label">Reviews from LibraryThing.com:</span>
383 <span style="display: block;" class="ltfl_reviews"></span>
385 [% END # / LibraryThingForLibrariesID %]
387 <!--This grabs all of the lists a bib record appears in -->
388 [% IF shelves.count %]
389 <span class="results_summary lists"><span class="label">List(s) this item appears in: </span>
390 [% FOREACH s IN shelves %]
391 <a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a>
392 [% IF ( loop.last ) %][% ELSE %]|[% END %]
397 [% IF ( TagsShowEnabled ) %]
398 <div class="results_summary tags">
400 <span class="label">Tags from this library:</span>
402 [% FOREACH TagLoo IN TagLoop %]
403 <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>
404 [% IF ( loop.last ) %][% ELSE %], [% END %]
409 <span class="label">Tags from this library:</span> <span class="notags">No tags from this library for this title.</span>
411 [% IF ( TagsInputEnabled ) %]
412 [% IF ( loggedinusername ) %]
413 <form id="tagform[% biblio.biblionumber %]" method="post" action="/cgi-bin/koha/opac-tags.pl" style="display:none;">
414 <label for="newtag[% biblio.biblionumber %]">New tag(s), separated by a comma:</label>
415 <p class="emoji-picker-container">
417 name="newtag[% biblio.biblionumber %]"
418 id="newtag[% biblio.biblionumber %]"
421 data-emojiable="true"
422 data-emoji-input="unicode">
424 <input name="tagbutton" class="btn btn-small tagbutton" title="[% biblio.biblionumber %]" type="submit" value="Add" />
425 <a class="cancel_tag_add" id="cancel[% biblio.biblionumber %]" href="#">(done)</a>
428 <span id="newtag[% biblio.biblionumber %]_status" class="tagstatus" style="display:none;">
431 <a class="tag_add" id="tag_add[% biblio.biblionumber %]" href="#">Add tag(s)</a>
433 <span id="login4tags">
434 [% IF Koha.Preference('casAuthentication') %]
435 [%# CAS authentication is too complicated for modal window %]
436 <a href="/cgi-bin/koha/opac-user.pl">Log in to add tags.</a>
438 <a class="loginModal-trigger" data-toggle="modal" role="button" href="/cgi-bin/koha/opac-user.pl">Log in to add tags.</a>
442 [% END # / IF TagsInputEnabled %]
444 [% END # /IF TagsShowEnabled %]
446 [% IF ( SyndeticsEnabled ) %]
447 [% IF ( SyndeticsSeries && SyndeticsSERIES1Exists ) %]
448 <span class="results_summary">
449 <span class="label">Series information:</span>
450 [% IF ( using_https ) %]
451 <a target="_blank" rel="noreferrer" href="https://secure.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>
453 <a target="_blank" rel="noreferrer" href="http://www.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>
456 [% END # / IF SyndeticsSeries && SyndeticsSERIES1Exists%]
457 [% IF ( SyndeticsAVPROFILEExists ) %]
458 <span class="results_summary">
459 <span class="label">Audiovisual profile:</span>
460 [% IF ( using_https ) %]
461 <a target="_blank" rel="noreferrer" href="https://secure.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>
463 <a target="_blank" rel="noreferrer" href="http://www.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>
466 [% END # / IF SyndeticsAVPROFILEExists %]
468 [% IF ( SyndeticsFICTIONExists ) %]
469 <span class="results_summary">
470 <span class="label">Fiction notes:</span>
471 [% IF ( using_https ) %]
472 <a target="_blank" rel="noreferrer" href="https://secure.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>
474 <a target="_blank" rel="noreferrer" href="http://www.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>
477 [% END # / IF SyndeticsFICTIONExists %]
479 [% IF ( SyndeticsAwards && SyndeticsAWARDS1Exists ) %]
480 <span class="results_summary">
481 <span class="label">Awards:</span>
482 [% IF ( using_https ) %]
483 <a target="_blank" rel="noreferrer" href="https://secure.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>
485 <a target="_blank" rel="noreferrer" href="http://www.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>
488 [% END # / IF SyndeticsAwards && SyndeticsAWARDS1Exists %]
489 [% END # / IF SyndeticsEnabled%]
491 [% IF ( OpacStarRatings != 'disable' ) %]
492 <form method="post" action="/cgi-bin/koha/opac-ratings.pl">
493 <div class="results_summary ratings">
495 [% SET rating_avg = ratings.get_avg_rating() %]
496 [% rating_avg_int = BLOCK %][% rating_avg | format("%.0f") %][% END %]
497 [% FOREACH i IN [ 1 2 3 4 5 ] %]
498 [% IF rating_avg_int == i && borrowernumber %]
499 <input class="auto-submit-star" type="radio" name="rating" value="[% i %]" checked="checked" />
500 [% ELSIF rating_avg_int == i %]
501 <input class="auto-submit-star" type="radio" name="rating" value="[% i %]" checked="checked" disabled="disabled" />
502 [% ELSIF borrowernumber %]
503 <input class="auto-submit-star" type="radio" name="rating" value="[% i %]" />
505 <input class="auto-submit-star" type="radio" name="rating" value="[% i %]" disabled="disabled" />
509 <!-- define some hidden vars for ratings -->
511 <input type="hidden" name='biblionumber' value="[% biblio.biblionumber %]" />
512 <input type="hidden" name='rating_value' id='rating_value' value="[% my_rating.rating_value %]" />
514 [% UNLESS ( rating_readonly ) %] <input name="rate_button" type="submit" value="Rate me" />[% END %]
517 <span id="rating_value_text">your rating: [% my_rating.rating_value %], </span>
519 <span id="rating_value_text"></span>
522 <span id="rating_text">average rating: [% rating_avg %] ([% ratings.count %] votes)</span>
525 [% END # / IF OpacStarRatings != 'disable' %]
527 [% IF ( BakerTaylorContentURL ) %]
528 <span class="results_summary">
529 <span class="label">Enhanced content: </span>
530 [% IF ( OPACURLOpenInNewWindow ) %]<a href="[% BakerTaylorContentURL |html %]" target="_blank" rel="noreferrer">Content Cafe</a>[% ELSE %]<a href="[% BakerTaylorContentURL |html %]">Content Cafe</a>[% END %]
532 [% END # / IF BakerTaylorContentURL %]
534 [% IF ( NovelistSelectProfile && normalized_isbn ) %]
535 [% IF ( NovelistSelectView == 'above') %]
536 <span class="results_summary NovelistSelect" style="display:none;">
537 <span class="label">Novelist Select: </span>
538 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
541 [% END # / IF NovelistSelectProfile %]
543 [% IF ( Babeltheque ) %]
544 <input type="hidden" name="BW_id_isbn" id="BW_id_isbn" value="[% normalized_isbn %]"/>
545 <div id="BW_notes"></div>
546 <div id="BW_critiques"></div>
547 <div id="BW_critiques_pro"></div>
548 <div id="BW_citations"></div>
549 [% END # / IF Babeltheque%]
551 </div> <!-- / #catalogue_detail_biblio -->
553 <div id="bibliodescriptions" class="toptabs">
555 [% IF ( defaulttab == 'holdings' ) %]
556 <li id="tab_holdings" class="ui-tabs-active">
558 <li id="tab_holdings">
560 [% BLOCK holding_tab_title %][% IF SeparateHoldings %]<span>[% LoginBranchname %] holdings</span>[% ELSE %]<span>Holdings</span>[% END %][% END %]
561 <a href="#holdings">[% PROCESS holding_tab_title %] [% UNLESS too_many_items %][% ' ( ' _ (itemloop.size || 0) _ ' )' %][% END %]</a>
563 [% IF (SeparateHoldings) %]
564 <li><a href="#otherholdings">Other holdings [% ' ( ' _ (otheritemloop.size || 0) _ ' )' %]</a></li>
566 [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
567 <li id="tab_descriptions"> <a href="#descriptions">Title notes</a></li>
569 [% IF ( SYNDETICS_TOC ) %]
570 <li id="tab_toc"> <a href="#toc">TOC</a></li>
572 [% IF ( SyndeticsEnabled ) %]
573 [% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %]
574 <li id="tab_excerpt"> <a href="#excerpt">Excerpt</a></li>
576 [% IF ( ( SyndeticsReviews && SYNDETICS_REVIEWS ) || ( LibraryThingForLibrariesTabbedView && LibraryThingForLibrariesID) ) %]
577 <li id="tab_reviews"> <a href="#reviews">Reviews</a></li>
578 [% IF ( LibraryThingForLibrariesID ) %]
579 <li id="tab_LTFLreviews">
580 <script src="https://www.librarything.com/forlibraries/widget.js?id=[% LibraryThingForLibrariesID %]" type="text/javascript"></script>
581 <noscript>This page contains enriched content visible when JavaScript is enabled or by clicking <a href="https://www.librarything.com/forlibraries/noscript.php?id=[% LibraryThingForLibrariesID %]&accessibility=1">here</a>.</noscript>
585 [% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %]
586 <li id="tab_anotes"> <a href="#anotes">About the author</a></li>
588 [% END # / IF SyndeticsEnabled %]
590 [% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %]
591 <li id="tab_LFTLSimilarItems"> <a href="#LFTLSimilarItems">Similar items</a></li>
592 <li id="tab_LTFLTagBrowse"> <a href="#LTFLTagBrowse">Tag browser</a></li>
595 [% IF ( subscriptionsnumber ) %]
596 [% IF ( defaulttab == 'subscriptions' ) %]<li id="tab_subscriptions" class="ui-tabs-active">[% ELSE %]<li id="tab_subscriptions">[% END %]
597 <a href="#subscriptions">Subscriptions ( [% subscriptionsnumber %] )</a>
601 [% IF Koha.Preference( 'reviewson' ) == 1 %]
602 <li id="tab_comments"><a href="#comments">Comments[% ' ( ' _ (reviews.size || 0) _ ' )' %]</a></li>
605 [% IF ( NovelistSelectProfile && normalized_isbn ) %]
606 [% IF ( NovelistSelectView == 'tab') %]
607 <li id="tab_NovelistSelect" class="NovelistSelect" style="display:none;"> <a href="#NovelistSelect">Novelist Select</a></li>
611 [% IF ( OPACFRBRizeEditions && XISBNS ) %]
612 <li id="tab_editions"><a href="#editions">Editions</a></li>
615 [% IF ( serialcollection ) %]
616 [% IF ( defaulttab == 'serialcollection' ) %]<li id="tab_serialcollection" class="ui-tabs-active">[% ELSE %]<li id="tab_serialcollection">[% END %]
617 <a href="#serialcollection">Serial collection</a>
621 [% IF ( OPACLocalCoverImages && localimages.size ) %]
622 <li id="tab_images"><a href="#images">Images</a></li>
625 [% IF ( HTML5MediaEnabled && HTML5MediaSets ) %]
626 [% IF ( defaulttab == 'media' ) %]<li id="tab_html5media" class="ui-tabs-active">[% ELSE %]<li id="tab_html5media">[% END %]<a href="#html5media">Play media</a></li>
629 [% IF ( IDreamBooksReviews ) %]
630 <li id='tab_idb_critic_reviews' style="display:none;"><a href='#idb_critic_reviews'>Book reviews by critics ( XXX )</a></li>
634 [% IF ( serialcollection ) %]
635 <div id="serialcollection">
636 <table id="serialcollectiont" class="table table-bordered table-striped">
639 <th id="serial_library">Library</th>
640 <th id="serial_collection">Serial collection</th>
641 <th id="serial_itemcallnumber">Item call number</th>
645 [% FOREACH serialcollection IN serialcollections %]
647 <td>[% serialcollection.branch %]</td>
648 <td>[% serialcollection.text %]</td>
649 <td>[% serialcollection.itemcallnumber %]</td>
655 [% END # / IF serialcollection %]
659 [% IF too_many_items %]
660 <p>This record has many physical items ([% items_count %]). <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber %]&viewallitems=1">Click here to view them all.</a></p>
661 [% ELSIF ( itemloop.size ) %]
662 [% INCLUDE items_table items=itemloop tab="holdings" table_id="holdingst" %]
663 [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %]
664 [% IF acquisition_details.total_quantity == 1 %]
665 <span>1 item is on order.</span>
667 <span>[% acquisition_details.total_quantity %] items are on order.</span>
670 [% IF holds_count.defined || priority %]
672 [% IF holds_count.defined %]
673 <span>Total holds: [% holds_count %]</span>
676 [% IF holds_count.defined %]
677 <span>(priority [% priority %])</span>
679 <span>Overall queue priority: [% priority %]</span>
685 [% IF ( ALTERNATEHOLDINGS ) %]
686 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
687 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div>
690 [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %]
691 [% IF acquisition_details.total_quantity == 1 %]
692 <span>1 item is on order.</span>
694 <span>[% acquisition_details.total_quantity %] items are on order.</span>
697 <div id="noitems">No physical items for this record</div>
700 [% END # IF itemloop.size %]
701 [% PROCESS 'shelfbrowser.inc' %]
702 [% INCLUDE shelfbrowser tab='holdings' %]
703 <br style="clear:both;" />
704 </div> <!-- / #holdings -->
706 [% IF (SeparateHoldings) %]
707 <div id="otherholdings">
708 [% IF (otheritemloop.size) %]
709 [% INCLUDE items_table items=otheritemloop tab="otherholdings" table_id="otherholdingst" %]
711 <span>No other items.</span>
713 [% INCLUDE shelfbrowser tab='otherholdings' %]
715 [% END # / SeparateHoldings %]
717 [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
718 <div id="descriptions">
719 <div class="content_set">
721 [% IF ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY ) %]
722 <h4>Enhanced descriptions from Syndetics:</h4>
723 <p>[% SYNDETICS_SUMMARY %]</p>
726 [% IF ( MARCNOTES ) %]
728 [% FOREACH MARCNOTE IN MARCNOTES %]
730 [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
731 <a href="[% MARCNOTE.marcnote %]">[% MARCNOTE.marcnote %]</a>
733 [% MARCNOTE.marcnote FILTER html_line_break %]
745 </div> <!-- / #descriptions -->
746 [% END # / IF MARCNOTES || notes %]
748 [% IF ( SyndeticsEnabled ) %]
749 [% IF ( SyndeticsTOC && SYNDETICS_TOC ) %]
751 <div class="content_set">
752 <h3>Table of contents provided by Syndetics</h3>
754 [% FOREACH SYNDETICS_TO IN SYNDETICS_TOC %]
755 <li><b>[% SYNDETICS_TO.l %] [% SYNDETICS_TO.t %]</b>[% IF ( SYNDETICS_TO.p ) %] ([% SYNDETICS_TO.p %])[% END %]</li>
760 [% END # / IF SyndeticsTOC && SYNDETICS_TOC %]
762 [% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %]
764 <div class="content_set">
765 <h3>Excerpt provided by Syndetics</h3>
766 [% SYNDETICS_EXCERPT %]
769 [% END # / IF SyndeticsExcerpt && SYNDETICS_EXCERPT %]
771 [% IF ( SyndeticsReviews && SYNDETICS_REVIEWS ) %]
773 <div class="content_set">
774 <h3>Reviews provided by Syndetics</h3>
775 [% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %]
776 [% IF ( SYNDETICS_REVIEW.title ) %]
777 <h4>[% SYNDETICS_REVIEW.title %]</h4>
778 [% FOREACH review IN SYNDETICS_REVIEW.reviews %]
780 [% IF ( review.content ) %]
789 [% END # / IF SyndeticsReviews && SYNDETICS_REVIEWS %]
791 [% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %]
793 <div class="content_set">
794 <h3>Author notes provided by Syndetics</h3>
795 [% FOREACH SYNDETICS_ANOTE IN SYNDETICS_ANOTES %]
796 [% IF ( SYNDETICS_ANOTE.content ) %]
797 [% SYNDETICS_ANOTE.content %]
802 [% END # / IF SyndeticsReviews && SYNDETICS_REVIEWS %]
803 [% END # / IF SyndeticsEnabled %]
805 [% IF ( NovelistSelectProfile && NovelistSelectView == 'tab' && (normalized_isbn || normalized_upc) ) %]
806 <div id="NovelistSelect" >
807 <div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]></div>
809 [% END # / IF NovelistSelectProfile && NovelistSelectView == 'tab' %]
811 [% IF ( subscriptionsnumber ) %]
812 <div id="subscriptions">
813 <h2>This is a serial</h2>
814 <p class="subscription_count">There are [% subscriptionsnumber %] subscription(s) associated with this title.</p>
815 [% FOREACH subscription IN subscriptions %]
816 [% IF ( subscription.branchcode ) %]
817 <h3>At library: [% Branches.GetName( subscription.branchcode ) %]</h3>
819 [% IF ( subscription.branchcode ) %]
820 <h3>At library: [% subscription.branchcode %]</h3>
823 [% IF ( subscription.closed ) %]
824 <p class="subscription_closed">This subscription is closed.</p>
826 [% IF ( subscription.callnumber ) %]
827 <p class="subscription_callnumber">Call number: [% subscription.callnumber %]</p>
829 [% IF ( subscription.subscriptionnotes ) %]
830 <p class="subscription_notes">[% subscription.subscriptionnotes FILTER html_line_break %] </p>
832 <p class="subscription_dates">Subscription from: [% subscription.histstartdate | $KohaDates %] to:[% IF ( subscription.histenddate ) %] [% subscription.histenddate | $KohaDates %] [% ELSE %] now (current)[% END %]</p>
833 [% IF ( subscription.letter ) %]<span class="email_notifications">
834 [% IF ( loggedinusername ) %]
835 [% IF ( subscription.hasalert ) %]
836 <span>You have subscribed to email notification on new issues. </span><a style="color:#000;" class="btn" title="Cancel email notification" href="/cgi-bin/koha/opac-alert-subscribe.pl?op=cancel&externalid=[% subscription.subscriptionid %]&alerttype=issue&biblionumber=[% subscription.biblionumber %]">Cancel email notification</a>
838 <a style="color:#000;" class="btn" title="Subscribe to email notification on new issues" href="/cgi-bin/koha/opac-alert-subscribe.pl?externalid=[% subscription.subscriptionid %]&alerttype=issue&biblionumber=[% subscription.biblionumber %]">Subscribe to email notification on new issues</a>
841 <span>You must log in if you want to subscribe to email notification on new issues</span>
844 [% IF ( subscription.missinglist ) %]
845 <p class="subscription_missing">Missing issues: [% subscription.missinglist %] </p>
847 [% IF ( subscription.opacnote ) %]
848 <p class="subscription_opacnote">[% subscription.opacnote FILTER html_line_break %]</p>
850 [% IF ( subscription.latestserials ) %]
851 <p class="subscription_latestissues"> The [% subscription.opacdisplaycount %] latest issues for this subscription:</p>
852 <table class="table table-bordered table-striped" id="subscriptionst">
855 <th id="serial_serialseq" data-colname="serial_serialseq">Issue #</th>
856 <th id="serial_publisheddate" data-colname="serial_publisheddate" class="title-string">Publication date</th>
857 <th id="serial_planneddate" data-colname="serial_planneddate" class="title-string">Received date</th>
858 <th id="serial_status" data-colname="serial_status">Status</th>
859 <th id="serial_notes" data-colname="serial_notes">Note</th>
863 [% FOREACH latestserial IN subscription.latestserials %]
865 <td class="serialseq">[% latestserial.serialseq %]</td>
866 <td class="publisheddate">[% latestserial.publisheddate %]</td>
867 <td class="planneddate">[% latestserial.planneddate %]</td>
868 <td class="serial_status">
869 [% IF (latestserial.status1 ) %]<span>Expected</span>[% END %]
870 [% IF (latestserial.status2 ) %]<span>Arrived</span>[% END %]
871 [% IF (latestserial.status3 ) %]<span>Late</span>[% END %]
872 [% IF (latestserial.status4 ) %]<span>Missing</span>[% END %]
873 [% IF (latestserial.status41 ) %]<span>Missing (never received)</span>[% END %]
874 [% IF (latestserial.status42 ) %]<span>Missing (sold out)</span>[% END %]
875 [% IF (latestserial.status43 ) %]<span>Missing (damaged)</span>[% END %]
876 [% IF (latestserial.status44 ) %]<span>Missing (lost)</span>[% END %]
877 [% IF (latestserial.status5 ) %]<span>Not issued</span>[% END %]
878 [% IF (latestserial.status6 ) %]<span>Delete</span>[% END %]
879 [% IF (latestserial.status7 ) %]<span>Claimed</span>[% END %]
880 [% IF (latestserial.status8 ) %]<span>Stopped</span>[% END %]
882 <td class="serial_notes">[% latestserial.notes %]</td>
884 [% END # / FOREACH latestserials %]
887 [% END # / IF subscription.latestserials %]
888 [% END # / FOREACH subscriptions %]
889 <p class="subscription_moredetails"><a href="opac-serial-issues.pl?biblionumber=[% biblio.biblionumber %]">More details</a></p>
890 </div> <!-- / #subscriptions -->
891 [% END # IF subscriptionsnumber %]
893 [% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %]
894 <!-- Library Thing for Libraries Content -->
895 <div id="LFTLSimilarItems">
896 <div class="content_set">
897 <!-- Uncommenting this span makes the font smaller in the tab for LTFL -->
898 <!-- but breaks Xhtml validation -->
899 <!-- <span class="results_summary">-->
900 <div id="ltfl_related"></div>
901 <div id="ltfl_similars"></div>
905 <div id="LTFLTagBrowse">
906 <div class="content_set">
907 <!-- <span class="results_summary"> -->
908 <div id="ltfl_tagbrowse" class="ltfl"></div>
912 [% END # / IF LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView %]
914 [% IF Koha.Preference( 'reviewson' ) == 1 %]
916 <div id="newcomment"></div>
918 [% FOREACH review IN reviews %]
919 [% IF borrowernumber && review.borrowernumber == borrowernumber %]
920 <div class="commentline yours" id="c[% review.reviewid %]">
921 [% IF ( review.avatarurl ) %]
922 <img class="avatar" src="[% review.avatarurl %]" height="80" width="80" alt="" />
924 [% IF review.approved %]
925 <h5>Your comment</h5>
927 <h5>Your comment (preview, pending approval)</h5>
929 <small>[% review.datereviewed | $KohaDates %]</small>
931 [% FILTER html_break %]
932 [% review.review |html %]
934 <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber %]&reviewid=[% review.reviewid %]');">Edit</a>
938 <div class="commentline">
939 [% IF ( ShowReviewer != "none" && review.patron) %]
941 [% IF ( review.avatarurl ) %]
942 <img class="avatar" src="[% review.avatarurl %]" height="80" width="80" alt="" />
944 [% SWITCH ShowReviewer %]
946 <h5>Comment by [% review.patron.title %] [% review.patron.firstname %] [% review.patron.surname %]</h5>
948 <h5>Comment by [% review.patron.firstname %]</h5>
950 <h5>Comment by [% review.patron.surname %]</h5>
951 [% CASE 'firstandinitial' %]
952 <h5>Comment by [% review.patron.firstname %] [% review.patron.surname|truncate(2,'.') %]</h5>
953 [% CASE 'username' %]
954 <h5>Comment by [% review.patron.userid %]</h5>
957 <small>[% review.datereviewed | $KohaDates %]</small>
959 <h5>Patron comment on [% review.datereviewed | $KohaDates %]</h5>
960 [% END # / IF ShowReviewer != "none" && review.patron %]
962 [% FILTER html_break %]
963 [% review.review |html %]
966 </div> <!-- / .commentline -->
968 [% END # / FOREACH reviews %]
970 <p>There are no comments for this item.</p>
971 [% END # / IF reviews %]
973 [% IF ( loggedinusername ) %]
974 [% UNLESS ( loggedincommenter ) %]
975 <div id="addcomment"> <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% biblio.biblionumber %]'); return false;">
976 Post your comments on this item.
980 <div id="addcomment"><a href="/cgi-bin/koha/opac-user.pl">Log in to your account</a> to post a comment.</div>
981 [% END # / IF loggedinusername %]
982 </div> <!-- / #comments -->
983 [% END # / IF reviewson %]
985 [% IF ( OPACFRBRizeEditions && XISBNS ) %]
987 <h4>Other editions of this work</h4>
988 <table class="table table-bordered table-striped">
989 [% FOREACH XISBN IN XISBNS %]
992 [% IF ( OPACAmazonCoverImages ) %]
993 <img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn %].01._AA75_PU_PU-5_.jpg" alt="" />
996 [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
997 [% IF ( XISBN.content_identifier_exists ) %]
998 [% IF ( using_https ) %]
999 <img src="https://secure.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="" />
1001 <img src="http://www.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="" />
1004 <span class="no-image">No cover image available</span>
1005 [% END # / IF XISBN.content_identifier_exists %]
1006 [% END # / IF SyndeticsEnabled && SyndeticsCoverImages %]
1009 [% UNLESS ( item_level_itypes ) %]
1010 <td>[% XISBN.description %]</td>
1012 <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a>
1013 [% IF ( XISBN.author ) %]<span> by </span>[% XISBN.author |html %][% END %]
1014 [% IF ( XISBN.copyrightdate ) %]<span> ©</span>[% XISBN.copyrightdate %][% END %]
1015 [% IF ( XISBN.publishercode ) %]
1016 <p>[% XISBN.publishercode |html %]
1017 [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %]
1018 [% IF ( XISBN.publicationyear ) %][% ', ' _ XISBN.publicationyear %][% END %]
1019 [% IF ( XISBN.pages ) %][% XISBN.pages %] [% XISBN.illus %] [% XISBN.size %][% END %]
1024 [% END # / FOREACH XISBNS %]
1026 </div> <!-- / #editions -->
1027 [% END # / IF OPACFRBRizeEditions && XISBNS %]
1029 [% IF ( HTML5MediaEnabled ) %]
1030 <div id="html5media">
1031 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
1033 [% SET ctrl_preload = ' controls preload=none' #translatability %]
1034 <[% HTML5MediaParent _ ctrl_preload %] >
1035 <[% HTML5MediaSet.child _ ' src="' _ HTML5MediaSet.srcblock _'"' _ HTML5MediaSet.typeblock %] />
1036 <span>[[% HTML5MediaParent %] tag not supported by your browser.]</span>
1037 </[% HTML5MediaParent %]>
1041 [% END # / IF HTML5MediaEnabled %]
1043 [% IF ( OPACLocalCoverImages && localimages.size ) %]
1045 <p>Click on an image to view it in the image viewer</p>
1046 [% FOREACH image IN localimages %]
1048 <a class="localimage" href="/cgi-bin/koha/opac-imageviewer.pl?biblionumber=[% biblio.biblionumber %]&imagenumber=[% image %]"><img alt="" src="/cgi-bin/koha/opac-image.pl?thumbnail=1&imagenumber=[% image %]" /></a>
1051 </div><!-- / #images -->
1052 [% END # / IF OPACLocalCoverImages && localimages.size %]
1054 [% IF ( IDreamBooksReviews ) %]
1055 <div id="idb_critic_reviews">
1056 <div id="idb_review_snippets"></div>
1057 <span><a id="seemoreidb">More book reviews at iDreamBooks.com</a></span>
1060 </div> <!-- / #bibliodescriptions -->
1062 [% IF ( NovelistSelectProfile && NovelistSelectView == 'below' && ( normalized_isbn || normalized_upc ) ) %]
1063 <div id="NovelistSelect">
1064 <h3>Novelist Select</h3>
1065 <div data-novelist-novelistselect="[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]"></div>
1069 [% IF ( Babeltheque ) %]
1071 <div id="BW_etiquettes"></div>
1072 <div id="BW_suggestions"></div>
1074 <div class="clearfix"></div>
1076 <div id="BW_podcasts"></div>
1078 <div class="clearfix"></div>
1080 <div id="BW_videos"></div>
1082 [% END # / IF Babeltheque %]
1084 [%# Following on one line due to translation issues %]
1085 [% INCLUDE "openlibrary-readapi.inc" bib = { normalized_isbn => normalized_isbn,lccn => lccn, normalized_oclc => normalized_oclc } %]
1087 </div> <!-- /.span9 -->
1090 <div id="ulactioncontainer">
1092 [% IF ( OpacBrowseResults && busc ) %]
1093 <div class="nav_results">
1094 <div class="l_Results">
1095 [% IF ( listResults ) %]
1096 <a href="#" id="a_listResults">Browse results</a>
1098 <span>Browse results</span>
1101 <ul class="pg_menu clearfix">
1102 <li class="left_results">
1103 [% IF ( previousBiblionumber ) %]
1104 <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>
1106 <span>Previous</span>
1109 [%# busc is already URI encoded %]
1110 <li class="back_results"><a href="opac-search.pl?[% busc %]" title="Back to the results search list">Back to results</a></li>
1111 <li class="right_results">
1112 [% IF ( nextBiblionumber ) %]
1113 <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>
1119 [% IF ( listResults ) %]
1120 <div class="results-pagination">
1121 <div class="nav_pages">
1122 <span class="close_pagination"><a href="#" id="close_pagination">Close</a></span>
1123 <ul id="listResults"></ul>
1125 <div class="pagination_list">
1126 <ul id="ul_pagination_list"></ul>
1131 [% END # / IF OpacBrowseResults && busc %]
1133 [% INCLUDE 'opac-detail-sidebar.inc' %]
1135 [% IF ( NovelistSelectProfile && NovelistSelectView == 'right' && ( normalized_isbn || normalized_upc ) ) %]
1136 <div id="NovelistSelect">
1137 <h4>Novelist Select</h4>
1138 <div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]></div>
1142 [% IF ( Babeltheque ) %]
1143 <div class="babeltheque_adds">
1144 <div id="BW_critiques_aj"></div>
1145 <div id="BW_citations_aj"></div>
1149 [% IF ( SocialNetworks ) %]
1150 <div id="social_networks" class="clearfix">
1152 <div><a id="facebook" href="http://www.facebook.com/sharer.php?u=[% current_url |url %]&t=[% title |url %]" title="Share on Facebook">Facebook</a></div>
1153 <div><a id="linkedin" href="http://www.linkedin.com/shareArticle?mini=true&url=[% current_url |url %]&title=[% title |url %]" title="Share on LinkedIn">LinkedIn</a></div>
1154 <div><a id="email" href="mailto:?subject=[% title |url %]&body=[% title |url %]%20([% current_url |url %])" title="Share by email">Email</a></div>
1155 <div><div class="g-plusone" data-size="small" data-count="false"></div></div>
1156 <div><a id="twitter" href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-text="[% title |url %]" data-lang="[% lang %]">Tweet</a></div>
1159 </div> <!-- / .ulactioncontainer -->
1160 </div> <!-- / .span4 -->
1161 </div> <!-- / .row-fluid -->
1162 <div class="row-fluid">
1163 [% IF ( LibraryThingForLibrariesID ) %]
1164 <script src="https://ltfl.librarything.com/forlibraries/widget.js?systype=koha&id=[% LibraryThingForLibrariesID %]" type="text/javascript"></script>
1165 <noscript>This page contains enriched content visible when JavaScript is enabled or by clicking
1166 <a href="https://www.librarything.com/forlibraries/noscript.php?id=[% LibraryThingForLibrariesID %]&accessibility=1">here</a>.</noscript>
1169 [% IF ( NovelistSelectProfile && normalized_isbn ) %]
1170 <script type="text/javascript" src="https://imageserver.ebscohost.com/novelistselect/ns2init.js"></script>
1173 [% IF ( Babeltheque ) %]
1174 <script type="text/javascript" src="[% Babeltheque_url_js %]"></script>
1176 </div> <!-- / .row-fluid -->
1177 </div> <!-- / .container-fluid -->
1178 </div> <!-- / .main -->
1180 [% INCLUDE 'opac-bottom.inc' %]
1182 [%# End of template %]
1184 [% BLOCK items_table %]
1185 <table class="table table-bordered table-striped" id="[% table_id %]">
1188 [% IF ( item_level_itypes ) %]
1189 <th id="item_itemtype" data-colname="item_itemtype" class="itype">Item type</th>[% END %]
1190 [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %]
1191 <th id="item_current_location" data-colname="item_current_location" class="item_location">Current location</th>[% END %]
1192 [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]
1193 <th id="item_home_location" data-colname="item_home_location" class="item_location">Home library</th>[% END %]
1194 [% IF ( itemdata_ccode ) %]
1195 <th id="item_ccode" data-colname="item_ccode" class="collection">Collection</th>[% END %]
1196 [% IF ( Koha.Preference('OpacLocationOnDetail') == 'column' && itemdata_location ) %]
1197 <th id="item_shelving_location" data-colname="item_shelving_location" class="shelving_location">Shelving location</th>[% END %]
1198 <th id="item_callnumber" data-colname="item_callnumber" class="call_no">Call number</th>
1199 [% IF ( itemdata_enumchron ) %]
1200 <th id="item_enumchron" data-colname="item_enumchron" class="vol_info">Vol info</th>[% END %]
1201 [% IF ( itemdata_uri ) %]
1202 <th id="item_url" data-colname="item_url" class="url">URL</th>[% END %]
1203 [% IF ( itemdata_copynumber ) %]
1204 <th id="item_copy" data-colname="item_copy" class="copynumber">Copy number</th>[% END %]
1205 <th id="item_status" data-colname="item_status" class="status">Status</th>
1206 [% IF ( itemdata_itemnotes ) %]
1207 <th id="item_notes" data-colname="item_notes" class="notes">Notes</th>[% END %]
1208 <th id="item_datedue" data-colname="item_datedue" class="date_due">Date due</th>
1209 <th id="item_barcode" data-colname="item_barcode" class="barcode">Barcode</th>
1210 [% IF holds_count.defined %]
1211 <th id="item_holds" data-colname="item_holds">Item holds</th>
1212 [% ELSIF show_priority %]
1213 <th id="item_priority" data-colname="item_priority">Item hold queue priority</th>
1215 [% IF ( ShowCourseReservesHeader ) %]
1216 <th id="item_coursereserves" data-colname="item_coursereserves">Course reserves</th>[% END %]
1220 [% FOREACH ITEM_RESULT IN items %]
1221 [% IF ITEM_RESULT.this_branch %]
1222 <tr class="highlight-row-detail" vocab="http://schema.org/" typeof="Offer">
1224 <tr vocab="http://schema.org/" typeof="Offer">
1226 [% IF ( item_level_itypes ) %]
1228 [% UNLESS ( noItemTypeImages ) %]
1229 [% IF ( ITEM_RESULT.imageurl ) %]
1230 <img src="[% ITEM_RESULT.imageurl %]" title="[% ITEM_RESULT.description %]" alt="[% ITEM_RESULT.description %]" />
1233 [% ITEM_RESULT.description %]
1236 [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %]
1237 <td class="location" property="seller">
1238 <link property="itemOffered" href="#record" />
1239 <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
1240 <span class="[% ITEM_RESULT.holding_branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]" title="">
1241 [% IF ( ITEM_RESULT.branchurl ) %]
1242 <a href="[% ITEM_RESULT.branchurl %]">[% ITEM_RESULT.branchname %]</a>
1244 <span>[% ITEM_RESULT.branchname %]</span>
1247 <div class="branch-info-tooltip">[% ITEM_RESULT.holding_branch_opac_info %]</div>
1249 [% IF ( Koha.Preference('OpacLocationOnDetail') == 'holding' || Koha.Preference('OpacLocationOnDetail') == 'both' ) %]
1250 <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span>
1256 [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]
1257 <td class="location" property="seller">
1258 <link property="itemOffered" href="#record" />
1259 <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
1260 <span class="[% ITEM_RESULT.home_branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]" title="">
1261 [% IF Branches.GetURL( ITEM_RESULT.homebranch ) %]
1262 [% home_branch_url = Branches.GetURL( ITEM_RESULT.homebranch ) %]
1263 [% IF ( home_branch_url ) %]
1264 <a href="[% home_branch_url %]">[% Branches.GetName( ITEM_RESULT.homebranch ) %]</a>
1266 <span>[% Branches.GetName( ITEM_RESULT.homebranch ) %]</span>
1269 <span>[% Branches.GetName( ITEM_RESULT.homebranch ) %]</span>
1272 <div class="branch-info-tooltip">[% ITEM_RESULT.home_branch_opac_info %]</div>
1274 [% IF ( Koha.Preference('OpacLocationOnDetail') == 'home' || Koha.Preference('OpacLocationOnDetail') == 'both' ) %]
1275 <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span>
1281 [% IF ( itemdata_ccode ) %]
1282 <td class="collection">[% ITEM_RESULT.ccode %]</td>
1285 [% IF ( Koha.Preference('OpacLocationOnDetail') == 'column' && itemdata_location ) %]
1286 <td class="shelving_location">[% ITEM_RESULT.location_description %]</td>
1289 <td class="call_no" property="sku">
1290 [% IF ( ITEM_RESULT.itemcallnumber ) %]
1291 [% ITEM_RESULT.itemcallnumber %]
1292 [% IF ( OPACShelfBrowser ) %]
1293 [% IF ( ITEM_RESULT.itemnumber == starting_itemnumber ) %]
1294 (<a class="close_shelf" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber %]#[% tab %]">Browse shelf</a>)
1296 (<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber %]#[% tab %]">Browse shelf</a>)
1301 [% IF ( itemdata_enumchron ) %]
1302 <td class="vol_info">
1303 [% IF ITEM_RESULT.enumchron && ITEM_RESULT.serialseq %]
1304 <span class="enum">[% ITEM_RESULT.enumchron %]</span>
1305 [% IF ( ITEM_RESULT.serialseq && ITEM_RESULT.enumchron!=ITEM_RESULT.serialseq ) %]
1306 <span class="sep"> -- </span>
1307 <span class="serialseq">[% ITEM_RESULT.serialseq | html %]</span>
1309 [% ELSIF ITEM_RESULT.enumchron %]
1310 <span class="enum">[% ITEM_RESULT.enumchron | html %]</span>
1311 [% ELSIF ITEM_RESULT.serialseq %]
1312 <span class="serialseq">[% ITEM_RESULT.serialseq | html %]</span>
1314 [% IF ( ITEM_RESULT.publisheddate ) %]
1315 <span class="pubdate">([% ITEM_RESULT.publisheddate | $KohaDates %])</span>
1319 [% IF ( itemdata_uri ) %]
1321 [% IF ITEM_RESULT.uri %]
1322 [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1323 [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1324 <a target="_blank" rel="noreferrer" href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&biblionumber=[% biblio.biblionumber %]&itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url"> Link to resource </a>
1326 <a href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&biblionumber=[% biblio.biblionumber %]&itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url"> Link to resource </a>
1330 [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1331 <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri %]" property="url">[% ITEM_RESULT.uri %]</a>
1333 <a href="[% ITEM_RESULT.uri %]" property="url">[% ITEM_RESULT.uri %]</a>
1339 [% IF ( itemdata_copynumber ) %]<td class="copynumber">[% ITEM_RESULT.copynumber %]</td>[% END %]
1340 <td class="status">[% INCLUDE 'item-status-schema-org.inc' item = ITEM_RESULT %][% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
1341 [% IF ( itemdata_itemnotes ) %]<td class="notes" property="description">[% ITEM_RESULT.itemnotes %]</td>[% END %]
1342 <td class="date_due"><span title="[% ITEM_RESULT.datedue %]">[% ITEM_RESULT.datedue | $KohaDates as_due_date => 1 %]</span></td>
1343 <td class="barcode" property="serialNumber">[% ITEM_RESULT.barcode %]</td>
1344 [% IF holds_count.defined || show_priority %]
1345 <td class="holds_count">
1346 [% IF holds_count.defined %] [% ITEM_RESULT.holds_count %] [% END %]
1347 [% IF ITEM_RESULT.priority %]
1348 [% IF holds_count.defined %]
1349 <span>(priority [% ITEM_RESULT.priority %])</span>
1351 <span>[% ITEM_RESULT.priority %]</span>
1356 [% IF ShowCourseReservesHeader %]
1358 [% IF ITEM_RESULT.course_reserves %]
1359 [% FOREACH r IN ITEM_RESULT.course_reserves %]
1360 [% IF r.course.enabled == 'yes' %]
1362 <a href="opac-course-details.pl?course_id=[% r.course.course_id %]">
1363 [% r.course.course_name %]
1364 <!--[% IF r.course.course_number %] [% r.course.course_number %] [% END %]-->
1365 [% IF r.course.section %] [% r.course.section %] [% END %]
1366 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term ) %] [% END %]
1373 [% END # /IF ShowCourseReservesHeader %]
1378 [% END %][%# end of items_table block %]
1380 [% BLOCK jsinclude %]
1381 [% INCLUDE 'datatables.inc' %]
1382 [% INCLUDE 'columns_settings.inc' %]
1383 [% IF ( SocialNetworks ) %]
1384 <script type="text/javascript" src="https://apis.google.com/js/plusone.js">
1386 {lang: '[% lang %]'}
1389 <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>
1391 [% IF ( OpacStarRatings != 'disable' ) %]<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/plugins/jquery.rating_[% KOHA_VERSION %].js"></script>[% END %]
1393 [% IF ( OpacHighlightedWords ) %]<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/plugins/jquery.highlight-3_[% KOHA_VERSION %].js"></script>[% END %]
1395 <script type="text/javascript">
1398 [% IF ( OpacBrowseResults && busc ) %]
1399 var arrPagination = new Array();
1400 var pag_index_ini = [% indexPag %];
1401 [% IF ( listResults ) %]
1402 [% FOREACH listResult IN listResults %]
1403 arrPagination[[% listResult.index %]] = {
1404 url:"[% listResult.url %][% IF ( listResult.url && query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]",
1405 title:"[% listResult.title|remove('\n')|html %]",
1406 author:"[% listResult.author|html %]",
1407 biblionumber:[% listResult.biblionumber %]
1413 [% IF ( OpacHighlightedWords ) %]
1414 var q_array = new Array(); // holds search terms if available
1416 function highlightOff() {
1417 $("#catalogue_detail_biblio").removeHighlight();
1418 $(".highlight_toggle").toggle();
1420 function highlightOn() {
1422 for (x in q_array) {
1423 if ( q_array[x].length > 0 ) {
1424 q_array[x] = q_array[x].replace(/\w*:([\w])/, "$1");
1425 q_array[x] = q_array[x].toLowerCase();
1426 var myStopwords = "[% Koha.Preference('NotHighlightedWords') %]".toLowerCase().split('|');
1427 if( $.inArray(q_array[x], myStopwords) == -1 ) {
1428 $(".title").highlight(q_array[x]);
1429 $(".author").highlight(q_array[x]);
1430 $(".results_summary").highlight(q_array[x]);
1434 $(".highlight_toggle").toggle();
1438 $(document).ready(function() {
1439 $('#bibliodescriptions').tabs();
1440 $(".branch-info-tooltip-trigger").uitooltip({
1441 position: { my: "left+15 center", at: "right center" },
1444 content: function(){
1445 var element = $(this).next("div");
1446 return element.html();
1450 var columns_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'holdingst', 'json' ) %];
1452 KohaTable("#holdingst", {
1453 dom: 'B<"clearfix">t',
1455 { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
1456 { "sType": "title-string", "aTargets" : [ "title-string" ] }
1458 "bKohaColumnsUseNames": true
1459 }, columns_settings);
1461 KohaTable("#otherholdingst", {
1462 dom: 'B<"clearfix">t',
1464 { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
1465 { "sType": "title-string", "aTargets" : [ "title-string" ] }
1467 "bKohaColumnsUseNames": true
1468 }, columns_settings);
1470 var serial_column_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) %];
1472 KohaTable("#subscriptionst", {
1473 dom: 'B<"clearfix">t',
1475 { "sType": "title-string", "aTargets" : [ "title-string" ] }
1477 "bKohaColumnsUseNames": true
1478 }, serial_column_settings);
1480 [% IF ( TagsInputEnabled && loggedinusername ) %]
1481 $(".tag_add").click(function(){
1482 var thisid = $(this).attr("id");
1483 thisid = thisid.replace("tag_add","");
1485 $("#tagform"+thisid).show();
1486 $("#newtag"+thisid).focus();
1487 $("#newtag"+thisid+"_status").empty().hide();
1490 $(".cancel_tag_add").click(function(){
1491 var thisid = $(this).attr("id");
1492 thisid = thisid.replace("cancel","");
1493 $("#tagform"+thisid).hide();
1494 $("#tag_add"+thisid).show();
1495 $("#newtag"+thisid).val("");
1496 $("#newtag"+thisid+"_status").empty().hide();
1499 $(".tagbutton").click(function(){
1500 var thisid = $(this).attr("title");
1501 var tag = $("#newtag"+thisid).val();
1502 if (!tag || (tag == "")) {
1503 alert(MSG_NO_TAG_SPECIFIED);
1506 KOHA.Tags.add_tag_button(thisid, tag);
1511 [%# Note that there is no way atm to target a column with its class name to set it as the default sort order %]
1512 [% IF Koha.Preference('OpacLocationBranchToDisplay') == 'home' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND item_level_itypes
1513 OR Koha.Preference('OpacLocationBranchToDisplay') == 'holding' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'holdingbranch' AND item_level_itypes
1514 OR Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND NOT item_level_itypes
1515 OR Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'holdingbranch' AND item_level_itypes %]
1516 var default_order_index = 1;
1517 [% ELSIF Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND item_level_itypes %]
1518 var default_order_index = 2;
1520 var default_order_index = 0;
1523 [% IF ( query_desc ) %][% IF ( OpacHighlightedWords ) %]var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') |html %]";
1524 q_array = query_desc.split(" ");
1525 q_array = q_array.filter(function(n){ return n }); // Remove empty strings
1527 $("#highlight_toggle_on" ).hide().click(function() {highlightOn() ; return false;});
1528 $("#highlight_toggle_off").show().click(function() {highlightOff(); return false;});[% END %][% END %]
1529 [% IF ( GoogleJackets ) %]
1530 KOHA.Google.GetCoverFromIsbn([% covernewwindow %]);
1532 [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
1533 KOHA.coce.getURL('[% Koha.Preference('CoceHost') %]', '[% Koha.Preference('CoceProviders') %]',[% covernewwindow %]);
1536 [% IF OpenLibraryCovers %]
1537 KOHA.OpenLibrary.GetCoverFromIsbn();
1539 [% IF OPACLocalCoverImages %]
1540 KOHA.LocalCover.GetCoverFromBibnumber(true);
1542 [% IF ( NovelistSelectProfile && ( normalized_isbn || normalized_upc ) ) %]
1543 novSelect.loadContentForQuery(
1545 ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]',
1546 ISBN : '[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]',
1549 '[% NovelistSelectProfile %]',
1550 '[% NovelistSelectPassword %]',
1552 if ( d.length > 0 ){ //If no content
1553 $(".NovelistSelect").show();
1558 [% IF ( OpacBrowseResults && busc ) %]
1559 var list_title_showmsg = _("Show pagination list (%s-%s / %s)").format([% indexPag %], [% indexPagEnd %], [% totalPag %]);
1560 var list_title_hidemsg = _("Hide pagination list (%s-%s / %s)").format([% indexPag %], [% indexPagEnd %], [% totalPag %]);
1561 if (arrPagination.length > 0) {
1562 renderPagIndexList(pag_index_ini, $("#listResults"));
1563 var reslist = $("#a_listResults");
1564 reslist.attr('title', list_title_showmsg);
1566 $("#a_listResults").click(function(e) {
1567 if (arrPagination.length > 0) {
1569 var navigation = $(".results-pagination");
1570 if (navigation.css("display") == 'none') {
1572 $(this).attr('title',list_title_hidemsg);
1573 renderPagination(pag_index_ini, arrPagination.length - 1, $("#ul_pagination_list"), false);
1576 $(this).attr('title',list_title_showmsg);
1580 $("#close_pagination").click(function(e) {
1582 var navigation = $(".results-pagination");
1586 [% IF ( OPACShelfBrowser ) %]
1588 (function prepareShelfBrowser(){
1590 $(".main").on("click",".close_shelf",function(e){
1592 $("#shelfbrowser").toggle();
1594 $(".main").on("click", "#browser_previous a", function(e){
1597 url: "/cgi-bin/koha/svc/shelfbrowser.pl",
1600 "shelfbrowse_itemnumber": $("#browser_previous a").data( "prev-itemnumber" )
1602 success: function(data){
1603 $("#shelfbrowser").replaceWith(data);
1604 [% IF ( GoogleJackets ) %]
1605 KOHA.Google.GetCoverFromIsbn([% covernewwindow %]);
1607 [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
1608 KOHA.coce.getURL('[% Koha.Preference('CoceHost') %]', '[% Koha.Preference('CoceProviders') %]',[% covernewwindow %]);
1610 [% IF OpenLibraryCovers %]
1611 KOHA.OpenLibrary.GetCoverFromIsbn();
1613 [% IF OPACLocalCoverImages %]
1614 KOHA.LocalCover.GetCoverFromBibnumber(true);
1620 $(".main").on("click", "#browser_next a", function(e){
1623 url: "/cgi-bin/koha/svc/shelfbrowser.pl",
1626 "shelfbrowse_itemnumber": $("#browser_next a").data( "next-itemnumber" )
1628 success: function(data){
1629 $("#shelfbrowser").replaceWith(data);
1630 [% IF ( GoogleJackets ) %]
1631 KOHA.Google.GetCoverFromIsbn([% covernewwindow %]);
1633 [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
1634 KOHA.coce.getURL('[% Koha.Preference('CoceHost') %]', '[% Koha.Preference('CoceProviders') %]',[% covernewwindow %]);
1636 [% IF OpenLibraryCovers %]
1637 KOHA.OpenLibrary.GetCoverFromIsbn();
1639 [% IF OPACLocalCoverImages %]
1640 KOHA.LocalCover.GetCoverFromBibnumber(true);
1647 [% IF ( OpacStarRatings != 'disable' ) %]
1648 // -----------------------------------------------------
1649 // star-ratings code
1650 // -----------------------------------------------------
1651 // hide 'rate' button if javascript enabled
1653 $('input[name="rate_button"]').remove();
1656 $(".auto-submit-star").rating({
1657 cancel: _("Cancel rating"),
1658 callback: function (value, link) {
1660 // if the new value equals the old value, dont execute callback...
1662 if ($("#rating_value").attr("value") != value) {
1666 $.post("/cgi-bin/koha/opac-ratings-ajax.pl", {
1667 rating_old_value: $("#rating_value").attr("value"),
1668 borrowernumber: "[% borrowernumber %]",
1669 biblionumber: "[% biblio.biblionumber %]",
1670 rating_value: value,
1672 }, function (data) {
1674 if (data.auth_status != 'ok') {
1675 window.alert(_("Your CGI session cookie is not current. Please refresh the page and try again."));
1677 $("#rating_value").val(data.rating_value);
1679 if (data.rating_value) {
1680 $("#rating_value_text").text(_("your rating: %s, ").format(data.rating_value));
1682 $("#rating_value_text").text('');
1685 $("#rating_text").text(_("average rating: %s (%s votes)").format(data.rating_avg, data.rating_total));
1694 // -----------------------------------------------------
1695 [% END # / IF ( OpacStarRatings != 'disable' )%]
1697 [% IF ( IDreamBooksReviews || IDreamBooksReadometer ) %]
1698 var isbn = $(".isbn:last").text().split(" ")[1];
1700 isbn = isbn.replace(/\W*$/, '');
1701 isbn = isbn.replace(/-/, '');
1703 if ($.browser.msie && parseInt($.browser.version, 10) >= 8 && window.XDomainRequest) {
1704 // Use Microsoft XDR for IE version 8 or above
1705 var xdr = new XDomainRequest();
1706 xdr.open("get", "https://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e");
1707 xdr.onload = function() {
1708 json = 'json = '+xdr.responseText; // the string now looks like.. json = { ... };
1709 eval(json); // json is now a regular JSON object
1710 parseIDBJSON(json); // parse using same function as for jQuery's success event
1714 $.getJSON("https://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e", function(json){
1719 [% END # / IDreamBooksReviews || IDreamBooksReadometer%]
1722 [% IF ( IDreamBooksReviews || IDreamBooksReadometer ) %]
1723 function parseIDBJSON( json ) {
1724 if(json.total_results > 0 && json.book.rating > 0){
1725 var isbn = $(".isbn:last").text().split(" ")[1];
1726 isbn = isbn.replace(/\W+/g, '');
1728 [% IF ( IDreamBooksReadometer ) %]
1729 $(".title").append('<a href="'+json.book.detail_link+'" id="idreambooksreadometer"><img src="https://idreambooks.com/remotereadometer/'+isbn+'.jpg" alt="'+json.book.title+_(" by ")+json.book.author+'" title="'+_("Rating based on reviews of ")+json.book.title+'"></a>');
1732 [% IF ( IDreamBooksReviews ) %]
1733 //build new tab for critic reviews
1734 $("#tab_idb_critic_reviews a").text($("#tab_idb_critic_reviews a").text().replace('XXX', json.book.review_count));
1736 //append happy-sad cloud review
1738 $("#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>");
1740 //insert data into Book reviews tab
1741 $.each(json.book.critic_reviews, function(){
1742 $("#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>");
1744 $("#seemoreidb").attr('href', json.book.detail_link);
1745 $("#tab_idb_critic_reviews").show();
1749 [% END # / IF IDreamBooksReviews || IDreamBooksReadometer %]
1751 [% IF ( OpacBrowseResults && busc ) %]
1753 var totalPagItemList = 10;
1755 function rewindList()
1757 var ul = $("#listResults");
1758 var li_ini = ul.children(':first').next();
1759 var index_ini = pag_index_ini;
1761 index_ini = parseInt(li_ini.attr("class").substring(7), 10);
1763 var li_end = ul.children(':last').prev();
1764 var index_end = arrPagination.length - 1;
1766 index_end = parseInt(li_end.attr("class").substring(7), 10);
1768 if (index_ini > pag_index_ini) {
1769 renderPagIndexList(index_ini - 1, ul, false);
1770 renderPagination(index_ini - 1, arrPagination.length - 1, $("#ul_pagination_list"), true);
1774 function forwardList()
1776 var ul = $("#listResults");
1777 var li_ini = ul.children(':first').next();
1778 var index_ini = pag_index_ini;
1780 index_ini = parseInt(li_ini.attr("class").substring(7), 10);
1782 var li_end = ul.children(':last').prev();
1783 var index_end = arrPagination.length - 1;
1785 index_end = parseInt(li_end.attr("class").substring(7), 10);
1787 if (index_end < arrPagination.length - 1) {
1788 renderPagIndexList(index_ini + 1, ul, false);
1789 renderPagination(index_ini + 1, arrPagination.length - 1, $("#ul_pagination_list"), true);
1793 function renderPagIndexList(index, ul)
1795 var $kids = ul.children("li");
1796 if ($kids.length > 0) {
1797 $kids.each(function() {
1803 var ini = index - 1;
1804 var end = ini + totalPagItemList - 1;
1806 html = (index > pag_index_ini)?"<a href='#' id='rew_list_index' onclick='rewindList()' title='" + _("Click to rewind the list to") + " " + ini + " - " + end + "'>«</a>":"«";
1810 for (var i=index; i < arrPagination.length && i < index + totalPagItemList; i++) {
1811 if (arrPagination[i] == undefined) continue;
1812 var li = $("<li />");
1813 if (arrPagination[i].url != "") {
1814 title = _("See biblio") + " "" + arrPagination[i].title + "" ";
1815 if (arrPagination[i].author != "") title += " " + _("by") + """ + arrPagination[i].author + """;
1816 title += " " + _("with biblionumber") + " " + arrPagination[i].biblionumber;
1817 html = "<a href='" + arrPagination[i].url + "' title='" + title + "' class='a_pag' id='a_pag_" + i + "'";
1818 html += " onmouseover='renderPagination(" + i + ", " + (arrPagination.length - 1) + ", $(\"#ul_pagination_list\"), true)'";
1819 html += ">" + i + "</a>";
1822 li.attr("class", "li_pag_" + i);
1827 end = (arrPagination.length > index + totalPagItemList)?index + totalPagItemList:arrPagination.length - 1;
1828 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>":"»";
1831 }//renderPagIndexList
1834 function renderPagination(index, total, ul, highlIndex)
1836 for (var i = pag_index_ini; i <= total; i++) {
1837 if (arrPagination[i] == undefined || arrPagination[i].url == "") continue;
1838 $("#li_pag_" + i).remove();
1841 for (var i = index; i <= total && j < totalPagItemList; i++) {
1842 if (arrPagination[i] == undefined || arrPagination[i].url == "") continue;
1843 var li = $("<li id='li_pag_" + i + "' " + ((j % 2 == 0)?"class='highlight'":"") + " title='" + _("Go to detail") + "' />");
1844 var html = "<span class='li_pag_index'>" + i + "</span><a href='" + arrPagination[i].url + "'>" + arrPagination[i].title + "</a>";
1845 if (arrPagination[i].author) html += "<br /> " + _("by") + " " + arrPagination[i].author;
1847 if (highlIndex && i == index) li.css("backgroundColor", "#DDDDDD");
1851 for (i = pag_index_ini; i < index && j < totalPagItemList; i++) {
1852 if (arrPagination[i] == undefined || arrPagination[i].url == "") continue;
1853 $("#li_pag_" + i).remove();
1854 var li = $("<li id='li_pag_" + i + "' " + ((j % 2 == 0)?"class='highlight'":"") + " title='" + _("Go to detail") + "' />");
1855 var html = "<span class='li_pag_index'>" + i + "</span><a href='" + arrPagination[i].url + "'>" + arrPagination[i].title + "</a>";
1856 if (arrPagination[i].author) html += "<br /> " + _("by") + " " + arrPagination[i].author;
1862 [% END # / IF ( OpacBrowseResults && busc ) %]
1866 [% IF OPACPopupAuthorsSearch %]
1867 <script type="text/javascript">
1869 function showAuthors(element){
1870 var authornumber = $(element).attr("data-count");
1872 // Check checkbox related to the clicked link
1873 $("#authorsList input[type='checkbox']").attr('checked', false);
1874 $("#author_"+authornumber).attr('checked', true);
1876 makeAuthorRequest();
1879 function checkAll(checkbox, elem) {
1880 var check = $(checkbox).attr('checked') ? true : false;
1881 $(elem).find("input[type='checkbox']").attr('checked', check);
1882 elem == "#authorsList" ? makeAuthorRequest() : makeSubjectRequest();
1885 function makeAuthorRequest(){
1888 $("#authorsList").find("input[type='checkbox']:checked").each(function () {
1889 values.push($(this).val());
1892 if (values.length > 0) {
1893 var request = "/cgi-bin/koha/opac-search.pl?q=" + values.join(' and ');
1894 $("#validAuthorSearch").attr("href", request);
1896 $("#validAuthorSearch").removeAttr("href");
1902 function showSubjects(element, subjectnumber, subfieldnumber){
1904 // Check checkbox related to the clicked link
1905 $("#subjectsList input[type='checkbox']").attr('checked', false);
1906 $("#subject_"+subjectnumber+"_"+subfieldnumber).attr('checked', true);
1908 makeSubjectRequest();
1912 function makeSubjectRequest() {
1914 $("#subjectsList > ul").each(function() {
1915 var all_checked = true;
1916 var local_values = [];
1917 $(this).find('input[type="checkbox"]').each(function() {
1918 if($(this).attr('checked')) {
1919 local_values.push($(this).val());
1921 all_checked = false;
1924 var authid = $(this).attr('data-authid');
1925 if(all_checked && authid) {
1926 values.push('an:' + authid);
1928 values = values.concat(local_values);
1931 if(values.length > 0) {
1932 var request = "/cgi-bin/koha/opac-search.pl?q=" + values.join(' and ');
1933 $("#validSubjectSearch").attr('href', request);
1935 $("#validSubjectSearch").removeAttr("href");
1938 $(document).ready(function() {
1939 $("a.showauthors").click(function(e){
1947 [% END # / IF OPACPopupAuthorsSearch %]