7 [% USE ColumnsSettings %]
8 [% USE AuthorisedValues %]
9 [% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
10 [% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
11 [% IF Koha.Preference('AmazonAssocTag') %]
12 [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
14 [% AmazonAssocTag = '' %]
16 [% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
17 [% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
19 [% ShowCourseReservesHeader = 0 %]
20 [% IF Koha.Preference( 'UseCourseReserves' ) == 1 %]
21 [% FOREACH ITEM_RESULT IN itemloop %]
22 [% IF ITEM_RESULT.course_reserves %]
23 [% FOREACH r IN ITEM_RESULT.course_reserves %]
24 [% IF r.course.enabled == 'yes' %]
25 [% ShowCourseReservesHeader = 1 %]
32 [% INCLUDE 'doc-head-open.inc' %]
33 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog › Details for: [% INCLUDE 'biblio-title-head.inc' %]</title>
34 [% INCLUDE 'doc-head-close.inc' %]
35 [% Asset.css("lib/emoji-picker/css/emoji.css") | $raw %]
37 [% BLOCK cssinclude %][% END %]
38 [% INCLUDE 'bodytag.inc' bodyid='opac-detail' bodyclass='scrollto' %]
39 [% INCLUDE 'masthead.inc' %]
42 <ul class="breadcrumb">
43 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
44 <li><a href="#"><span>Details for: </span>[% INCLUDE 'biblio-title.inc' %]</a></li>
47 <div class="container-fluid">
48 <div class="row-fluid">
50 <div id="catalogue_detail_biblio" class="maincontent">
53 [% IF ( OPACLocalCoverImages ) %]
54 <div title="[% biblio.biblionumber | html %]" class="[% biblio.biblionumber | html %]" id="local-thumbnail-preview"></div>
57 [% IF ( AdlibrisEnabled && normalized_isbn ) %]
58 <a href="[% AdlibrisURL | url %]?isbn=[% normalized_isbn | uri %]"><img src="[% AdlibrisURL | url %]?isbn=[% normalized_isbn | uri %]" alt="Cover image" class="adlibris-cover-big" /></a>
61 [% IF ( OPACAmazonCoverImages ) %]
62 [% IF ( OPACURLOpenInNewWindow ) %]
63 <a href="http://www.amazon[% AmazonTld | uri %]/gp/reader/[% normalized_isbn | uri %][% AmazonAssocTag | uri %]#reader-link" target="_blank" rel="noreferrer">
65 <a href="http://www.amazon[% AmazonTld | uri %]/dp/[% normalized_isbn | uri %][% AmazonAssocTag | uri %]">
67 <img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn | html %].01.MZZZZZZZ.jpg" alt="Cover image" /></a>
70 [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
71 [% IF ( content_identifier_exists ) %]
72 <img src="https://secure.syndetics.com/index.aspx?isbn=[% normalized_isbn | html %]/[% SyndeticsCoverImageSize | html %].GIF&client=[% SyndeticsClientCode | html %]&type=xw10&upc=[% normalized_upc | html %]&oclc=[% normalized_oclc | html %]" alt="" class="thumbnail" />
74 <span class="no-image">No cover image available</span>
78 [% IF ( GoogleJackets ) %]
79 <div title="[% biblio.biblionumber | html %]" class="[% normalized_isbn | html %]" id="gbs-thumbnail-preview"></div>
81 [% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %]
82 [% coce_id = normalized_ean || normalized_isbn | html %]
83 <div title="[% biblio.biblionumber | html %]" class="[% coce_id | html %]" id="coce-thumbnail-preview"></div>
85 [% IF OpenLibraryCovers %]
86 <div title="[% biblio.biblionumber | html %]" class="[% normalized_isbn | html %]" id="openlibrary-thumbnail-preview"></div>
88 [% bt_id = ( normalized_upc || normalized_isbn ) %]
89 [% IF ( BakerTaylorEnabled && bt_id ) %]
90 [% IF BakerTaylorBookstoreURL %]
91 [% IF ( OPACURLOpenInNewWindow ) %]
92 <a href="https://[% BakerTaylorBookstoreURL | uri %][% bt_id | uri %]" target="_blank" rel="noreferrer"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
94 <a href="https://[% BakerTaylorBookstoreURL | uri %][% bt_id | uri %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
97 <img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" />
100 [% IF Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') %]
101 [% IF ( OPACURLOpenInNewWindow ) %]
102 <a class="custom_cover_image" href="[% biblio.custom_cover_image_url | url %]" target="_blank" rel="noreferrer"><img alt="Cover image" src="[% biblio.custom_cover_image_url | url %]" /></a>
104 <a class="custom_cover_image" href="[% biblio.custom_cover_image_url | url %]"><img alt="Cover image" src="[% biblio.custom_cover_image_url | url %]" /></a>
107 </div><!-- / #bookcover -->
109 <abbr class="unapi-id" title="koha:biblionumber:[% biblio.biblionumber | html %]"><!-- unAPI --></abbr>
110 [% IF ( ocoins ) # COinS / Openurl %]
111 <span class="Z3988" title="[% ocoins | html %]"></span>
115 <span class="view current-view"><span id="Normalview"><i class="fa fa-file-text-o"></i> Normal view</span></span>
117 <a id="MARCview" class="btn btn-link" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblio.biblionumber | html %]"><i class="fa fa-list-alt"></i> MARC view</a>
119 [% IF ( ISBD ) %]<span class="view"><a id="ISBDview" class="btn btn-link" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblio.biblionumber | html %]"><i class="fa fa-list-ul"></i> ISBD view</a></span>[% END %]
121 [% IF ( OPACXSLTDetailsDisplay ) %]
122 [% XSLTBloc | $raw %]
124 <h1 class="title">[% INCLUDE 'biblio-title.inc' %]</h1>
125 [% IF ( author ) %]<h5 class="author">by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author | html %]</a></h5>[% END %]
127 <span class="results_summary">[% UNLESS ( item_level_itypes ) %]
129 [% IF ( description ) %]
130 [% description | html %]
132 [% itemtype | html %]
135 [% IF ( unititle ) %], [% unititle | html %][% END %]
138 [% IF ( MARCAUTHORS ) %]
139 <div class="results_summary">
140 <span class="label">Additional authors:</span>
141 [% IF OPACPopupAuthorsSearch %]
142 <!-- Author search term selection modal -->
143 <div id="authorSearch" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="authorSearchLabel" aria-hidden="true">
144 <div class="modal-header">
145 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
146 <h3 id="authorSearchLabel">Select the item(s) to search</h3>
148 <div class="modal-body">
149 <input type="checkbox" onchange="checkAll(this, '#authorsList')" /> <b>All</b>
150 <ul id="authorsList">
151 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
153 [% IF (MARCAUTHOR.authoritylink) %]
154 <input type="checkbox" name="checkbox"
155 id="author_[% loop.count | html %]"
156 onclick="makeAuthorRequest()"
157 value="an:[% MARCAUTHOR.authoritylink | html %]" />
159 <input type="checkbox" name="checkbox"
160 id="author_[% loop.count | html %]"
161 onclick="makeAuthorRequest()"
162 value="au,wrdl:[% FOREACH SUBFIELD IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% SUBFIELD.value |url %][% UNLESS (loop.last) %]+[% END %][% END %]" />
164 <label for="author_[% loop.count | html %]">
165 [% FOREACH SUBFIELD IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
166 [% SUBFIELD.value | html %]
170 [% END # /FOREACH MARCAUTHORS %]
173 <div class="modal-footer">
174 <a id="validAuthorSearch" href="#" class="btn btn-primary">Search</a>
175 <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
178 [% END # /OPACPopupAuthorsSearch %]
180 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
181 [% authorsloop = loop %]
182 [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
183 [% MARCAUTHOR_SUBFIELDS_LOO.separator | html %]
184 [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %]
185 <a role="button" data-toggle="modal" title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code | html %] [% MARCAUTHOR_SUBFIELDS_LOO.value | html %]"
186 class="showauthors" data-count="[% authorsloop.count | html %]"
187 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 | html %]</a>
189 <a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code | html %] [% MARCAUTHOR_SUBFIELDS_LOO.value | html %]"
190 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 | html %]</a>
193 [% IF (MARCAUTHOR.authoritylink) %]
194 <a class='authlink' href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% MARCAUTHOR.authoritylink | html %]"><img style="vertical-align:middle" height="15" width="15" src="[% interface | html %]/[% theme | html %]/images/filefind.png"></a>
196 [% IF IDREF and MARCAUTHOR.unimarc3 %]
197 <a href="/cgi-bin/koha/opac-idref.pl?unimarc3=[% MARCAUTHOR.unimarc3 | uri %]" title="IdRef" rel="gb_page_center[600,500]">IdRef</a>
199 [% UNLESS ( loop.last ) %]|[% END %]
200 [% END # /FOREACH MARCAUTHORS %]
202 [% END # IF MARCAUTHORS %]
204 [% IF ( MARCSERIES ) %]
205 <span class="results_summary series"><span class="label">Series:</span>
206 [% FOREACH MARCSERIE IN MARCSERIES %]
207 [% FOREACH MARCSERIES_SUBFIELDS_LOO IN MARCSERIE.MARCSERIES_SUBFIELDS_LOOP %]
208 [% IF ( MARCSERIES_SUBFIELDS_LOO.value ) %]
209 <a href="/cgi-bin/koha/opac-search.pl?q=se:[% MARCSERIES_SUBFIELDS_LOO.value |url %]">[% MARCSERIES_SUBFIELDS_LOO.value | html %]</a>
211 [% IF ( MARCSERIES_SUBFIELDS_LOO.volumenum ) %]
212 . [% MARCSERIES_SUBFIELDS_LOO.volumenum | html %]
215 [% UNLESS ( loop.last ) %]|[% END %]
216 [% END # / FOREACH MARCSERIES %]
218 [% END # /MARCSERIES %]
220 [% IF ( editionstatement ) %]
221 <span class="results_summary edition"><span class="label">Edition statement:</span>[% editionstatement | html %][% IF ( editionresponsibility ) %]/[% editionresponsibility | html %][% END %]</span>
223 [% IF ( publishercode ) %]
224 <span class="results_summary publisher"><span class="label">Published by :</span>
225 <a href="/cgi-bin/koha/opac-search.pl?q=pb:[% publishercode |url %] ">
226 [% publishercode | html %]
227 </a> [% IF ( place ) %]([% place | html %])[% END %] [% IF ( publicationyear ) %], [% publicationyear | html %][% END %]
232 <span class="results_summary physical"><span class="label">Physical details:</span> [% pages | html %] [% illus | html %] [% size | html %]</span>
235 [% IF ( MARCISBNS ) %]
236 <span class="results_summary isbn"><span class="label">ISBN:</span>[% FOREACH MARCISBN IN MARCISBNS %][% MARCISBN | html %][% IF ( loop.last ) %].[% ELSE %]; [% END %][% END %]</span>
238 [% IF ( normalized_isbn ) %]
239 <span class="results_summary isbn"><span class="label">ISBN: </span>[% normalized_isbn | html %]</span>
244 <span class="results_summary issn"><span class="label">ISSN:</span>[% issn | html %]</span>
247 [% IF ( collectiontitle ) %]
248 <span class="results_summary collection"><span class="label">Collection: </span>
249 [% collectiontitle | html %]
250 [% IF ( collectionissn ) %] [% ', ISSN ' _ collectionissn | html %][% END %]
251 [% IF ( collectionvolume ) %] [% ' ; ' _ collectionvolume | html %] [% END %]
256 [% IF ( unititles ) %]
257 <span class="results_summary unititle"><span class="label">Uniform titles:</span>
258 [% FOREACH unititle IN unititles %]
259 [% unititle.unititle | html %] ;
264 [% IF ( MARCSUBJCTS ) %]
265 <div class="results_summary subject">
266 <span class="label">Subject(s):</span>
268 [% IF OPACPopupAuthorsSearch %]
269 <!-- Search term selection modal -->
270 <div id="subjectSearch" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="subjectSearchLabel" aria-hidden="true">
271 <div class="modal-header">
272 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
273 <h3 id="subjectSearchLabel">Select the term(s) to search</h3>
275 <div id="subjectsList" class="modal-body">
276 <input type="checkbox" id="all_subjects" onchange="checkAll(this, '#subjectsList')" />
277 <label for="all_subjects">
280 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
281 [% subjectsloop = loop %]
282 [% IF MARCSUBJCT.authoritylink %]
283 <ul id="subjectsList[% loop.count | html %]" data-authid="[% MARCSUBJCT.authoritylink | html %]">
285 <ul id="subjectsList[% loop.count | html %]">
287 [% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
289 <input type="checkbox" onclick="makeSubjectRequest()" name="checkbox" id="subject_[% subjectsloop.count | html %]_[% loop.count | html %]" value="su,wrdl:[% SUBFIELD.value |url %]" />
290 <label for="subject_[% subjectsloop.count | html %]_[% loop.count | html %]">
291 [% SUBFIELD.value | html %]
298 <div class="modal-footer">
299 <a href="#" id="validSubjectSearch" class="btn btn-primary">Search</a>
300 <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
303 [% END # /OPACPopupAuthorsSearch%]
305 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
306 [% subjectsloop = loop %]
307 [% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
308 [% SUBFIELD.separator | html %]
309 [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %]
310 <a role="button" data-toggle="modal" title="[% '$' _ SUBFIELD.code _ ' ' _ SUBFIELD.value | html %]" 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 | html %], [% loop.count | html %]); return false;">[% SUBFIELD.value | html %]</a>
312 <a title="[% '$' _ SUBFIELD.code _ ' ' _ SUBFIELD.value | html %]" 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 | html %]</a>
315 [% IF (MARCSUBJCT.authoritylink) %]
316 <a class="authlink" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% MARCSUBJCT.authoritylink | html %]"><img style="vertical-align:middle" height="15" width="15" src="[% interface | html %]/[% theme | html %]/images/filefind.png" /></a>
318 [% UNLESS ( loop.last ) %] | [% END %]
319 [% END # / FOREACH MARCSUBJCTS %]
321 [% ELSE # /IF MARCSUBJCTS %]
322 [% 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 | html %]</a> | [% END %]</span>[% END %]
325 [% IF ( copyrightdate ) %]
326 <span class="results_summary year"><span class="label">Year: </span>[% copyrightdate | html %]</span>
329 [% UNLESS ( item_level_itypes ) %]
331 <img src="[% imageurl | html %]" alt="" />
333 <span class="results_summary itemtype"><span class="label">Item type: </span>
334 [% IF ( description ) %]
335 [% description | html %]
337 [% itemtype | html %]
342 [% IF ( MARCURLS ) %]
343 <div class="results_summary online_resources"><span class="label">Online resources:</span>
345 [% FOREACH MARCurl IN MARCURLS %]
346 <li>[% IF ( MARCurl.part ) %][% MARCurl.part | html %]<br />[% END %]
348 [% IF ( OPACURLOpenInNewWindow ) %]
349 [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
350 <a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL | uri %]&biblionumber=[% biblio.biblionumber | uri %]" title="[% MARCurl.MARCURL | html %]" target="_blank" rel="noreferrer">
352 <a href="[% MARCurl.MARCURL | url %]" title="[% MARCurl.MARCURL | html %]" target="_blank" rel="noreferrer">
355 [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
356 <a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL | uri %]&biblionumber=[% biblio.biblionumber | uri %]" title="[% MARCurl.MARCURL | html %]">
358 <a href="[% MARCurl.MARCURL | url %]" title="[% MARCurl.MARCURL | html %]">
361 [% MARCurl.linktext | html %]</a>
362 [% IF ( MARCurl.notes ) %]
364 [% FOREACH note IN MARCurl.notes %]
365 <li>[% note.note | html %]</li>
370 [% END # /FOREACH MARCURLS %]
373 [% END # / IF MARCURLS %]
374 [% END # / IF OPACXSLTDetailsDisplay %]
376 <!-- This puts the LTFL reviews in, and if TabbedView is not set, puts the remaining content above the Tabs instead of in them -->
377 [% IF ( LibraryThingForLibrariesID ) %]
378 [% UNLESS ( LibraryThingForLibrariesTabbedView ) %]
379 <div class="results_summary"><div id="ltfl_related" class="ltfl"></div></div>
380 <div class="results_summary"><div id="ltfl_similars" class="ltfl"></div></div>
381 <div class="results_summary"><div id="ltfl_tagbrowse" class="ltfl"></div></div>
383 <span class="results_summary">
384 <span class="label">Reviews from LibraryThing.com:</span>
385 <span style="display: block;" class="ltfl_reviews"></span>
387 [% END # / LibraryThingForLibrariesID %]
389 <!--This grabs all of the lists a bib record appears in -->
390 [% IF shelves.count %]
391 <span class="results_summary lists"><span class="label">List(s) this item appears in: </span>
392 [% FOREACH s IN shelves %]
393 <a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% s.shelfnumber | uri %]">[% s.shelfname | html %]</a>
394 [% IF ( loop.last ) %][% ELSE %]|[% END %]
399 [% IF ( TagsShowEnabled ) %]
400 <div class="results_summary tags">
402 <span class="label">Tags from this library:</span>
404 [% FOREACH TagLoo IN TagLoop %]
405 <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 | html %])</span>
406 [% IF ( loop.last ) %][% ELSE %], [% END %]
411 <span class="label">Tags from this library:</span> <span class="notags">No tags from this library for this title.</span>
413 [% IF ( TagsInputEnabled ) %]
414 [% IF ( loggedinusername ) %]
415 <form id="tagform[% biblio.biblionumber | html %]" method="post" action="/cgi-bin/koha/opac-tags.pl" style="display:none;">
416 <label for="newtag[% biblio.biblionumber | html %]">New tag(s), separated by a comma:</label>
417 <p class="emoji-picker-container">
419 name="newtag[% biblio.biblionumber | html %]"
420 id="newtag[% biblio.biblionumber | html %]"
423 data-emojiable="true"
424 data-emoji-input="unicode">
426 <input name="tagbutton" class="btn btn-small tagbutton" title="[% biblio.biblionumber | html %]" type="submit" value="Add" />
427 <a class="cancel_tag_add" id="cancel[% biblio.biblionumber | html %]" href="#">(done)</a>
430 <span id="newtag[% biblio.biblionumber | html %]_status" class="tagstatus" style="display:none;">
433 <a class="tag_add" id="tag_add[% biblio.biblionumber | html %]" href="#">Add tag(s)</a>
435 <span id="login4tags">
436 [% IF Koha.Preference('casAuthentication') %]
437 [%# CAS authentication is too complicated for modal window %]
438 <a href="/cgi-bin/koha/opac-user.pl">Log in to add tags.</a>
440 <a class="loginModal-trigger" data-toggle="modal" role="button" href="/cgi-bin/koha/opac-user.pl">Log in to add tags.</a>
444 [% END # / IF TagsInputEnabled %]
446 [% END # /IF TagsShowEnabled %]
448 [% IF ( SyndeticsEnabled ) %]
449 [% IF ( SyndeticsSeries && SyndeticsSERIES1Exists ) %]
450 <span class="results_summary">
451 <span class="label">Series information:</span>
452 <a target="_blank" rel="noreferrer" href="https://secure.syndetics.com/ffseries.aspx?isbn=[% normalized_isbn | html %]&type=series&num=1&client=[% SyndeticsClientCode | html %][% IF ( normalized_upc ) %]&upc=[% normalized_upc | html %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc | html %][% END %]">Click to open in new window</a>
454 [% END # / IF SyndeticsSeries && SyndeticsSERIES1Exists%]
455 [% IF ( SyndeticsAVPROFILEExists ) %]
456 <span class="results_summary">
457 <span class="label">Audiovisual profile:</span>
458 <a target="_blank" rel="noreferrer" href="https://secure.syndetics.com/index.aspx?isbn=[% normalized_isbn | html %]/avprofile.html&client=[% SyndeticsClientCode | html %][% IF ( normalized_upc ) %]&upc=[% normalized_upc | html %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc | html %][% END %]&type=xw10">Click to open in new window</a>
460 [% END # / IF SyndeticsAVPROFILEExists %]
462 [% IF ( SyndeticsFICTIONExists ) %]
463 <span class="results_summary">
464 <span class="label">Fiction notes:</span>
465 <a target="_blank" rel="noreferrer" href="https://secure.syndetics.com/index.aspx?isbn=[% normalized_isbn | html %]/fiction.html&client=[% SyndeticsClientCode | html %][% IF ( normalized_upc ) %]&upc=[% normalized_upc | html %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc | html %][% END %]&type=xw10">Click to open in new window</a>
467 [% END # / IF SyndeticsFICTIONExists %]
469 [% IF ( SyndeticsAwards && SyndeticsAWARDS1Exists ) %]
470 <span class="results_summary">
471 <span class="label">Awards:</span>
472 <a target="_blank" rel="noreferrer" href="https://secure.syndetics.com/ffawards.aspx?isbn=[% normalized_isbn | html %]&type=awards&client=[% SyndeticsClientCode | html %][% IF ( normalized_upc ) %]&upc=[% normalized_upc | html %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc | html %][% END %]">Click to open in new window</a>
474 [% END # / IF SyndeticsAwards && SyndeticsAWARDS1Exists %]
475 [% END # / IF SyndeticsEnabled%]
477 [% IF ( OpacStarRatings != 'disable' ) %]
478 <form method="post" action="/cgi-bin/koha/opac-ratings.pl">
479 <div class="results_summary ratings">
481 [% SET rating_avg = ratings.get_avg_rating() %]
482 [% rating_avg_int = BLOCK %][% rating_avg | format("%.0f") %][% END %]
484 [% IF ( borrowernumber ) %]
485 <select id="star_rating" name="rating" data-rating-enabled="1" autocomplete="off">
487 <select id="star_rating" name="rating" data-rating-enabled="0" disabled="disabled" autocomplete="off">
489 [% IF ( rating_avg_int == 0 ) %]
490 <option value="" selected="selected"></option>
492 [% FOREACH i IN [ 1 2 3 4 5 ] %]
493 [% IF rating_avg_int == i %]
494 <option value="[% i | html %]" selected="selected">[% i | html %]</option>
496 <option value="[% i | html %]">[% i | html %]</option>
500 <img id="rating-loading" style="display:none" src="[% interface | html %]/[% theme | html %]/images/spinner-small.gif" alt="" />
502 <!-- define some hidden vars for ratings -->
504 <input type="hidden" name='biblionumber' value="[% biblio.biblionumber | html %]" />
505 <input type="hidden" name='rating_value' id='rating_value' value="[% my_rating.rating_value | html %]" />
507 [% UNLESS ( rating_readonly ) %] <input name="rate_button" type="submit" value="Rate me" />[% END %]
510 <span id="rating_value_text">Your rating: [% my_rating.rating_value | html %].</span>
511 <span id="cancel_rating_text"><a href="#"><i class="fa fa-remove"></i> Cancel rating</a>.</span>
513 <span id="rating_value_text"></span>
514 <span id="cancel_rating_text" style="display:none;"><a href="#"><i class="fa fa-remove"></i> Cancel rating</a>.</span>
517 <span id="rating_text">Average rating: [% rating_avg | html %] ([% ratings.count | html %] votes)</span>
520 [% END # / IF OpacStarRatings != 'disable' %]
522 [% IF ( BakerTaylorContentURL ) %]
523 <span class="results_summary">
524 <span class="label">Enhanced content: </span>
525 [% IF ( OPACURLOpenInNewWindow ) %]<a href="[% BakerTaylorContentURL | url %]" target="_blank" rel="noreferrer">Content Cafe</a>[% ELSE %]<a href="[% BakerTaylorContentURL | url %]">Content Cafe</a>[% END %]
527 [% END # / IF BakerTaylorContentURL %]
529 [% IF ( NovelistSelectProfile && (normalized_isbn || normalized_upc) ) %]
530 [% IF ( NovelistSelectView == 'above') %]
531 <span class="results_summary NovelistSelect" style="display:none;">
532 <span class="label">Novelist Select: </span>
533 <div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]></div>
537 [% END # / IF NovelistSelectProfile %]
539 [% IF ( Babeltheque ) %]
540 <input type="hidden" name="BW_id_isbn" id="BW_id_isbn" value="[% normalized_isbn | html %]"/>
541 <div id="BW_notes"></div>
542 <div id="BW_critiques"></div>
543 <div id="BW_critiques_pro"></div>
544 <div id="BW_citations"></div>
545 [% END # / IF Babeltheque%]
547 </div> <!-- / #catalogue_detail_biblio -->
549 <div id="bibliodescriptions" class="toptabs">
551 [% IF ( defaulttab == 'holdings' ) %]
552 <li id="tab_holdings" class="ui-tabs-active">
554 <li id="tab_holdings">
556 [% BLOCK holding_tab_title %][% IF SeparateHoldings %]<span>[% LoginBranchname | html %] holdings</span>[% ELSE %]<span>Holdings</span>[% END %][% END %]
557 <a href="#holdings">[% PROCESS holding_tab_title %] [% UNLESS too_many_items %][% ' ( ' _ (itemloop.size || 0) _ ' )' | html %][% END %]</a>
559 [% IF (SeparateHoldings) %]
560 <li><a href="#otherholdings">Other holdings [% ' ( ' _ (otheritemloop.size || 0) _ ' )' | html %]</a></li>
562 [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
563 <li id="tab_descriptions"> <a href="#descriptions">Title notes</a></li>
565 [% IF ( SYNDETICS_TOC ) %]
566 <li id="tab_toc"> <a href="#toc">TOC</a></li>
568 [% IF ( SyndeticsEnabled ) %]
569 [% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %]
570 <li id="tab_excerpt"> <a href="#excerpt">Excerpt</a></li>
572 [% IF ( ( SyndeticsReviews && SYNDETICS_REVIEWS ) || ( LibraryThingForLibrariesTabbedView && LibraryThingForLibrariesID) ) %]
573 <li id="tab_reviews"> <a href="#reviews">Reviews</a></li>
574 [% IF ( LibraryThingForLibrariesID ) %]
575 <li id="tab_LTFLreviews">
576 <script src="https://www.librarything.com/forlibraries/widget.js?id=[% LibraryThingForLibrariesID | html %]"></script>
577 <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 | uri %]&accessibility=1">here</a>.</noscript>
581 [% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %]
582 <li id="tab_anotes"> <a href="#anotes">About the author</a></li>
584 [% END # / IF SyndeticsEnabled %]
586 [% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %]
587 <li id="tab_LFTLSimilarItems"> <a href="#LFTLSimilarItems">Similar items</a></li>
588 <li id="tab_LTFLTagBrowse"> <a href="#LTFLTagBrowse">Tag browser</a></li>
591 [% IF ( subscriptionsnumber ) %]
592 [% IF ( defaulttab == 'subscriptions' ) %]<li id="tab_subscriptions" class="ui-tabs-active">[% ELSE %]<li id="tab_subscriptions">[% END %]
593 <a href="#subscriptions">Subscriptions ( [% subscriptionsnumber | html %] )</a>
597 [% IF Koha.Preference( 'reviewson' ) == 1 %]
598 <li id="tab_comments"><a href="#comments">Comments[% ' ( ' _ (reviews.size || 0) _ ' )' | html %]</a></li>
601 [% IF ( NovelistSelectProfile && (normalized_isbn || normalized_upc) ) %]
602 [% IF ( NovelistSelectView == 'tab') %]
603 <li id="tab_NovelistSelect" class="NovelistSelect" style="display:none;"> <a href="#NovelistSelect">Novelist Select</a></li>
607 [% IF ( OPACFRBRizeEditions && XISBNS ) %]
608 <li id="tab_editions"><a href="#editions">Editions</a></li>
611 [% IF ( serialcollection ) %]
612 [% IF ( defaulttab == 'serialcollection' ) %]<li id="tab_serialcollection" class="ui-tabs-active">[% ELSE %]<li id="tab_serialcollection">[% END %]
613 <a href="#serialcollection">Serial collection</a>
617 [% IF ( OPACLocalCoverImages && localimages.size ) %]
618 <li id="tab_images"><a href="#images">Images</a></li>
621 [% IF ( HTML5MediaEnabled && HTML5MediaSets ) %]
622 [% IF ( defaulttab == 'media' ) %]<li id="tab_html5media" class="ui-tabs-active">[% ELSE %]<li id="tab_html5media">[% END %]<a href="#html5media">Play media</a></li>
625 [% IF ( IDreamBooksReviews ) %]
626 <li id='tab_idb_critic_reviews' style="display:none;"><a href='#idb_critic_reviews'>Book reviews by critics ( XXX )</a></li>
630 [% IF ( serialcollection ) %]
631 <div id="serialcollection">
632 <table id="serialcollectiont" class="table table-bordered table-striped">
635 <th id="serial_library">Library</th>
636 <th id="serial_collection">Serial collection</th>
637 <th id="serial_itemcallnumber">Item call number</th>
641 [% FOREACH serialcollection IN serialcollections %]
643 <td>[% serialcollection.branch | html %]</td>
644 <td>[% serialcollection.text | html %]</td>
645 <td>[% serialcollection.itemcallnumber | html %]</td>
651 [% END # / IF serialcollection %]
655 [% IF too_many_items %]
656 <p>This record has many physical items ([% items_count | html %]). <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | uri %]&viewallitems=1">Click here to view them all.</a></p>
657 [% ELSIF ( itemloop.size ) %]
658 [% INCLUDE items_table items=itemloop tab="holdings" table_id="holdingst" %]
659 [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %]
660 [% IF acquisition_details.total_quantity == 1 %]
661 <span>1 item is on order.</span>
663 <span>[% acquisition_details.total_quantity | html %] items are on order.</span>
666 [% IF holds_count.defined || priority %]
668 [% IF holds_count.defined %]
669 <span>Total holds: [% holds_count | html %]</span>
672 [% IF holds_count.defined %]
673 <span>(priority [% priority | html %])</span>
675 <span>Overall queue priority: [% priority | html %]</span>
681 [% IF ( ALTERNATEHOLDINGS ) %]
682 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
683 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding | html %]</div>
686 [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %]
687 [% IF acquisition_details.total_quantity == 1 %]
688 <span>1 item is on order.</span>
690 <span>[% acquisition_details.total_quantity | html %] items are on order.</span>
693 <div id="noitems">No physical items for this record</div>
696 [% END # IF itemloop.size %]
697 [% PROCESS 'shelfbrowser.inc' %]
698 [% INCLUDE shelfbrowser tab='holdings' %]
699 <br style="clear:both;" />
700 </div> <!-- / #holdings -->
702 [% IF (SeparateHoldings) %]
703 <div id="otherholdings">
704 [% IF (otheritemloop.size) %]
705 [% INCLUDE items_table items=otheritemloop tab="otherholdings" table_id="otherholdingst" %]
707 <span>No other items.</span>
709 [% INCLUDE shelfbrowser tab='otherholdings' %]
711 [% END # / SeparateHoldings %]
713 [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
714 <div id="descriptions">
715 <div class="content_set">
717 [% IF ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY ) %]
718 <h4>Enhanced descriptions from Syndetics:</h4>
719 <p>[% SYNDETICS_SUMMARY | html %]</p>
722 [% IF ( MARCNOTES ) %]
724 [% FOREACH MARCNOTE IN MARCNOTES %]
726 [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
727 <a href="[% MARCNOTE.marcnote | url %]">[% MARCNOTE.marcnote | html %]</a>
729 [% MARCNOTE.marcnote | html | html_line_break %]
736 <p>[% notes | html %]</p>
741 </div> <!-- / #descriptions -->
742 [% END # / IF MARCNOTES || notes %]
744 [% IF ( SyndeticsEnabled ) %]
745 [% IF ( SyndeticsTOC && SYNDETICS_TOC ) %]
747 <div class="content_set">
748 <h3>Table of contents provided by Syndetics</h3>
750 [% FOREACH SYNDETICS_TO IN SYNDETICS_TOC %]
751 <li><b>[% SYNDETICS_TO.l | html %] [% SYNDETICS_TO.t | html %]</b>[% IF ( SYNDETICS_TO.p ) %] ([% SYNDETICS_TO.p | html %])[% END %]</li>
756 [% END # / IF SyndeticsTOC && SYNDETICS_TOC %]
758 [% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %]
760 <div class="content_set">
761 <h3>Excerpt provided by Syndetics</h3>
762 [% SYNDETICS_EXCERPT | html %]
765 [% END # / IF SyndeticsExcerpt && SYNDETICS_EXCERPT %]
767 [% IF ( SyndeticsReviews && SYNDETICS_REVIEWS ) %]
769 <div class="content_set">
770 <h3>Reviews provided by Syndetics</h3>
771 [% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %]
772 [% IF ( SYNDETICS_REVIEW.title ) %]
773 <h4>[% SYNDETICS_REVIEW.title | html %]</h4>
774 [% FOREACH review IN SYNDETICS_REVIEW.reviews %]
776 [% IF ( review.content ) %]
777 [% review.content | html %]
785 [% END # / IF SyndeticsReviews && SYNDETICS_REVIEWS %]
787 [% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %]
789 <div class="content_set">
790 <h3>Author notes provided by Syndetics</h3>
791 [% FOREACH SYNDETICS_ANOTE IN SYNDETICS_ANOTES %]
792 [% IF ( SYNDETICS_ANOTE.content ) %]
793 [% SYNDETICS_ANOTE.content | html %]
798 [% END # / IF SyndeticsReviews && SYNDETICS_REVIEWS %]
799 [% END # / IF SyndeticsEnabled %]
801 [% IF ( NovelistSelectProfile && NovelistSelectView == 'tab' && (normalized_isbn || normalized_upc) ) %]
802 <div id="NovelistSelect" >
803 <div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]></div>
805 [% END # / IF NovelistSelectProfile && NovelistSelectView == 'tab' %]
807 [% IF ( subscriptionsnumber ) %]
808 <div id="subscriptions">
809 <h2>This is a serial</h2>
810 <p class="subscription_count">There are [% subscriptionsnumber | html %] subscription(s) associated with this title.</p>
811 [% FOREACH subscription IN subscriptions %]
812 [% IF ( subscription.branchcode ) %]
813 <h3>At library: [% Branches.GetName( subscription.branchcode ) | html %]</h3>
815 [% IF ( subscription.branchcode ) %]
816 <h3>At library: [% subscription.branchcode | html %]</h3>
819 [% IF ( subscription.closed ) %]
820 <p class="subscription_closed">This subscription is closed.</p>
822 [% IF ( subscription.location ) %]
823 <p class="subscription_location">Location: [% AuthorisedValues.GetByCode( 'LOC', subscription.location, 1 ) | html %]
825 [% IF ( subscription.callnumber ) %]
826 <p class="subscription_callnumber">Call number: [% subscription.callnumber | html %]</p>
828 [% IF ( subscription.subscriptionnotes ) %]
829 <p class="subscription_notes">[% subscription.subscriptionnotes | html | html_line_break %] </p>
831 <p class="subscription_dates">Subscription from: [% subscription.histstartdate | $KohaDates %] to:[% IF ( subscription.histenddate ) %] [% subscription.histenddate | $KohaDates %] [% ELSE %] now (current)[% END %]</p>
832 [% IF ( subscription.letter ) %]<span class="email_notifications">
833 [% IF ( loggedinusername ) %]
834 [% IF ( subscription.hasalert ) %]
835 <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&subscriptionid=[% subscription.subscriptionid | html %]&biblionumber=[% subscription.biblionumber | html %]">Cancel email notification</a>
837 <a style="color:#000;" class="btn" title="Subscribe to email notification on new issues" href="/cgi-bin/koha/opac-alert-subscribe.pl?subscriptionid=[% subscription.subscriptionid | html %]&biblionumber=[% subscription.biblionumber | html %]">Subscribe to email notification on new issues</a>
840 <span>You must log in if you want to subscribe to email notification on new issues</span>
843 [% IF ( subscription.missinglist ) %]
844 <p class="subscription_missing">Missing issues: [% subscription.missinglist | html | html_line_break %] </p>
846 [% IF ( subscription.opacnote ) %]
847 <p class="subscription_opacnote">[% subscription.opacnote | html | html_line_break %]</p>
849 [% IF ( subscription.latestserials ) %]
850 <p class="subscription_latestissues"> The [% subscription.opacdisplaycount | html %] latest issues for this subscription:</p>
851 <table class="table table-bordered table-striped" id="subscriptionst">
854 <th id="serial_serialseq" data-colname="serial_serialseq">Issue #</th>
855 <th id="serial_publisheddate" data-colname="serial_publisheddate" class="title-string">Publication date</th>
856 <th id="serial_planneddate" data-colname="serial_planneddate" class="title-string">Received date</th>
857 <th id="serial_status" data-colname="serial_status">Status</th>
858 <th id="serial_notes" data-colname="serial_notes">Note</th>
862 [% FOREACH latestserial IN subscription.latestserials %]
864 <td class="serialseq">[% latestserial.serialseq | html %]</td>
865 <td class="publisheddate"><span title="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</span></td>
866 <td class="planneddate"><span title="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</span></td>
867 <td class="serial_status">
868 [% IF (latestserial.status1 ) %]<span>Expected</span>[% END %]
869 [% IF (latestserial.status2 ) %]<span>Arrived</span>[% END %]
870 [% IF (latestserial.status3 ) %]<span>Late</span>[% END %]
871 [% IF (latestserial.status4 ) %]<span>Missing</span>[% END %]
872 [% IF (latestserial.status41 ) %]<span>Missing (never received)</span>[% END %]
873 [% IF (latestserial.status42 ) %]<span>Missing (sold out)</span>[% END %]
874 [% IF (latestserial.status43 ) %]<span>Missing (damaged)</span>[% END %]
875 [% IF (latestserial.status44 ) %]<span>Missing (lost)</span>[% END %]
876 [% IF (latestserial.status5 ) %]<span>Not issued</span>[% END %]
877 [% IF (latestserial.status6 ) %]<span>Delete</span>[% END %]
878 [% IF (latestserial.status7 ) %]<span>Claimed</span>[% END %]
879 [% IF (latestserial.status8 ) %]<span>Stopped</span>[% END %]
881 <td class="serial_notes">[% latestserial.notes | html %]</td>
883 [% END # / FOREACH latestserials %]
886 [% END # / IF subscription.latestserials %]
887 [% END # / FOREACH subscriptions %]
888 <p class="subscription_moredetails"><a href="opac-serial-issues.pl?biblionumber=[% biblio.biblionumber | uri %]">More details</a></p>
889 </div> <!-- / #subscriptions -->
890 [% END # IF subscriptionsnumber %]
892 [% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %]
893 <!-- Library Thing for Libraries Content -->
894 <div id="LFTLSimilarItems">
895 <div class="content_set">
896 <!-- Uncommenting this span makes the font smaller in the tab for LTFL -->
897 <!-- but breaks Xhtml validation -->
898 <!-- <span class="results_summary">-->
899 <div id="ltfl_related"></div>
900 <div id="ltfl_similars"></div>
904 <div id="LTFLTagBrowse">
905 <div class="content_set">
906 <!-- <span class="results_summary"> -->
907 <div id="ltfl_tagbrowse" class="ltfl"></div>
911 [% END # / IF LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView %]
913 [% IF Koha.Preference( 'reviewson' ) == 1 %]
915 <div id="newcomment"></div>
917 [% FOREACH review IN reviews %]
918 [% IF borrowernumber && review.borrowernumber == borrowernumber %]
919 <div class="commentline yours" id="c[% review.reviewid | html %]">
920 [% IF ( review.avatarurl ) %]
921 <img class="avatar" src="[% review.avatarurl | html %]" height="80" width="80" alt="" />
923 [% IF review.approved %]
924 <h5>Your comment</h5>
926 <h5>Your comment (preview, pending approval)</h5>
928 <small>[% review.datereviewed | $KohaDates %]</small>
930 [% FILTER html_break %]
931 [% review.review | html %]
933 <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber | html %]&reviewid=[% review.reviewid | html %]');">Edit</a>
937 <div class="commentline">
938 [% IF ( ShowReviewer != "none" && review.patron) %]
940 [% IF ( review.avatarurl ) %]
941 <img class="avatar" src="[% review.avatarurl | html %]" height="80" width="80" alt="" />
943 [% SWITCH ShowReviewer %]
945 <h5>Comment by [% review.patron.title | html %] [% review.patron.firstname | html %] [% review.patron.surname | html %]</h5>
947 <h5>Comment by [% review.patron.firstname | html %]</h5>
949 <h5>Comment by [% review.patron.surname | html %]</h5>
950 [% CASE 'firstandinitial' %]
951 <h5>Comment by [% review.patron.firstname | html %] [% review.patron.surname|truncate(2,'.') | html %]</h5>
952 [% CASE 'username' %]
953 <h5>Comment by [% review.patron.userid | html %]</h5>
956 <small>[% review.datereviewed | $KohaDates %]</small>
958 <h5>Patron comment on [% review.datereviewed | $KohaDates %]</h5>
959 [% END # / IF ShowReviewer != "none" && review.patron %]
961 [% FILTER html_break %]
962 [% review.review | html %]
965 </div> <!-- / .commentline -->
967 [% END # / FOREACH reviews %]
969 <p>There are no comments for this item.</p>
970 [% END # / IF reviews %]
972 [% IF ( loggedinusername ) %]
973 [% UNLESS ( loggedincommenter ) %]
974 <div id="addcomment"> <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% biblio.biblionumber | html %]'); return false;">
975 Post your comments on this item.
979 <div id="addcomment"><a class="login-link loginModal-trigger" role="button" data-toggle="modal" href="/cgi-bin/koha/opac-user.pl">Log in to your account</a> to post a comment.</div>
980 [% END # / IF loggedinusername %]
981 </div> <!-- / #comments -->
982 [% END # / IF reviewson %]
984 [% IF ( OPACFRBRizeEditions && XISBNS ) %]
986 <h4>Other editions of this work</h4>
987 <table class="table table-bordered table-striped">
988 [% FOREACH XISBN IN XISBNS %]
991 [% IF ( OPACAmazonCoverImages ) %]
992 <img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn | html %].01._AA75_PU_PU-5_.jpg" alt="" />
995 [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
996 [% IF ( XISBN.content_identifier_exists ) %]
997 <img src="https://secure.syndetics.com/index.aspx?isbn=[% XISBN.browser_normalized_isbn | html %]/SC.GIF&client=[% SyndeticsClientCode | html %][% IF ( XISBN.browser_normalized_upc ) %]&upc=[% XISBN.browser_normalized_upc | html %][% END %][% IF ( XISBN.browser_normalized_oclc ) %]&oclc=[% XISBN.browser_normalized_oclc | html %][% END %]&type=xw10" alt="" />
999 <span class="no-image">No cover image available</span>
1000 [% END # / IF XISBN.content_identifier_exists %]
1001 [% END # / IF SyndeticsEnabled && SyndeticsCoverImages %]
1004 [% UNLESS ( item_level_itypes ) %]
1005 <td>[% XISBN.description | html %]</td>
1007 <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% XISBN.biblionumber | uri %]">[% XISBN.title | html %]</a>
1008 [% IF ( XISBN.author ) %]<span> by </span>[% XISBN.author | html %][% END %]
1009 [% IF ( XISBN.copyrightdate ) %]<span> ©</span>[% XISBN.copyrightdate | html %][% END %]
1010 [% IF ( XISBN.publishercode ) %]
1011 <p>[% XISBN.publishercode | html %]
1012 [% IF ( XISBN.place ) %]([% XISBN.place | html %])[% END %]
1013 [% IF ( XISBN.publicationyear ) %][% ', ' _ XISBN.publicationyear | html %][% END %]
1014 [% IF ( XISBN.pages ) %][% XISBN.pages | html %] [% XISBN.illus | html %] [% XISBN.size | html %][% END %]
1019 [% END # / FOREACH XISBNS %]
1021 </div> <!-- / #editions -->
1022 [% END # / IF OPACFRBRizeEditions && XISBNS %]
1024 [% IF ( HTML5MediaEnabled ) %]
1025 <div id="html5media">
1026 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
1028 [% SET ctrl_preload = ' controls preload=none' #translatability %]
1029 <[% HTML5MediaParent _ ctrl_preload | html %] >
1030 <[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | html %]" [% HTML5MediaSet.typeblock | html %] />
1031 <span>[[% HTML5MediaParent | html %] tag not supported by your browser.]</span>
1032 </[% HTML5MediaParent | html %]>
1036 [% END # / IF HTML5MediaEnabled %]
1038 [% IF ( OPACLocalCoverImages && localimages.size ) %]
1040 <p>Click on an image to view it in the image viewer</p>
1041 [% FOREACH image IN localimages %]
1043 <a class="localimage" href="/cgi-bin/koha/opac-imageviewer.pl?biblionumber=[% biblio.biblionumber | html %]&imagenumber=[% image | html %]"><img alt="" src="/cgi-bin/koha/opac-image.pl?thumbnail=1&imagenumber=[% image | html %]" /></a>
1046 </div><!-- / #images -->
1047 [% END # / IF OPACLocalCoverImages && localimages.size %]
1049 [% IF ( IDreamBooksReviews ) %]
1050 <div id="idb_critic_reviews">
1051 <div id="idb_review_snippets"></div>
1052 <span><a id="seemoreidb">More book reviews at iDreamBooks.com</a></span>
1055 </div> <!-- / #bibliodescriptions -->
1057 [% IF ( NovelistSelectProfile && NovelistSelectView == 'below' && ( normalized_isbn || normalized_upc ) ) %]
1058 <div id="NovelistSelect">
1059 <h3>Novelist Select</h3>
1060 <div data-novelist-novelistselect="[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]"></div>
1064 [% IF ( Babeltheque ) %]
1066 <div id="BW_etiquettes"></div>
1067 <div id="BW_suggestions"></div>
1069 <div class="clearfix"></div>
1071 <div id="BW_podcasts"></div>
1073 <div class="clearfix"></div>
1075 <div id="BW_videos"></div>
1077 [% END # / IF Babeltheque %]
1079 [%# Following on one line due to translation issues %]
1080 [% INCLUDE "openlibrary-readapi.inc" bib = { normalized_isbn => normalized_isbn,lccn => lccn, normalized_oclc => normalized_oclc } %]
1082 </div> <!-- /.span9 -->
1085 <div id="ulactioncontainer">
1087 [% IF ( Koha.Preference('OpacBrowseResults') && busc ) %]
1088 <div class="nav_results">
1089 <div class="l_Results" style="display:none;">
1090 [% IF ( listResults ) %]
1091 <a href="#" id="a_listResults"><i class="fa fa-bars"></i> Browse results</a>
1093 <span><i class="fa fa-bars"></i> Browse results</span>
1095 <a href="#" class="close_pagination"><i class="fa fa-remove"></i> Close</a>
1097 <ul class="pg_menu clearfix">
1098 <li class="left_results">
1099 [% IF ( previousBiblionumber ) %]
1100 <a href="opac-detail.pl?biblionumber=[% previousBiblionumber | uri %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="See: [% IF ( previousTitle ) %][% previousTitle | html %][% ELSE %]previous biblio[% END %]"><i class="fa fa-angle-double-left"></i> Previous</a>
1102 <span>Previous</span>
1105 [%# busc is already URI encoded %]
1106 <li class="back_results"><a href="opac-search.pl?[% busc | $raw %]" title="Back to the results search list">Back to results</a></li>
1107 <li class="right_results">
1108 [% IF ( nextBiblionumber ) %]
1109 <a href="opac-detail.pl?biblionumber=[% nextBiblionumber | uri %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="See: [% IF ( nextTitle ) %][% nextTitle | html %][% ELSE %]next biblio[% END %]">Next <i class="fa fa-angle-double-right"></i></a>
1115 [% IF ( listResults ) %]
1116 <div class="results-pagination">
1117 <div class="nav_pages">
1118 <ul id="listResults">
1119 [% FOREACH listitem IN listResults %]
1120 [% IF ( listitem.biblionumber == biblionumber ) %]
1121 <li class="li_pag_[% loop.count | html %] highlight">
1123 <li class="li_pag_[% loop.count | html %]">
1125 <a href="opac-detail.pl?biblionumber=[% listitem.biblionumber | uri %]&query_desc=[% query_desc |uri %]" title="View record "[% listitem.title | html %]"" class="a_pag" id="a_pag_[% loop.count | html %]">[% loop.count + offset | html %]</a></li>
1129 <div class="pagination_list">
1130 <ul id="ul_pagination_lists">
1131 [% FOREACH listitem IN listResults %]
1132 [% IF ( listitem.biblionumber == biblionumber ) %]
1133 <li id="li_pag_[% loop.count | html %]" class="highlight" title="Go to detail"><span class="li_pag_index"><i class="fa fa-arrow-left"></i> [% loop.count + offset | html %]</span><a href="opac-detail.pl?biblionumber=[% biblionumber | uri %]&query_desc=[% query_desc |uri %]">[% title | html %]</a><br> [% IF ( author ) %]by [% author | html %][% END %]</li>
1135 <li id="li_pag_[% loop.count | html %]" title="Go to detail"><span class="li_pag_index">[% loop.count + offset | html %]</span><a href="opac-detail.pl?biblionumber=[% listitem.biblionumber | uri %]&query_desc=[% query_desc |uri %]">[% listitem.title | html %]</a><br> [% IF ( listitem.author ) %]by [% listitem.author | html %][% END %]</li>
1142 <div class="pagination_footer">
1143 <a href="#" class="close_pagination"><i class="fa fa-remove"></i> Close</a>
1146 [% END # / IF OpacBrowseResults && busc %]
1148 [% INCLUDE 'opac-detail-sidebar.inc' %]
1150 [% IF ( NovelistSelectProfile && NovelistSelectView == 'right' && ( normalized_isbn || normalized_upc ) ) %]
1151 <div id="NovelistSelect">
1152 <h4>Novelist Select</h4>
1153 <div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]></div>
1157 [% IF ( Babeltheque ) %]
1158 <div class="babeltheque_adds">
1159 <div id="BW_critiques_aj"></div>
1160 <div id="BW_citations_aj"></div>
1164 [% IF ( Koha.Preference('SocialNetworks') ) %]
1165 <div id="social_networks" class="clearfix">
1167 [% SET SocialNetworks = Koha.Preference('SocialNetworks') %]
1168 [% FOREACH network IN SocialNetworks.split(",") %]
1169 [% SWITCH network -%]
1170 [% CASE "facebook" -%]
1171 <div><a id="facebook" href="https://www.facebook.com/sharer.php?u=[% current_url |url %]&t=[% title |url %]" title="Share on Facebook"><i class="fa fa-facebook"></i></a></div>
1172 [% CASE "linkedin" -%]
1173 <div><a id="linkedin" href="https://www.linkedin.com/shareArticle?mini=true&url=[% current_url |url %]&title=[% title |url %]" title="Share on LinkedIn"><i class="fa fa-linkedin"></i></a></div>
1175 <div><a id="email" href="mailto:?subject=[% title |url %]&body=[% title |url %]%20([% current_url |url %])" title="Share by email"><i class="fa fa-envelope-o"></i></a></div>
1176 [% CASE "twitter" -%]
1177 <div><a id="twitter" href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-text="[% title |url %]" data-lang="[% lang | html %]" title="Share on Twitter"><i class="fa fa-twitter"></i></a></div>
1181 [% END # /IF SocialNetworks %]
1182 </div> <!-- / .ulactioncontainer -->
1183 </div> <!-- / .span4 -->
1184 </div> <!-- / .row-fluid -->
1185 <div class="row-fluid">
1186 [% IF ( LibraryThingForLibrariesID ) %]
1187 <script src="https://ltfl.librarything.com/forlibraries/widget.js?systype=koha&id=[% LibraryThingForLibrariesID | html %]"></script>
1188 <noscript>This page contains enriched content visible when JavaScript is enabled or by clicking
1189 <a href="https://www.librarything.com/forlibraries/noscript.php?id=[% LibraryThingForLibrariesID | uri %]&accessibility=1">here</a>.</noscript>
1192 [% IF ( NovelistSelectProfile && ( normalized_isbn || normalized_upc ) ) %]
1193 <script src="https://imageserver.ebscohost.com/novelistselect/ns2init.js"></script>
1196 [% IF ( Babeltheque ) %]
1197 <script src="[% Babeltheque_url_js | html %]"></script>
1199 </div> <!-- / .row-fluid -->
1200 </div> <!-- / .container-fluid -->
1201 </div> <!-- / .main -->
1203 [% INCLUDE 'opac-bottom.inc' %]
1205 [%# End of template %]
1207 [% BLOCK items_table %]
1208 <table class="table table-bordered table-striped" id="[% table_id | html %]">
1211 [% IF ( item_level_itypes ) %]
1212 <th id="item_itemtype" data-colname="item_itemtype" class="itype">Item type</th>[% END %]
1213 [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %]
1214 <th id="item_current_location" data-colname="item_current_location" class="item_location">Current location</th>[% END %]
1215 [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]
1216 <th id="item_home_location" data-colname="item_home_location" class="item_location">Home library</th>[% END %]
1217 [% IF ( itemdata_ccode ) %]
1218 <th id="item_ccode" data-colname="item_ccode" class="collection">Collection</th>[% END %]
1219 [% IF ( Koha.Preference('OpacLocationOnDetail') == 'column' && itemdata_location ) %]
1220 <th id="item_shelving_location" data-colname="item_shelving_location" class="shelving_location">Shelving location</th>[% END %]
1221 <th id="item_callnumber" data-colname="item_callnumber" class="call_no">Call number</th>
1222 [% IF ( itemdata_enumchron ) %]
1223 <th id="item_enumchron" data-colname="item_enumchron" class="vol_info">Vol info</th>[% END %]
1224 [% IF ( itemdata_uri ) %]
1225 <th id="item_url" data-colname="item_url" class="url">URL</th>[% END %]
1226 [% IF ( itemdata_copynumber ) %]
1227 <th id="item_copy" data-colname="item_copy" class="copynumber">Copy number</th>[% END %]
1228 <th id="item_status" data-colname="item_status" class="status">Status</th>
1229 [% IF ( itemdata_itemnotes ) %]
1230 <th id="item_notes" data-colname="item_notes" class="notes">Notes</th>[% END %]
1231 <th id="item_datedue" data-colname="item_datedue" class="date_due">Date due</th>
1232 <th id="item_barcode" data-colname="item_barcode" class="barcode">Barcode</th>
1233 [% IF holds_count.defined %]
1234 <th id="item_holds" data-colname="item_holds">Item holds</th>
1235 [% ELSIF show_priority %]
1236 <th id="item_priority" data-colname="item_priority">Item hold queue priority</th>
1238 [% IF ( ShowCourseReservesHeader ) %]
1239 <th id="item_coursereserves" data-colname="item_coursereserves">Course reserves</th>[% END %]
1243 [% FOREACH ITEM_RESULT IN items %]
1244 [% IF ITEM_RESULT.this_branch %]
1245 <tr class="highlight-row-detail" vocab="http://schema.org/" typeof="Offer">
1247 <tr vocab="http://schema.org/" typeof="Offer">
1249 [% IF ( item_level_itypes ) %]
1251 [% UNLESS ( noItemTypeImages ) %]
1252 [% IF ( ITEM_RESULT.imageurl ) %]
1253 <img src="[% ITEM_RESULT.imageurl | html %]" title="[% ITEM_RESULT.description | html %]" alt="[% ITEM_RESULT.description | html %]" />
1256 [% ITEM_RESULT.description | html %]
1259 [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %]
1260 <td class="location" property="seller">
1261 <link property="itemOffered" href="#record" />
1262 <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
1263 <span class="[% ITEM_RESULT.holding_branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]" title="">
1264 [% IF ( ITEM_RESULT.branchurl ) %]
1265 <a href="[% ITEM_RESULT.branchurl | url %]">[% ITEM_RESULT.branchname | html %]</a>
1267 <span>[% ITEM_RESULT.branchname | html %]</span>
1270 <div class="branch-info-tooltip">[% ITEM_RESULT.holding_branch_opac_info | $raw %]</div>
1272 [% IF ( Koha.Preference('OpacLocationOnDetail') == 'holding' || Koha.Preference('OpacLocationOnDetail') == 'both' ) %]
1273 <span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span>
1279 [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]
1280 <td class="location" property="seller">
1281 <link property="itemOffered" href="#record" />
1282 <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
1283 <span class="[% ITEM_RESULT.home_branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]" title="">
1284 [% IF Branches.GetURL( ITEM_RESULT.homebranch ) %]
1285 [% home_branch_url = Branches.GetURL( ITEM_RESULT.homebranch ) %]
1286 [% IF ( home_branch_url ) %]
1287 <a href="[% home_branch_url | url %]">[% Branches.GetName( ITEM_RESULT.homebranch ) | html %]</a>
1289 <span>[% Branches.GetName( ITEM_RESULT.homebranch ) | html %]</span>
1292 <span>[% Branches.GetName( ITEM_RESULT.homebranch ) | html %]</span>
1295 <div class="branch-info-tooltip">[% ITEM_RESULT.home_branch_opac_info | $raw %]</div>
1297 [% IF ( Koha.Preference('OpacLocationOnDetail') == 'home' || Koha.Preference('OpacLocationOnDetail') == 'both' ) %]
1298 <span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span>
1304 [% IF ( itemdata_ccode ) %]
1305 <td class="collection">[% ITEM_RESULT.ccode | html %]</td>
1308 [% IF ( Koha.Preference('OpacLocationOnDetail') == 'column' && itemdata_location ) %]
1309 <td class="shelving_location"><span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span></td>
1312 <td class="call_no" property="sku">
1313 [% IF ( ITEM_RESULT.itemcallnumber ) %]
1314 [% ITEM_RESULT.itemcallnumber | html %]
1315 [% IF ( OPACShelfBrowser ) %]
1316 [% IF ( ITEM_RESULT.itemnumber == starting_itemnumber ) %]
1317 (<a class="close_shelf" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber | html %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber | html %]#[% tab | html %]">Browse shelf</a>)
1319 (<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber | uri %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber | uri %]#[% tab | uri %]">Browse shelf</a>)
1324 [% IF ( itemdata_enumchron ) %]
1325 <td class="vol_info">
1326 [% IF ITEM_RESULT.enumchron && ITEM_RESULT.serialseq %]
1327 <span class="enum">[% ITEM_RESULT.enumchron | html %]</span>
1328 [% IF ( ITEM_RESULT.serialseq && ITEM_RESULT.enumchron!=ITEM_RESULT.serialseq ) %]
1329 <span class="sep"> -- </span>
1330 <span class="serialseq">[% ITEM_RESULT.serialseq | html %]</span>
1332 [% ELSIF ITEM_RESULT.enumchron %]
1333 <span class="enum">[% ITEM_RESULT.enumchron | html %]</span>
1334 [% ELSIF ITEM_RESULT.serialseq %]
1335 <span class="serialseq">[% ITEM_RESULT.serialseq | html %]</span>
1337 [% IF ( ITEM_RESULT.publisheddate ) %]
1338 <span class="pubdate">([% ITEM_RESULT.publisheddate | $KohaDates %])</span>
1342 [% IF ( itemdata_uri ) %]
1344 [% IF ITEM_RESULT.uri %]
1345 [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1346 [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1347 <a target="_blank" rel="noreferrer" href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&biblionumber=[% biblio.biblionumber | html %]&itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url"> Link to resource </a>
1349 <a href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&biblionumber=[% biblio.biblionumber | uri %]&itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url"> Link to resource </a>
1353 [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1354 <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri | url %]" property="url">[% ITEM_RESULT.uri | html %]</a>
1356 <a href="[% ITEM_RESULT.uri | url %]" property="url">[% ITEM_RESULT.uri | html %]</a>
1362 [% IF ( itemdata_copynumber ) %]<td class="copynumber">[% ITEM_RESULT.copynumber | html %]</td>[% END %]
1363 <td class="status">[% INCLUDE 'item-status-schema-org.inc' item = ITEM_RESULT %][% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
1364 [% IF ( itemdata_itemnotes ) %]<td class="notes" property="description">[% ITEM_RESULT.itemnotes | $raw %]</td>[% END %]
1365 <td class="date_due"><span title="[% ITEM_RESULT.datedue | html %]">[% ITEM_RESULT.datedue | $KohaDates as_due_date => 1 %]</span></td>
1366 <td class="barcode" property="serialNumber">[% ITEM_RESULT.barcode | html %]</td>
1367 [% IF holds_count.defined || show_priority %]
1368 <td class="holds_count">
1369 [% IF holds_count.defined %] [% ITEM_RESULT.holds_count | html %] [% END %]
1370 [% IF ITEM_RESULT.priority %]
1371 [% IF holds_count.defined %]
1372 <span>(priority [% ITEM_RESULT.priority | html %])</span>
1374 <span>[% ITEM_RESULT.priority | html %]</span>
1379 [% IF ShowCourseReservesHeader %]
1381 [% IF ITEM_RESULT.course_reserves %]
1382 [% FOREACH r IN ITEM_RESULT.course_reserves %]
1383 [% IF r.course.enabled == 'yes' %]
1385 <a href="opac-course-details.pl?course_id=[% r.course.course_id | uri %]">
1386 [% r.course.course_name | html %]
1387 <!--[% IF r.course.course_number %] [% r.course.course_number | html %] [% END %]-->
1388 [% IF r.course.section %] [% r.course.section | html %] [% END %]
1389 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term, 1 ) | html %] [% END %]
1396 [% END # /IF ShowCourseReservesHeader %]
1401 [% END %][%# end of items_table block %]
1403 [% BLOCK jsinclude %]
1404 [% INCLUDE 'datatables.inc' %]
1405 [% INCLUDE 'columns_settings.inc' %]
1406 [% INCLUDE greybox.inc %]
1407 [% IF ( SocialNetworks ) %]
1408 <script>!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>
1410 [% IF ( OpacStarRatings != 'disable' ) %][% Asset.js("lib/jquery/plugins/jquery.barrating.min.js") | $raw %][% END %]
1412 [% IF ( OpacHighlightedWords ) %][% Asset.js("lib/jquery/plugins/jquery.highlight-3.js") | $raw %][% END %]
1413 [% IF ( Koha.Preference('OPACDetailQRCode') ) %]
1414 [% Asset.js("lib/kjua/kjua.min.js") | $raw %]
1418 [% IF ( OpacHighlightedWords ) %]
1419 var q_array = new Array(); // holds search terms if available
1421 function highlightOff() {
1422 $("#catalogue_detail_biblio").removeHighlight();
1423 $(".highlight_toggle").toggle();
1425 function highlightOn() {
1427 for (x in q_array) {
1428 if ( q_array[x].length > 0 ) {
1429 q_array[x] = q_array[x].replace(/\w*:([\w])/, "$1");
1430 q_array[x] = q_array[x].toLowerCase();
1431 var myStopwords = "[% Koha.Preference('NotHighlightedWords') | html %]".toLowerCase().split('|');
1432 if( $.inArray(q_array[x], myStopwords) == -1 ) {
1433 $(".title").highlight(q_array[x]);
1434 $(".author").highlight(q_array[x]);
1435 $(".results_summary").highlight(q_array[x]);
1439 $(".highlight_toggle").toggle();
1443 $(document).ready(function() {
1445 [% IF ( Koha.Preference('OPACDetailQRCode') ) %]
1452 text: location.href,
1455 document.getElementById("qrcode").appendChild( qrcode );
1458 $(".show_qrcode").on("click", function(){
1459 var qrcodeImg = $("#qrcode");
1460 if( qrcodeImg.hasClass("hidden") ){
1461 qrcodeImg.removeClass("hidden");
1463 qrcodeImg.addClass("hidden");
1468 $('#bibliodescriptions').tabs();
1469 $(".branch-info-tooltip-trigger").uitooltip({
1470 position: { my: "left+15 center", at: "right center" },
1473 content: function(){
1474 var element = $(this).next("div");
1475 return element.html();
1479 [% IF ( Koha.Preference('OpacBrowseResults') && busc ) %]
1480 $(".l_Results").show();
1481 $("#a_listResults").on("click", function(e){
1483 $(".results-pagination, .close_pagination, .pg_menu").toggle();
1486 $(".close_pagination").on("click", function(e){
1488 $(".results-pagination, .close_pagination, .pg_menu").toggle();
1492 var columns_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'holdingst', 'json' ) | $raw %];
1494 KohaTable("#holdingst", {
1495 dom: '<"clearfix">t',
1497 { "targets": [ -1 ], "sortable": false, "searchable": false },
1498 { "type": "title-string", "targets" : [ "title-string" ] }
1500 "bKohaColumnsUseNames": true,
1502 }, columns_settings);
1504 KohaTable("#otherholdingst", {
1505 dom: '<"clearfix">t',
1507 { "targets": [ -1 ], "sortable": false, "searchable": false },
1508 { "type": "title-string", "targets" : [ "title-string" ] }
1510 "bKohaColumnsUseNames": true,
1512 }, columns_settings);
1514 var serial_column_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %];
1516 KohaTable("#subscriptionst", {
1517 dom: '<"clearfix">t',
1518 "sorting": [[ 1, "desc" ]],
1520 { "type": "title-string", "targets" : [ "title-string" ] }
1523 "bKohaColumnsUseNames": true
1524 }, serial_column_settings);
1526 [% IF ( TagsInputEnabled && loggedinusername ) %]
1527 $(".tag_add").click(function(){
1528 var thisid = $(this).attr("id");
1529 thisid = thisid.replace("tag_add","");
1531 $("#tagform"+thisid).show();
1532 $("#newtag"+thisid).focus();
1533 $("#newtag"+thisid+"_status").empty().hide();
1536 $(".cancel_tag_add").click(function(){
1537 var thisid = $(this).attr("id");
1538 thisid = thisid.replace("cancel","");
1539 $("#tagform"+thisid).hide();
1540 $("#tag_add"+thisid).show();
1541 $("#newtag"+thisid).val("");
1542 $("#newtag"+thisid+"_status").empty().hide();
1545 $(".tagbutton").click(function(){
1546 var thisid = $(this).attr("title");
1547 var tag = $("#newtag"+thisid).val();
1548 if (!tag || (tag == "")) {
1549 alert(MSG_NO_TAG_SPECIFIED);
1552 KOHA.Tags.add_tag_button(thisid, tag);
1557 [%# Note that there is no way atm to target a column with its class name to set it as the default sort order %]
1558 [% IF Koha.Preference('OpacLocationBranchToDisplay') == 'home' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND item_level_itypes
1559 OR Koha.Preference('OpacLocationBranchToDisplay') == 'holding' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'holdingbranch' AND item_level_itypes
1560 OR Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND NOT item_level_itypes
1561 OR Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'holdingbranch' AND item_level_itypes %]
1562 var default_order_index = 1;
1563 [% ELSIF Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND item_level_itypes %]
1564 var default_order_index = 2;
1566 var default_order_index = 0;
1569 [% IF ( query_desc ) %][% IF ( OpacHighlightedWords ) %]var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') | html %]";
1570 q_array = query_desc.split(" ");
1571 q_array = q_array.filter(function(n){ return n }); // Remove empty strings
1573 $("#highlight_toggle_on" ).hide().click(function() {highlightOn() ; return false;});
1574 $("#highlight_toggle_off").show().click(function() {highlightOff(); return false;});[% END %][% END %]
1575 [% IF ( GoogleJackets ) %]
1576 KOHA.Google.GetCoverFromIsbn([% covernewwindow | html %]);
1578 [% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %]
1579 KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]',[% covernewwindow | html %]);
1582 [% IF OpenLibraryCovers %]
1583 KOHA.OpenLibrary.GetCoverFromIsbn();
1585 [% IF OPACLocalCoverImages %]
1586 KOHA.LocalCover.GetCoverFromBibnumber(true);
1588 [% IF ( NovelistSelectProfile && ( normalized_isbn || normalized_upc ) ) %]
1589 novSelect.loadContentForQuery(
1591 ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]',
1592 ISBN : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]',
1595 '[% NovelistSelectProfile | html %]',
1596 '[% NovelistSelectPassword | html %]',
1598 if ( d.length > 0 ){ //If no content
1599 $(".NovelistSelect").show();
1604 [% IF ( OPACShelfBrowser ) %]
1606 (function prepareShelfBrowser(){
1608 $(".main").on("click",".close_shelf",function(e){
1610 $("#shelfbrowser").toggle();
1612 $(".main").on("click", "#browser_previous a", function(e){
1615 url: "/cgi-bin/koha/svc/shelfbrowser.pl",
1618 "shelfbrowse_itemnumber": $("#browser_previous a").data( "prev-itemnumber" )
1620 success: function(data){
1621 $("#shelfbrowser").replaceWith(data);
1622 [% IF ( GoogleJackets ) %]
1623 KOHA.Google.GetCoverFromIsbn([% covernewwindow | html %]);
1625 [% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %]
1626 KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]',[% covernewwindow | html %]);
1628 [% IF OpenLibraryCovers %]
1629 KOHA.OpenLibrary.GetCoverFromIsbn();
1631 [% IF OPACLocalCoverImages %]
1632 KOHA.LocalCover.GetCoverFromBibnumber(true);
1638 $(".main").on("click", "#browser_next a", function(e){
1641 url: "/cgi-bin/koha/svc/shelfbrowser.pl",
1644 "shelfbrowse_itemnumber": $("#browser_next a").data( "next-itemnumber" )
1646 success: function(data){
1647 $("#shelfbrowser").replaceWith(data);
1648 [% IF ( GoogleJackets ) %]
1649 KOHA.Google.GetCoverFromIsbn([% covernewwindow | html %]);
1651 [% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %]
1652 KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]',[% covernewwindow | html %]);
1654 [% IF OpenLibraryCovers %]
1655 KOHA.OpenLibrary.GetCoverFromIsbn();
1657 [% IF OPACLocalCoverImages %]
1658 KOHA.LocalCover.GetCoverFromBibnumber(true);
1665 [% IF ( OpacStarRatings != 'disable' ) %]
1666 // -----------------------------------------------------
1667 // star-ratings code
1668 // -----------------------------------------------------
1669 // hide 'rate' button if javascript enabled
1671 $('input[name="rate_button"]').remove();
1673 var rating_enabled = ( $("#star_rating").data("rating-enabled") == "1" ) ? false : true;
1674 $('#star_rating').barrating({
1675 theme: 'fontawesome-stars',
1676 showSelectedRating: false,
1678 deselectable: false,
1679 readonly: rating_enabled,
1680 onSelect: function(value, text) {
1681 $("#rating-loading").show();
1682 $.post("/cgi-bin/koha/opac-ratings-ajax.pl", {
1683 rating_old_value: $("#rating_value").attr("value"),
1684 borrowernumber: "[% borrowernumber | html %]",
1685 biblionumber: "[% biblio.biblionumber | html %]",
1686 rating_value: value,
1688 }, function (data) {
1689 $("#rating_value").val(data.rating_value);
1690 if (data.rating_value) {
1691 $("#rating_value_text").text(_("Your rating: %s, ").format(data.rating_value));
1692 $("#cancel_rating_text").show();
1694 $("#rating_value_text").text('');
1695 $("#cancel_rating_text").hide();
1697 $("#rating_text").text(_("Average rating: %s (%s votes)").format(data.rating_avg, data.rating_total));
1698 $("#rating-loading").hide();
1703 $("#cancel_rating_text a").on("click", function(e){
1705 $("#star_rating").barrating("set", "");
1708 [% END # / IF ( OpacStarRatings != 'disable' )%]
1710 [% IF ( IDreamBooksReviews || IDreamBooksReadometer ) %]
1711 var isbn = $(".isbn:last").text().split(" ")[1];
1713 isbn = isbn.replace(/\W*$/, '');
1714 isbn = isbn.replace(/-/, '');
1716 if ($.browser.msie && parseInt($.browser.version, 10) >= 8 && window.XDomainRequest) {
1717 // Use Microsoft XDR for IE version 8 or above
1718 var xdr = new XDomainRequest();
1719 xdr.open("get", "https://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e");
1720 xdr.onload = function() {
1721 json = 'json = '+xdr.responseText; // the string now looks like.. json = { ... };
1722 eval(json); // json is now a regular JSON object
1723 parseIDBJSON(json); // parse using same function as for jQuery's success event
1727 $.getJSON("https://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e", function(json){
1732 [% END # / IDreamBooksReviews || IDreamBooksReadometer%]
1735 [% IF ( IDreamBooksReviews || IDreamBooksReadometer ) %]
1736 function parseIDBJSON( json ) {
1737 if(json.total_results > 0 && json.book.rating > 0){
1738 var isbn = $(".isbn:last").text().split(" ")[1];
1739 isbn = isbn.replace(/\W+/g, '');
1741 [% IF ( IDreamBooksReadometer ) %]
1742 $(".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>');
1745 [% IF ( IDreamBooksReviews ) %]
1746 //build new tab for critic reviews
1747 $("#tab_idb_critic_reviews a").text($("#tab_idb_critic_reviews a").text().replace('XXX', json.book.review_count));
1749 //append happy-sad cloud review
1751 $("#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>");
1753 //insert data into Book reviews tab
1754 $.each(json.book.critic_reviews, function(){
1755 $("#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>");
1757 $("#seemoreidb").attr('href', json.book.detail_link);
1758 $("#tab_idb_critic_reviews").show();
1762 [% END # / IF IDreamBooksReviews || IDreamBooksReadometer %]
1765 [% IF OPACPopupAuthorsSearch %]
1767 function showAuthors(element){
1768 var authornumber = $(element).attr("data-count");
1770 // Check checkbox related to the clicked link
1771 $("#authorsList input[type='checkbox']").attr('checked', false);
1772 $("#author_"+authornumber).attr('checked', true);
1774 makeAuthorRequest();
1777 function checkAll(checkbox, elem) {
1778 var check = $(checkbox).attr('checked') ? true : false;
1779 $(elem).find("input[type='checkbox']").attr('checked', check);
1780 elem == "#authorsList" ? makeAuthorRequest() : makeSubjectRequest();
1783 function makeAuthorRequest(){
1786 $("#authorsList").find("input[type='checkbox']:checked").each(function () {
1787 values.push($(this).val());
1790 if (values.length > 0) {
1791 var request = "/cgi-bin/koha/opac-search.pl?q=" + values.join(' and ');
1792 $("#validAuthorSearch").attr("href", request);
1794 $("#validAuthorSearch").removeAttr("href");
1800 function showSubjects(element, subjectnumber, subfieldnumber){
1802 // Check checkbox related to the clicked link
1803 $("#subjectsList input[type='checkbox']").attr('checked', false);
1804 $("#subject_"+subjectnumber+"_"+subfieldnumber).attr('checked', true);
1806 makeSubjectRequest();
1810 function makeSubjectRequest() {
1812 $("#subjectsList > ul").each(function() {
1813 var all_checked = true;
1814 var local_values = [];
1815 $(this).find('input[type="checkbox"]').each(function() {
1816 if($(this).attr('checked')) {
1817 local_values.push($(this).val());
1819 all_checked = false;
1822 var authid = $(this).attr('data-authid');
1823 if(all_checked && authid) {
1824 values.push('an:' + authid);
1826 values = values.concat(local_values);
1829 if(values.length > 0) {
1830 var request = "/cgi-bin/koha/opac-search.pl?q=" + values.join(' and ');
1831 $("#validSubjectSearch").attr('href', request);
1833 $("#validSubjectSearch").removeAttr("href");
1836 $(document).ready(function() {
1837 $("a.showauthors").click(function(e){
1843 [% END # / IF OPACPopupAuthorsSearch %]