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 %]
36 [% IF ( Koha.Preference('OPACShowMusicalInscripts') ) %]
37 [% Asset.css("lib/verovio/midiplayer.css") | $raw %]
40 [% BLOCK cssinclude %][% END %]
41 [% INCLUDE 'bodytag.inc' bodyid='opac-detail' bodyclass='scrollto' %]
42 [% INCLUDE 'masthead.inc' %]
45 <ul class="breadcrumb">
46 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
47 <li><a href="#"><span>Details for: </span>[% INCLUDE 'biblio-title.inc' %]</a></li>
50 <div class="container-fluid">
51 <div class="row-fluid">
53 <div id="catalogue_detail_biblio" class="maincontent">
56 [% IF ( OPACLocalCoverImages ) %]
57 <div title="[% biblio.biblionumber | html %]" class="[% biblio.biblionumber | html %]" id="local-thumbnail-preview"></div>
60 [% IF ( AdlibrisEnabled && normalized_isbn ) %]
61 <a href="[% AdlibrisURL | url %]?isbn=[% normalized_isbn | uri %]"><img src="[% AdlibrisURL | url %]?isbn=[% normalized_isbn | uri %]" alt="Cover image" class="adlibris-cover-big" /></a>
64 [% IF ( OPACAmazonCoverImages ) %]
65 [% IF ( OPACURLOpenInNewWindow ) %]
66 <a href="http://www.amazon[% AmazonTld | uri %]/gp/reader/[% normalized_isbn | uri %][% AmazonAssocTag | uri %]#reader-link" target="_blank" rel="noreferrer">
68 <a href="http://www.amazon[% AmazonTld | uri %]/dp/[% normalized_isbn | uri %][% AmazonAssocTag | uri %]">
70 <img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn | html %].01.MZZZZZZZ.jpg" alt="Cover image" /></a>
73 [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
74 [% IF ( content_identifier_exists ) %]
75 <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" />
77 <span class="no-image">No cover image available</span>
81 [% IF ( GoogleJackets ) %]
82 <div title="[% biblio.biblionumber | html %]" class="[% normalized_isbn | html %]" id="gbs-thumbnail-preview"></div>
84 [% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %]
85 [% coce_id = normalized_ean || normalized_isbn | html %]
86 <div title="[% biblio.biblionumber | html %]" class="[% coce_id | html %]" id="coce-thumbnail-preview"></div>
88 [% IF OpenLibraryCovers %]
89 <div title="[% biblio.biblionumber | html %]" class="[% normalized_isbn | html %]" id="openlibrary-thumbnail-preview"></div>
91 [% bt_id = ( normalized_upc || normalized_isbn ) %]
92 [% IF ( BakerTaylorEnabled && bt_id ) %]
93 [% IF BakerTaylorBookstoreURL %]
94 [% IF ( OPACURLOpenInNewWindow ) %]
95 <a href="https://[% BakerTaylorBookstoreURL | uri %][% bt_id | uri %]" target="_blank" rel="noreferrer"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
97 <a href="https://[% BakerTaylorBookstoreURL | uri %][% bt_id | uri %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
100 <img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" />
103 [% IF Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') %]
104 [% IF ( OPACURLOpenInNewWindow ) %]
105 <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>
107 <a class="custom_cover_image" href="[% biblio.custom_cover_image_url | url %]"><img alt="Cover image" src="[% biblio.custom_cover_image_url | url %]" /></a>
110 </div><!-- / #bookcover -->
112 <abbr class="unapi-id" title="koha:biblionumber:[% biblio.biblionumber | html %]"><!-- unAPI --></abbr>
113 [% IF ( ocoins ) # COinS / Openurl %]
114 <span class="Z3988" title="[% ocoins | html %]"></span>
118 <span class="view current-view"><span id="Normalview"><i class="fa fa-file-text-o"></i> Normal view</span></span>
120 <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>
122 [% 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 %]
124 [% IF ( OPACXSLTDetailsDisplay ) %]
125 [% XSLTBloc | $raw %]
127 <h1 class="title">[% INCLUDE 'biblio-title.inc' %]</h1>
128 [% IF ( author ) %]<h5 class="author">by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author | html %]</a></h5>[% END %]
130 <span class="results_summary">[% UNLESS ( item_level_itypes ) %]
132 [% IF ( description ) %]
133 [% description | html %]
135 [% itemtype | html %]
138 [% IF ( unititle ) %], [% unititle | html %][% END %]
141 [% IF ( MARCAUTHORS ) %]
142 <div class="results_summary">
143 <span class="label">Additional authors:</span>
144 [% IF OPACPopupAuthorsSearch %]
145 <!-- Author search term selection modal -->
146 <div id="authorSearch" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="authorSearchLabel" aria-hidden="true">
147 <div class="modal-header">
148 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
149 <h3 id="authorSearchLabel">Select the item(s) to search</h3>
151 <div class="modal-body">
152 <input type="checkbox" onchange="checkAll(this, '#authorsList')" /> <b>All</b>
153 <ul id="authorsList">
154 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
156 [% IF (MARCAUTHOR.authoritylink) %]
157 <input type="checkbox" name="checkbox"
158 id="author_[% loop.count | html %]"
159 onclick="makeAuthorRequest()"
160 value="an:[% MARCAUTHOR.authoritylink | html %]" />
162 <input type="checkbox" name="checkbox"
163 id="author_[% loop.count | html %]"
164 onclick="makeAuthorRequest()"
165 value="au,wrdl:[% FOREACH SUBFIELD IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% SUBFIELD.value |url %][% UNLESS (loop.last) %]+[% END %][% END %]" />
167 <label for="author_[% loop.count | html %]">
168 [% FOREACH SUBFIELD IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
169 [% SUBFIELD.value | html %]
173 [% END # /FOREACH MARCAUTHORS %]
176 <div class="modal-footer">
177 <a id="validAuthorSearch" href="#" class="btn btn-primary">Search</a>
178 <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
181 [% END # /OPACPopupAuthorsSearch %]
183 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
184 [% authorsloop = loop %]
185 [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
186 [% MARCAUTHOR_SUBFIELDS_LOO.separator | html %]
187 [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %]
188 <a role="button" data-toggle="modal" title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code | html %] [% MARCAUTHOR_SUBFIELDS_LOO.value | html %]"
189 class="showauthors" data-count="[% authorsloop.count | html %]"
190 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>
192 <a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code | html %] [% MARCAUTHOR_SUBFIELDS_LOO.value | html %]"
193 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>
196 [% IF (MARCAUTHOR.authoritylink) %]
197 <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>
199 [% IF IDREF and MARCAUTHOR.unimarc3 %]
200 <a href="/cgi-bin/koha/opac-idref.pl?unimarc3=[% MARCAUTHOR.unimarc3 | uri %]" title="IdRef" rel="gb_page_center[600,500]">IdRef</a>
202 [% UNLESS ( loop.last ) %]|[% END %]
203 [% END # /FOREACH MARCAUTHORS %]
205 [% END # IF MARCAUTHORS %]
207 [% IF ( MARCSERIES ) %]
208 <span class="results_summary series"><span class="label">Series:</span>
209 [% FOREACH MARCSERIE IN MARCSERIES %]
210 [% FOREACH MARCSERIES_SUBFIELDS_LOO IN MARCSERIE.MARCSERIES_SUBFIELDS_LOOP %]
211 [% IF ( MARCSERIES_SUBFIELDS_LOO.value ) %]
212 <a href="/cgi-bin/koha/opac-search.pl?q=se:[% MARCSERIES_SUBFIELDS_LOO.value |url %]">[% MARCSERIES_SUBFIELDS_LOO.value | html %]</a>
214 [% IF ( MARCSERIES_SUBFIELDS_LOO.volumenum ) %]
215 . [% MARCSERIES_SUBFIELDS_LOO.volumenum | html %]
218 [% UNLESS ( loop.last ) %]|[% END %]
219 [% END # / FOREACH MARCSERIES %]
221 [% END # /MARCSERIES %]
223 [% IF ( editionstatement ) %]
224 <span class="results_summary edition"><span class="label">Edition statement:</span>[% editionstatement | html %][% IF ( editionresponsibility ) %]/[% editionresponsibility | html %][% END %]</span>
226 [% IF ( publishercode ) %]
227 <span class="results_summary publisher"><span class="label">Published by :</span>
228 <a href="/cgi-bin/koha/opac-search.pl?q=pb:[% publishercode |url %] ">
229 [% publishercode | html %]
230 </a> [% IF ( place ) %]([% place | html %])[% END %] [% IF ( publicationyear ) %], [% publicationyear | html %][% END %]
235 <span class="results_summary physical"><span class="label">Physical details:</span> [% pages | html %] [% illus | html %] [% size | html %]</span>
238 [% IF ( MARCISBNS ) %]
239 <span class="results_summary isbn"><span class="label">ISBN:</span>[% FOREACH MARCISBN IN MARCISBNS %][% MARCISBN | html %][% IF ( loop.last ) %].[% ELSE %]; [% END %][% END %]</span>
241 [% IF ( normalized_isbn ) %]
242 <span class="results_summary isbn"><span class="label">ISBN: </span>[% normalized_isbn | html %]</span>
247 <span class="results_summary issn"><span class="label">ISSN:</span>[% issn | html %]</span>
250 [% IF ( collectiontitle ) %]
251 <span class="results_summary collection"><span class="label">Collection: </span>
252 [% collectiontitle | html %]
253 [% IF ( collectionissn ) %] [% ', ISSN ' _ collectionissn | html %][% END %]
254 [% IF ( collectionvolume ) %] [% ' ; ' _ collectionvolume | html %] [% END %]
259 [% IF ( unititles ) %]
260 <span class="results_summary unititle"><span class="label">Uniform titles:</span>
261 [% FOREACH unititle IN unititles %]
262 [% unititle.unititle | html %] ;
267 [% IF ( MARCSUBJCTS ) %]
268 <div class="results_summary subject">
269 <span class="label">Subject(s):</span>
271 [% IF OPACPopupAuthorsSearch %]
272 <!-- Search term selection modal -->
273 <div id="subjectSearch" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="subjectSearchLabel" aria-hidden="true">
274 <div class="modal-header">
275 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
276 <h3 id="subjectSearchLabel">Select the term(s) to search</h3>
278 <div id="subjectsList" class="modal-body">
279 <input type="checkbox" id="all_subjects" onchange="checkAll(this, '#subjectsList')" />
280 <label for="all_subjects">
283 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
284 [% subjectsloop = loop %]
285 [% IF MARCSUBJCT.authoritylink %]
286 <ul id="subjectsList[% loop.count | html %]" data-authid="[% MARCSUBJCT.authoritylink | html %]">
288 <ul id="subjectsList[% loop.count | html %]">
290 [% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
292 <input type="checkbox" onclick="makeSubjectRequest()" name="checkbox" id="subject_[% subjectsloop.count | html %]_[% loop.count | html %]" value="su,wrdl:[% SUBFIELD.value |url %]" />
293 <label for="subject_[% subjectsloop.count | html %]_[% loop.count | html %]">
294 [% SUBFIELD.value | html %]
301 <div class="modal-footer">
302 <a href="#" id="validSubjectSearch" class="btn btn-primary">Search</a>
303 <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
306 [% END # /OPACPopupAuthorsSearch%]
308 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
309 [% subjectsloop = loop %]
310 [% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
311 [% SUBFIELD.separator | html %]
312 [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %]
313 <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>
315 <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>
318 [% IF (MARCSUBJCT.authoritylink) %]
319 <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>
321 [% UNLESS ( loop.last ) %] | [% END %]
322 [% END # / FOREACH MARCSUBJCTS %]
324 [% ELSE # /IF MARCSUBJCTS %]
325 [% 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 %]
328 [% IF ( copyrightdate ) %]
329 <span class="results_summary year"><span class="label">Year: </span>[% copyrightdate | html %]</span>
332 [% UNLESS ( item_level_itypes ) %]
334 <img src="[% imageurl | html %]" alt="" />
336 <span class="results_summary itemtype"><span class="label">Item type: </span>
337 [% IF ( description ) %]
338 [% description | html %]
340 [% itemtype | html %]
345 [% IF ( MARCURLS ) %]
346 <div class="results_summary online_resources"><span class="label">Online resources:</span>
348 [% FOREACH MARCurl IN MARCURLS %]
349 <li>[% IF ( MARCurl.part ) %][% MARCurl.part | html %]<br />[% END %]
351 [% IF ( OPACURLOpenInNewWindow ) %]
352 [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
353 <a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL | uri %]&biblionumber=[% biblio.biblionumber | uri %]" title="[% MARCurl.MARCURL | html %]" target="_blank" rel="noreferrer">
355 <a href="[% MARCurl.MARCURL | url %]" title="[% MARCurl.MARCURL | html %]" target="_blank" rel="noreferrer">
358 [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
359 <a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL | uri %]&biblionumber=[% biblio.biblionumber | uri %]" title="[% MARCurl.MARCURL | html %]">
361 <a href="[% MARCurl.MARCURL | url %]" title="[% MARCurl.MARCURL | html %]">
364 [% MARCurl.linktext | html %]</a>
365 [% IF ( MARCurl.notes ) %]
367 [% FOREACH note IN MARCurl.notes %]
368 <li>[% note.note | html %]</li>
373 [% END # /FOREACH MARCURLS %]
376 [% END # / IF MARCURLS %]
377 [% END # / IF OPACXSLTDetailsDisplay %]
379 <!-- This puts the LTFL reviews in, and if TabbedView is not set, puts the remaining content above the Tabs instead of in them -->
380 [% IF ( LibraryThingForLibrariesID ) %]
381 [% UNLESS ( LibraryThingForLibrariesTabbedView ) %]
382 <div class="results_summary"><div id="ltfl_related" class="ltfl"></div></div>
383 <div class="results_summary"><div id="ltfl_similars" class="ltfl"></div></div>
384 <div class="results_summary"><div id="ltfl_tagbrowse" class="ltfl"></div></div>
386 <span class="results_summary">
387 <span class="label">Reviews from LibraryThing.com:</span>
388 <span style="display: block;" class="ltfl_reviews"></span>
390 [% END # / LibraryThingForLibrariesID %]
392 <!--This grabs all of the lists a bib record appears in -->
393 [% IF shelves.count %]
394 <span class="results_summary lists"><span class="label">List(s) this item appears in: </span>
395 [% FOREACH s IN shelves %]
396 <a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% s.shelfnumber | uri %]">[% s.shelfname | html %]</a>
397 [% IF ( loop.last ) %][% ELSE %]|[% END %]
402 [% IF ( TagsShowEnabled ) %]
403 <div class="results_summary tags">
405 <span class="label">Tags from this library:</span>
407 [% FOREACH TagLoo IN TagLoop %]
408 <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>
409 [% IF ( loop.last ) %][% ELSE %], [% END %]
414 <span class="label">Tags from this library:</span> <span class="notags">No tags from this library for this title.</span>
416 [% IF ( TagsInputEnabled ) %]
417 [% IF ( loggedinusername ) %]
418 <form id="tagform[% biblio.biblionumber | html %]" method="post" action="/cgi-bin/koha/opac-tags.pl" style="display:none;">
419 <label for="newtag[% biblio.biblionumber | html %]">New tag(s), separated by a comma:</label>
420 <p class="emoji-picker-container">
422 name="newtag[% biblio.biblionumber | html %]"
423 id="newtag[% biblio.biblionumber | html %]"
426 data-emojiable="true"
427 data-emoji-input="unicode">
429 <input name="tagbutton" class="btn btn-small tagbutton" title="[% biblio.biblionumber | html %]" type="submit" value="Add" />
430 <a class="cancel_tag_add" id="cancel[% biblio.biblionumber | html %]" href="#">(done)</a>
433 <span id="newtag[% biblio.biblionumber | html %]_status" class="tagstatus" style="display:none;">
436 <a class="tag_add" id="tag_add[% biblio.biblionumber | html %]" href="#">Add tag(s)</a>
438 <span id="login4tags">
439 [% IF Koha.Preference('casAuthentication') %]
440 [%# CAS authentication is too complicated for modal window %]
441 <a href="/cgi-bin/koha/opac-user.pl">Log in to add tags.</a>
443 <a class="loginModal-trigger" data-toggle="modal" role="button" href="/cgi-bin/koha/opac-user.pl">Log in to add tags.</a>
447 [% END # / IF TagsInputEnabled %]
449 [% END # /IF TagsShowEnabled %]
451 [% IF ( SyndeticsEnabled ) %]
452 [% IF ( SyndeticsSeries && SyndeticsSERIES1Exists ) %]
453 <span class="results_summary">
454 <span class="label">Series information:</span>
455 <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>
457 [% END # / IF SyndeticsSeries && SyndeticsSERIES1Exists%]
458 [% IF ( SyndeticsAVPROFILEExists ) %]
459 <span class="results_summary">
460 <span class="label">Audiovisual profile:</span>
461 <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>
463 [% END # / IF SyndeticsAVPROFILEExists %]
465 [% IF ( SyndeticsFICTIONExists ) %]
466 <span class="results_summary">
467 <span class="label">Fiction notes:</span>
468 <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>
470 [% END # / IF SyndeticsFICTIONExists %]
472 [% IF ( SyndeticsAwards && SyndeticsAWARDS1Exists ) %]
473 <span class="results_summary">
474 <span class="label">Awards:</span>
475 <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>
477 [% END # / IF SyndeticsAwards && SyndeticsAWARDS1Exists %]
478 [% END # / IF SyndeticsEnabled%]
480 [% IF ( OpacStarRatings != 'disable' ) %]
481 <form method="post" action="/cgi-bin/koha/opac-ratings.pl">
482 <div class="results_summary ratings">
484 [% SET rating_avg = ratings.get_avg_rating() %]
485 [% rating_avg_int = BLOCK %][% rating_avg | format("%.0f") %][% END %]
487 [% IF ( borrowernumber ) %]
488 <select id="star_rating" name="rating" data-rating-enabled="1" autocomplete="off">
490 <select id="star_rating" name="rating" data-rating-enabled="0" disabled="disabled" autocomplete="off">
492 [% IF ( rating_avg_int == 0 ) %]
493 <option value="" selected="selected"></option>
495 [% FOREACH i IN [ 1 2 3 4 5 ] %]
496 [% IF rating_avg_int == i %]
497 <option value="[% i | html %]" selected="selected">[% i | html %]</option>
499 <option value="[% i | html %]">[% i | html %]</option>
503 <img id="rating-loading" style="display:none" src="[% interface | html %]/[% theme | html %]/images/spinner-small.gif" alt="" />
505 <!-- define some hidden vars for ratings -->
507 <input type="hidden" name='biblionumber' value="[% biblio.biblionumber | html %]" />
508 <input type="hidden" name='rating_value' id='rating_value' value="[% my_rating.rating_value | html %]" />
510 [% UNLESS ( rating_readonly ) %] <input name="rate_button" type="submit" value="Rate me" />[% END %]
513 <span id="rating_value_text">Your rating: [% my_rating.rating_value | html %].</span>
514 <span id="cancel_rating_text"><a href="#"><i class="fa fa-remove"></i> Cancel rating</a>.</span>
516 <span id="rating_value_text"></span>
517 <span id="cancel_rating_text" style="display:none;"><a href="#"><i class="fa fa-remove"></i> Cancel rating</a>.</span>
520 <span id="rating_text">Average rating: [% rating_avg | html %] ([% ratings.count | html %] votes)</span>
523 [% END # / IF OpacStarRatings != 'disable' %]
525 [% IF ( BakerTaylorContentURL ) %]
526 <span class="results_summary">
527 <span class="label">Enhanced content: </span>
528 [% IF ( OPACURLOpenInNewWindow ) %]<a href="[% BakerTaylorContentURL | url %]" target="_blank" rel="noreferrer">Content Cafe</a>[% ELSE %]<a href="[% BakerTaylorContentURL | url %]">Content Cafe</a>[% END %]
530 [% END # / IF BakerTaylorContentURL %]
532 [% IF ( NovelistSelectProfile && (normalized_isbn || normalized_upc) ) %]
533 [% IF ( NovelistSelectView == 'above') %]
534 <span class="results_summary NovelistSelect" style="display:none;">
535 <span class="label">Novelist Select: </span>
536 <div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]></div>
540 [% END # / IF NovelistSelectProfile %]
542 [% IF ( Babeltheque ) %]
543 <input type="hidden" name="BW_id_isbn" id="BW_id_isbn" value="[% normalized_isbn | html %]"/>
544 <div id="BW_notes"></div>
545 <div id="BW_critiques"></div>
546 <div id="BW_critiques_pro"></div>
547 <div id="BW_citations"></div>
548 [% END # / IF Babeltheque%]
550 </div> <!-- / #catalogue_detail_biblio -->
552 <div id="bibliodescriptions" class="toptabs">
554 [% IF ( defaulttab == 'holdings' ) %]
555 <li id="tab_holdings" class="ui-tabs-active">
557 <li id="tab_holdings">
559 [% BLOCK holding_tab_title %][% IF SeparateHoldings %]<span>[% LoginBranchname | html %] holdings</span>[% ELSE %]<span>Holdings</span>[% END %][% END %]
560 <a href="#holdings">[% PROCESS holding_tab_title %] [% UNLESS too_many_items %][% ' ( ' _ (itemloop.size || 0) _ ' )' | html %][% END %]</a>
562 [% IF (SeparateHoldings) %]
563 <li><a href="#otherholdings">Other holdings [% ' ( ' _ (otheritemloop.size || 0) _ ' )' | html %]</a></li>
565 [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
566 <li id="tab_descriptions"> <a href="#descriptions">Title notes</a></li>
568 [% IF ( SYNDETICS_TOC ) %]
569 <li id="tab_toc"> <a href="#toc">TOC</a></li>
571 [% IF ( SyndeticsEnabled ) %]
572 [% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %]
573 <li id="tab_excerpt"> <a href="#excerpt">Excerpt</a></li>
575 [% IF ( ( SyndeticsReviews && SYNDETICS_REVIEWS ) || ( LibraryThingForLibrariesTabbedView && LibraryThingForLibrariesID) ) %]
576 <li id="tab_reviews"> <a href="#reviews">Reviews</a></li>
577 [% IF ( LibraryThingForLibrariesID ) %]
578 <li id="tab_LTFLreviews">
579 <script src="https://www.librarything.com/forlibraries/widget.js?id=[% LibraryThingForLibrariesID | html %]"></script>
580 <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>
584 [% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %]
585 <li id="tab_anotes"> <a href="#anotes">About the author</a></li>
587 [% END # / IF SyndeticsEnabled %]
589 [% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %]
590 <li id="tab_LFTLSimilarItems"> <a href="#LFTLSimilarItems">Similar items</a></li>
591 <li id="tab_LTFLTagBrowse"> <a href="#LTFLTagBrowse">Tag browser</a></li>
594 [% IF ( subscriptionsnumber ) %]
595 [% IF ( defaulttab == 'subscriptions' ) %]<li id="tab_subscriptions" class="ui-tabs-active">[% ELSE %]<li id="tab_subscriptions">[% END %]
596 <a href="#subscriptions">Subscriptions ( [% subscriptionsnumber | html %] )</a>
600 [% IF Koha.Preference( 'reviewson' ) == 1 %]
601 <li id="tab_comments"><a href="#comments">Comments[% ' ( ' _ (reviews.size || 0) _ ' )' | html %]</a></li>
604 [% IF ( NovelistSelectProfile && (normalized_isbn || normalized_upc) ) %]
605 [% IF ( NovelistSelectView == 'tab') %]
606 <li id="tab_NovelistSelect" class="NovelistSelect" style="display:none;"> <a href="#NovelistSelect">Novelist Select</a></li>
610 [% IF ( OPACFRBRizeEditions && XISBNS ) %]
611 <li id="tab_editions"><a href="#editions">Editions</a></li>
614 [% IF ( serialcollection ) %]
615 [% IF ( defaulttab == 'serialcollection' ) %]<li id="tab_serialcollection" class="ui-tabs-active">[% ELSE %]<li id="tab_serialcollection">[% END %]
616 <a href="#serialcollection">Serial collection</a>
620 [% IF ( OPACLocalCoverImages && localimages.size ) %]
621 <li id="tab_images"><a href="#images">Images</a></li>
624 [% IF ( HTML5MediaEnabled && HTML5MediaSets ) %]
625 [% IF ( defaulttab == 'media' ) %]<li id="tab_html5media" class="ui-tabs-active">[% ELSE %]<li id="tab_html5media">[% END %]<a href="#html5media">Play media</a></li>
628 [% IF ( IDreamBooksReviews ) %]
629 <li id='tab_idb_critic_reviews' style="display:none;"><a href='#idb_critic_reviews'>Book reviews by critics ( XXX )</a></li>
633 [% IF ( serialcollection ) %]
634 <div id="serialcollection">
635 <table id="serialcollectiont" class="table table-bordered table-striped">
638 <th id="serial_library">Library</th>
639 <th id="serial_collection">Serial collection</th>
640 <th id="serial_itemcallnumber">Item call number</th>
644 [% FOREACH serialcollection IN serialcollections %]
646 <td>[% serialcollection.branch | html %]</td>
647 <td>[% serialcollection.text | html %]</td>
648 <td>[% serialcollection.itemcallnumber | html %]</td>
654 [% END # / IF serialcollection %]
658 [% IF too_many_items %]
659 <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>
660 [% ELSIF ( itemloop.size ) %]
661 [% INCLUDE items_table items=itemloop tab="holdings" table_id="holdingst" %]
662 [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %]
663 [% IF acquisition_details.total_quantity == 1 %]
664 <span>1 item is on order.</span>
666 <span>[% acquisition_details.total_quantity | html %] items are on order.</span>
669 [% IF holds_count.defined || priority %]
671 [% IF holds_count.defined %]
672 <span>Total holds: [% holds_count | html %]</span>
675 [% IF holds_count.defined %]
676 <span>(priority [% priority | html %])</span>
678 <span>Overall queue priority: [% priority | html %]</span>
684 [% IF ( ALTERNATEHOLDINGS ) %]
685 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
686 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding | html %]</div>
689 [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %]
690 [% IF acquisition_details.total_quantity == 1 %]
691 <span>1 item is on order.</span>
693 <span>[% acquisition_details.total_quantity | html %] items are on order.</span>
696 <div id="noitems">No physical items for this record</div>
699 [% END # IF itemloop.size %]
700 [% PROCESS 'shelfbrowser.inc' %]
701 [% INCLUDE shelfbrowser tab='holdings' %]
702 <br style="clear:both;" />
703 </div> <!-- / #holdings -->
705 [% IF (SeparateHoldings) %]
706 <div id="otherholdings">
707 [% IF (otheritemloop.size) %]
708 [% INCLUDE items_table items=otheritemloop tab="otherholdings" table_id="otherholdingst" %]
710 <span>No other items.</span>
712 [% INCLUDE shelfbrowser tab='otherholdings' %]
714 [% END # / SeparateHoldings %]
716 [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
717 <div id="descriptions">
718 <div class="content_set">
720 [% IF ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY ) %]
721 <h4>Enhanced descriptions from Syndetics:</h4>
722 <p>[% SYNDETICS_SUMMARY | html %]</p>
725 [% IF ( MARCNOTES ) %]
727 [% FOREACH MARCNOTE IN MARCNOTES %]
729 [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
730 <a href="[% MARCNOTE.marcnote | url %]">[% MARCNOTE.marcnote | html %]</a>
732 [% MARCNOTE.marcnote | html | html_line_break %]
739 <p>[% notes | html %]</p>
744 </div> <!-- / #descriptions -->
745 [% END # / IF MARCNOTES || notes %]
747 [% IF ( SyndeticsEnabled ) %]
748 [% IF ( SyndeticsTOC && SYNDETICS_TOC ) %]
750 <div class="content_set">
751 <h3>Table of contents provided by Syndetics</h3>
753 [% FOREACH SYNDETICS_TO IN SYNDETICS_TOC %]
754 <li><b>[% SYNDETICS_TO.l | html %] [% SYNDETICS_TO.t | html %]</b>[% IF ( SYNDETICS_TO.p ) %] ([% SYNDETICS_TO.p | html %])[% END %]</li>
759 [% END # / IF SyndeticsTOC && SYNDETICS_TOC %]
761 [% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %]
763 <div class="content_set">
764 <h3>Excerpt provided by Syndetics</h3>
765 [% SYNDETICS_EXCERPT | html %]
768 [% END # / IF SyndeticsExcerpt && SYNDETICS_EXCERPT %]
770 [% IF ( SyndeticsReviews && SYNDETICS_REVIEWS ) %]
772 <div class="content_set">
773 <h3>Reviews provided by Syndetics</h3>
774 [% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %]
775 [% IF ( SYNDETICS_REVIEW.title ) %]
776 <h4>[% SYNDETICS_REVIEW.title | html %]</h4>
777 [% FOREACH review IN SYNDETICS_REVIEW.reviews %]
779 [% IF ( review.content ) %]
780 [% review.content | html %]
788 [% END # / IF SyndeticsReviews && SYNDETICS_REVIEWS %]
790 [% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %]
792 <div class="content_set">
793 <h3>Author notes provided by Syndetics</h3>
794 [% FOREACH SYNDETICS_ANOTE IN SYNDETICS_ANOTES %]
795 [% IF ( SYNDETICS_ANOTE.content ) %]
796 [% SYNDETICS_ANOTE.content | html %]
801 [% END # / IF SyndeticsReviews && SYNDETICS_REVIEWS %]
802 [% END # / IF SyndeticsEnabled %]
804 [% IF ( NovelistSelectProfile && NovelistSelectView == 'tab' && (normalized_isbn || normalized_upc) ) %]
805 <div id="NovelistSelect" >
806 <div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]></div>
808 [% END # / IF NovelistSelectProfile && NovelistSelectView == 'tab' %]
810 [% IF ( subscriptionsnumber ) %]
811 <div id="subscriptions">
812 <h2>This is a serial</h2>
813 <p class="subscription_count">There are [% subscriptionsnumber | html %] subscription(s) associated with this title.</p>
814 [% FOREACH subscription IN subscriptions %]
815 [% IF ( subscription.branchcode ) %]
816 <h3>At library: [% Branches.GetName( subscription.branchcode ) | html %]</h3>
818 [% IF ( subscription.branchcode ) %]
819 <h3>At library: [% subscription.branchcode | html %]</h3>
822 [% IF ( subscription.closed ) %]
823 <p class="subscription_closed">This subscription is closed.</p>
825 [% IF ( subscription.location ) %]
826 <p class="subscription_location">Location: [% AuthorisedValues.GetByCode( 'LOC', subscription.location, 1 ) | html %]
828 [% IF ( subscription.callnumber ) %]
829 <p class="subscription_callnumber">Call number: [% subscription.callnumber | html %]</p>
831 [% IF ( subscription.subscriptionnotes ) %]
832 <p class="subscription_notes">[% subscription.subscriptionnotes | html | html_line_break %] </p>
834 <p class="subscription_dates">Subscription from: [% subscription.histstartdate | $KohaDates %] to:[% IF ( subscription.histenddate ) %] [% subscription.histenddate | $KohaDates %] [% ELSE %] now (current)[% END %]</p>
835 [% IF ( subscription.letter ) %]<span class="email_notifications">
836 [% IF ( loggedinusername ) %]
837 [% IF ( subscription.hasalert ) %]
838 <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>
840 <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>
843 <span>You must log in if you want to subscribe to email notification on new issues</span>
846 [% IF ( subscription.missinglist ) %]
847 <p class="subscription_missing">Missing issues: [% subscription.missinglist | html | html_line_break %] </p>
849 [% IF ( subscription.opacnote ) %]
850 <p class="subscription_opacnote">[% subscription.opacnote | html | html_line_break %]</p>
852 [% IF ( subscription.latestserials ) %]
853 <p class="subscription_latestissues"> The [% subscription.opacdisplaycount | html %] latest issues for this subscription:</p>
854 <table class="table table-bordered table-striped" id="subscriptionst">
857 <th id="serial_serialseq" data-colname="serial_serialseq">Issue #</th>
858 <th id="serial_publisheddate" data-colname="serial_publisheddate" class="title-string">Publication date</th>
859 <th id="serial_planneddate" data-colname="serial_planneddate" class="title-string">Received date</th>
860 <th id="serial_status" data-colname="serial_status">Status</th>
861 <th id="serial_notes" data-colname="serial_notes">Note</th>
865 [% FOREACH latestserial IN subscription.latestserials %]
867 <td class="serialseq">[% latestserial.serialseq | html %]</td>
868 <td class="publisheddate"><span title="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</span></td>
869 <td class="planneddate"><span title="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</span></td>
870 <td class="serial_status">
871 [% IF (latestserial.status1 ) %]<span>Expected</span>[% END %]
872 [% IF (latestserial.status2 ) %]<span>Arrived</span>[% END %]
873 [% IF (latestserial.status3 ) %]<span>Late</span>[% END %]
874 [% IF (latestserial.status4 ) %]<span>Missing</span>[% END %]
875 [% IF (latestserial.status41 ) %]<span>Missing (never received)</span>[% END %]
876 [% IF (latestserial.status42 ) %]<span>Missing (sold out)</span>[% END %]
877 [% IF (latestserial.status43 ) %]<span>Missing (damaged)</span>[% END %]
878 [% IF (latestserial.status44 ) %]<span>Missing (lost)</span>[% END %]
879 [% IF (latestserial.status5 ) %]<span>Not issued</span>[% END %]
880 [% IF (latestserial.status6 ) %]<span>Delete</span>[% END %]
881 [% IF (latestserial.status7 ) %]<span>Claimed</span>[% END %]
882 [% IF (latestserial.status8 ) %]<span>Stopped</span>[% END %]
884 <td class="serial_notes">[% latestserial.notes | html %]</td>
886 [% END # / FOREACH latestserials %]
889 [% END # / IF subscription.latestserials %]
890 [% END # / FOREACH subscriptions %]
891 <p class="subscription_moredetails"><a href="opac-serial-issues.pl?biblionumber=[% biblio.biblionumber | uri %]">More details</a></p>
892 </div> <!-- / #subscriptions -->
893 [% END # IF subscriptionsnumber %]
895 [% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %]
896 <!-- Library Thing for Libraries Content -->
897 <div id="LFTLSimilarItems">
898 <div class="content_set">
899 <!-- Uncommenting this span makes the font smaller in the tab for LTFL -->
900 <!-- but breaks Xhtml validation -->
901 <!-- <span class="results_summary">-->
902 <div id="ltfl_related"></div>
903 <div id="ltfl_similars"></div>
907 <div id="LTFLTagBrowse">
908 <div class="content_set">
909 <!-- <span class="results_summary"> -->
910 <div id="ltfl_tagbrowse" class="ltfl"></div>
914 [% END # / IF LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView %]
916 [% IF Koha.Preference( 'reviewson' ) == 1 %]
918 <div id="newcomment"></div>
920 [% FOREACH review IN reviews %]
921 [% IF borrowernumber && review.borrowernumber == borrowernumber %]
922 <div class="commentline yours" id="c[% review.reviewid | html %]">
923 [% IF ( review.avatarurl ) %]
924 <img class="avatar" src="[% review.avatarurl | html %]" height="80" width="80" alt="" />
926 [% IF review.approved %]
927 <h5>Your comment</h5>
929 <h5>Your comment (preview, pending approval)</h5>
931 <small>[% review.datereviewed | $KohaDates %]</small>
933 [% FILTER html_break %]
934 [% review.review | html %]
936 <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber | uri %]&reviewid=[% review.reviewid | uri %]');">Edit</a>
940 <div class="commentline">
941 [% IF ( ShowReviewer != "none" && review.patron) %]
943 [% IF ( review.avatarurl ) %]
944 <img class="avatar" src="[% review.avatarurl | html %]" height="80" width="80" alt="" />
946 [% SWITCH ShowReviewer %]
948 <h5>Comment by [% review.patron.title | html %] [% review.patron.firstname | html %] [% review.patron.surname | html %]</h5>
950 <h5>Comment by [% review.patron.firstname | html %]</h5>
952 <h5>Comment by [% review.patron.surname | html %]</h5>
953 [% CASE 'firstandinitial' %]
954 <h5>Comment by [% review.patron.firstname | html %] [% review.patron.surname|truncate(2,'.') | html %]</h5>
955 [% CASE 'username' %]
956 <h5>Comment by [% review.patron.userid | html %]</h5>
959 <small>[% review.datereviewed | $KohaDates %]</small>
961 <h5>Patron comment on [% review.datereviewed | $KohaDates %]</h5>
962 [% END # / IF ShowReviewer != "none" && review.patron %]
964 [% FILTER html_break %]
965 [% review.review | html %]
968 </div> <!-- / .commentline -->
970 [% END # / FOREACH reviews %]
972 <p>There are no comments for this item.</p>
973 [% END # / IF reviews %]
975 [% IF ( loggedinusername ) %]
976 [% UNLESS ( loggedincommenter ) %]
977 <div id="addcomment"> <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% biblio.biblionumber | uri %]'); return false;">
978 Post your comments on this item.
982 <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>
983 [% END # / IF loggedinusername %]
984 </div> <!-- / #comments -->
985 [% END # / IF reviewson %]
987 [% IF ( OPACFRBRizeEditions && XISBNS ) %]
989 <h4>Other editions of this work</h4>
990 <table class="table table-bordered table-striped">
991 [% FOREACH XISBN IN XISBNS %]
994 [% IF ( OPACAmazonCoverImages ) %]
995 <img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn | html %].01._AA75_PU_PU-5_.jpg" alt="" />
998 [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
999 [% IF ( XISBN.content_identifier_exists ) %]
1000 <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="" />
1002 <span class="no-image">No cover image available</span>
1003 [% END # / IF XISBN.content_identifier_exists %]
1004 [% END # / IF SyndeticsEnabled && SyndeticsCoverImages %]
1007 [% UNLESS ( item_level_itypes ) %]
1008 <td>[% XISBN.description | html %]</td>
1010 <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% XISBN.biblionumber | uri %]">[% XISBN.title | html %]</a>
1011 [% IF ( XISBN.author ) %]<span> by </span>[% XISBN.author | html %][% END %]
1012 [% IF ( XISBN.copyrightdate ) %]<span> ©</span>[% XISBN.copyrightdate | html %][% END %]
1013 [% IF ( XISBN.publishercode ) %]
1014 <p>[% XISBN.publishercode | html %]
1015 [% IF ( XISBN.place ) %]([% XISBN.place | html %])[% END %]
1016 [% IF ( XISBN.publicationyear ) %][% ', ' _ XISBN.publicationyear | html %][% END %]
1017 [% IF ( XISBN.pages ) %][% XISBN.pages | html %] [% XISBN.illus | html %] [% XISBN.size | html %][% END %]
1022 [% END # / FOREACH XISBNS %]
1024 </div> <!-- / #editions -->
1025 [% END # / IF OPACFRBRizeEditions && XISBNS %]
1027 [% IF ( HTML5MediaEnabled ) %]
1028 <div id="html5media">
1029 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
1031 [% SET ctrl_preload = ' controls preload=none' #translatability %]
1032 <[% HTML5MediaParent _ ctrl_preload | html %] >
1033 <[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | html %]" [% HTML5MediaSet.typeblock | html %] />
1034 <span>[[% HTML5MediaParent | html %] tag not supported by your browser.]</span>
1035 </[% HTML5MediaParent | html %]>
1039 [% END # / IF HTML5MediaEnabled %]
1041 [% IF ( OPACLocalCoverImages && localimages.size ) %]
1043 <p>Click on an image to view it in the image viewer</p>
1044 [% FOREACH image IN localimages %]
1046 <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>
1049 </div><!-- / #images -->
1050 [% END # / IF OPACLocalCoverImages && localimages.size %]
1052 [% IF ( IDreamBooksReviews ) %]
1053 <div id="idb_critic_reviews">
1054 <div id="idb_review_snippets"></div>
1055 <span><a id="seemoreidb">More book reviews at iDreamBooks.com</a></span>
1058 </div> <!-- / #bibliodescriptions -->
1060 [% IF ( NovelistSelectProfile && NovelistSelectView == 'below' && ( normalized_isbn || normalized_upc ) ) %]
1061 <div id="NovelistSelect">
1062 <h3>Novelist Select</h3>
1063 <div data-novelist-novelistselect="[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]"></div>
1067 [% IF ( Babeltheque ) %]
1069 <div id="BW_etiquettes"></div>
1070 <div id="BW_suggestions"></div>
1072 <div class="clearfix"></div>
1074 <div id="BW_podcasts"></div>
1076 <div class="clearfix"></div>
1078 <div id="BW_videos"></div>
1080 [% END # / IF Babeltheque %]
1082 [%# Following on one line due to translation issues %]
1083 [% INCLUDE "openlibrary-readapi.inc" bib = { normalized_isbn => normalized_isbn,lccn => lccn, normalized_oclc => normalized_oclc } %]
1085 </div> <!-- /.span9 -->
1088 <div id="ulactioncontainer">
1090 [% IF ( Koha.Preference('OpacBrowseResults') && busc ) %]
1091 <div class="nav_results">
1092 <div class="l_Results" style="display:none;">
1093 [% IF ( listResults ) %]
1094 <a href="#" id="a_listResults"><i class="fa fa-bars"></i> Browse results</a>
1096 <span><i class="fa fa-bars"></i> Browse results</span>
1098 <a href="#" class="close_pagination"><i class="fa fa-remove"></i> Close</a>
1100 <ul class="pg_menu clearfix">
1101 <li class="left_results">
1102 [% IF ( previousBiblionumber ) %]
1103 <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>
1105 <span>Previous</span>
1108 [%# busc is already URI encoded %]
1109 <li class="back_results"><a href="opac-search.pl?[% busc | $raw %]" title="Back to the results search list">Back to results</a></li>
1110 <li class="right_results">
1111 [% IF ( nextBiblionumber ) %]
1112 <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>
1118 [% IF ( listResults ) %]
1119 <div class="results-pagination">
1120 <div class="nav_pages">
1121 <ul id="listResults">
1122 [% FOREACH listitem IN listResults %]
1123 [% IF ( listitem.biblionumber == biblionumber ) %]
1124 <li class="li_pag_[% loop.count | html %] highlight">
1126 <li class="li_pag_[% loop.count | html %]">
1128 <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>
1132 <div class="pagination_list">
1133 <ul id="ul_pagination_lists">
1134 [% FOREACH listitem IN listResults %]
1135 [% IF ( listitem.biblionumber == biblionumber ) %]
1136 <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>
1138 <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>
1145 <div class="pagination_footer">
1146 <a href="#" class="close_pagination"><i class="fa fa-remove"></i> Close</a>
1149 [% END # / IF OpacBrowseResults && busc %]
1151 [% INCLUDE 'opac-detail-sidebar.inc' %]
1153 [% IF ( NovelistSelectProfile && NovelistSelectView == 'right' && ( normalized_isbn || normalized_upc ) ) %]
1154 <div id="NovelistSelect">
1155 <h4>Novelist Select</h4>
1156 <div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]></div>
1160 [% IF ( Babeltheque ) %]
1161 <div class="babeltheque_adds">
1162 <div id="BW_critiques_aj"></div>
1163 <div id="BW_citations_aj"></div>
1167 [% IF ( Koha.Preference('SocialNetworks') ) %]
1168 <div id="social_networks" class="clearfix">
1170 [% SET SocialNetworks = Koha.Preference('SocialNetworks') %]
1171 [% FOREACH network IN SocialNetworks.split(",") %]
1172 [% SWITCH network -%]
1173 [% CASE "facebook" -%]
1174 <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>
1175 [% CASE "linkedin" -%]
1176 <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>
1178 <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>
1179 [% CASE "twitter" -%]
1180 <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>
1184 [% END # /IF SocialNetworks %]
1185 </div> <!-- / .ulactioncontainer -->
1186 </div> <!-- / .span4 -->
1187 </div> <!-- / .row-fluid -->
1188 <div class="row-fluid">
1189 [% IF ( LibraryThingForLibrariesID ) %]
1190 <script src="https://ltfl.librarything.com/forlibraries/widget.js?systype=koha&id=[% LibraryThingForLibrariesID | html %]"></script>
1191 <noscript>This page contains enriched content visible when JavaScript is enabled or by clicking
1192 <a href="https://www.librarything.com/forlibraries/noscript.php?id=[% LibraryThingForLibrariesID | uri %]&accessibility=1">here</a>.</noscript>
1195 [% IF ( NovelistSelectProfile && ( normalized_isbn || normalized_upc ) ) %]
1196 <script src="https://imageserver.ebscohost.com/novelistselect/ns2init.js"></script>
1199 [% IF ( Babeltheque ) %]
1200 <script src="[% Babeltheque_url_js | html %]"></script>
1202 </div> <!-- / .row-fluid -->
1203 </div> <!-- / .container-fluid -->
1204 </div> <!-- / .main -->
1206 [% INCLUDE 'opac-bottom.inc' %]
1208 [%# End of template %]
1210 [% BLOCK items_table %]
1211 <table class="table table-bordered table-striped" id="[% table_id | html %]">
1214 [% IF ( item_level_itypes ) %]
1215 <th id="item_itemtype" data-colname="item_itemtype" class="itype">Item type</th>[% END %]
1216 [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %]
1217 <th id="item_current_location" data-colname="item_current_location" class="item_location">Current location</th>[% END %]
1218 [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]
1219 <th id="item_home_location" data-colname="item_home_location" class="item_location">Home library</th>[% END %]
1220 [% IF ( itemdata_ccode ) %]
1221 <th id="item_ccode" data-colname="item_ccode" class="collection">Collection</th>[% END %]
1222 [% IF ( Koha.Preference('OpacLocationOnDetail') == 'column' && itemdata_location ) %]
1223 <th id="item_shelving_location" data-colname="item_shelving_location" class="shelving_location">Shelving location</th>[% END %]
1224 <th id="item_callnumber" data-colname="item_callnumber" class="call_no">Call number</th>
1225 [% IF ( itemdata_enumchron ) %]
1226 <th id="item_enumchron" data-colname="item_enumchron" class="vol_info">Vol info</th>[% END %]
1227 [% IF ( itemdata_uri ) %]
1228 <th id="item_url" data-colname="item_url" class="url">URL</th>[% END %]
1229 [% IF ( itemdata_copynumber ) %]
1230 <th id="item_copy" data-colname="item_copy" class="copynumber">Copy number</th>[% END %]
1231 <th id="item_status" data-colname="item_status" class="status">Status</th>
1232 [% IF ( itemdata_itemnotes ) %]
1233 <th id="item_notes" data-colname="item_notes" class="notes">Notes</th>[% END %]
1234 <th id="item_datedue" data-colname="item_datedue" class="date_due">Date due</th>
1235 <th id="item_barcode" data-colname="item_barcode" class="barcode">Barcode</th>
1236 [% IF holds_count.defined %]
1237 <th id="item_holds" data-colname="item_holds">Item holds</th>
1238 [% ELSIF show_priority %]
1239 <th id="item_priority" data-colname="item_priority">Item hold queue priority</th>
1241 [% IF ( ShowCourseReservesHeader ) %]
1242 <th id="item_coursereserves" data-colname="item_coursereserves">Course reserves</th>[% END %]
1246 [% FOREACH ITEM_RESULT IN items %]
1247 [% IF ITEM_RESULT.this_branch %]
1248 <tr class="highlight-row-detail" vocab="http://schema.org/" typeof="Offer">
1250 <tr vocab="http://schema.org/" typeof="Offer">
1252 [% IF ( item_level_itypes ) %]
1254 [% UNLESS ( noItemTypeImages ) %]
1255 [% IF ( ITEM_RESULT.imageurl ) %]
1256 <img src="[% ITEM_RESULT.imageurl | html %]" title="[% ITEM_RESULT.description | html %]" alt="[% ITEM_RESULT.description | html %]" />
1259 [% ITEM_RESULT.description | html %]
1262 [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %]
1263 <td class="location" property="seller">
1264 <link property="itemOffered" href="#record" />
1265 <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
1266 <span class="[% ITEM_RESULT.holding_branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]" title="">
1267 [% IF ( ITEM_RESULT.branchurl ) %]
1268 <a href="[% ITEM_RESULT.branchurl | url %]">[% ITEM_RESULT.branchname | html %]</a>
1270 <span>[% ITEM_RESULT.branchname | html %]</span>
1273 <div class="branch-info-tooltip">[% ITEM_RESULT.holding_branch_opac_info | $raw %]</div>
1275 [% IF ( Koha.Preference('OpacLocationOnDetail') == 'holding' || Koha.Preference('OpacLocationOnDetail') == 'both' ) %]
1276 <span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span>
1282 [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]
1283 <td class="location" property="seller">
1284 <link property="itemOffered" href="#record" />
1285 <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
1286 <span class="[% ITEM_RESULT.home_branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]" title="">
1287 [% IF Branches.GetURL( ITEM_RESULT.homebranch ) %]
1288 [% home_branch_url = Branches.GetURL( ITEM_RESULT.homebranch ) %]
1289 [% IF ( home_branch_url ) %]
1290 <a href="[% home_branch_url | url %]">[% Branches.GetName( ITEM_RESULT.homebranch ) | html %]</a>
1292 <span>[% Branches.GetName( ITEM_RESULT.homebranch ) | html %]</span>
1295 <span>[% Branches.GetName( ITEM_RESULT.homebranch ) | html %]</span>
1298 <div class="branch-info-tooltip">[% ITEM_RESULT.home_branch_opac_info | $raw %]</div>
1300 [% IF ( Koha.Preference('OpacLocationOnDetail') == 'home' || Koha.Preference('OpacLocationOnDetail') == 'both' ) %]
1301 <span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span>
1307 [% IF ( itemdata_ccode ) %]
1308 <td class="collection">[% ITEM_RESULT.ccode | html %]</td>
1311 [% IF ( Koha.Preference('OpacLocationOnDetail') == 'column' && itemdata_location ) %]
1312 <td class="shelving_location"><span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span></td>
1315 <td class="call_no" property="sku">
1316 [% IF ( ITEM_RESULT.itemcallnumber ) %]
1317 [% ITEM_RESULT.itemcallnumber | html %]
1318 [% IF ( OPACShelfBrowser ) %]
1319 [% IF ( ITEM_RESULT.itemnumber == starting_itemnumber ) %]
1320 (<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>)
1322 (<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber | uri %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber | uri %]#[% tab | uri %]">Browse shelf</a>)
1327 [% IF ( itemdata_enumchron ) %]
1328 <td class="vol_info">
1329 [% IF ITEM_RESULT.enumchron && ITEM_RESULT.serialseq %]
1330 <span class="enum">[% ITEM_RESULT.enumchron | html %]</span>
1331 [% IF ( ITEM_RESULT.serialseq && ITEM_RESULT.enumchron!=ITEM_RESULT.serialseq ) %]
1332 <span class="sep"> -- </span>
1333 <span class="serialseq">[% ITEM_RESULT.serialseq | html %]</span>
1335 [% ELSIF ITEM_RESULT.enumchron %]
1336 <span class="enum">[% ITEM_RESULT.enumchron | html %]</span>
1337 [% ELSIF ITEM_RESULT.serialseq %]
1338 <span class="serialseq">[% ITEM_RESULT.serialseq | html %]</span>
1340 [% IF ( ITEM_RESULT.publisheddate ) %]
1341 <span class="pubdate">([% ITEM_RESULT.publisheddate | $KohaDates %])</span>
1345 [% IF ( itemdata_uri ) %]
1347 [% IF ITEM_RESULT.uri %]
1348 [% IF Koha.Preference('URLLinkText') %]
1349 [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1350 [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1351 <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">[% Koha.Preference('URLLinkText') %]</a>
1353 <a href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&biblionumber=[% biblio.biblionumber | uri %]&itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url">[% Koha.Preference('URLLinkText') %]</a>
1356 [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1357 <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri | url %]" property="url">[% Koha.Preference('URLLinkText') %]</a>
1359 <a href="[% ITEM_RESULT.uri | url %]" property="url">[% Koha.Preference('URLLinkText') %]</a>
1363 [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1364 [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1365 <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>
1367 <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>
1370 [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1371 <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri | url %]" property="url">Link to resource</a>
1373 <a href="[% ITEM_RESULT.uri | url %]" property="url">Link to resource</a>
1380 [% IF ( itemdata_copynumber ) %]<td class="copynumber">[% ITEM_RESULT.copynumber | html %]</td>[% END %]
1381 <td class="status">[% INCLUDE 'item-status-schema-org.inc' item = ITEM_RESULT %][% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
1382 [% IF ( itemdata_itemnotes ) %]<td class="notes" property="description">[% ITEM_RESULT.itemnotes | $raw %]</td>[% END %]
1383 <td class="date_due"><span title="[% ITEM_RESULT.datedue | html %]">[% ITEM_RESULT.datedue | $KohaDates as_due_date => 1 %]</span></td>
1384 <td class="barcode" property="serialNumber">[% ITEM_RESULT.barcode | html %]</td>
1385 [% IF holds_count.defined || show_priority %]
1386 <td class="holds_count">
1387 [% IF holds_count.defined %] [% ITEM_RESULT.holds_count | html %] [% END %]
1388 [% IF ITEM_RESULT.priority %]
1389 [% IF holds_count.defined %]
1390 <span>(priority [% ITEM_RESULT.priority | html %])</span>
1392 <span>[% ITEM_RESULT.priority | html %]</span>
1397 [% IF ShowCourseReservesHeader %]
1399 [% IF ITEM_RESULT.course_reserves %]
1400 [% FOREACH r IN ITEM_RESULT.course_reserves %]
1401 [% IF r.course.enabled == 'yes' %]
1403 <a href="opac-course-details.pl?course_id=[% r.course.course_id | uri %]">
1404 [% r.course.course_name | html %]
1405 <!--[% IF r.course.course_number %] [% r.course.course_number | html %] [% END %]-->
1406 [% IF r.course.section %] [% r.course.section | html %] [% END %]
1407 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term, 1 ) | html %] [% END %]
1414 [% END # /IF ShowCourseReservesHeader %]
1419 [% END %][%# end of items_table block %]
1421 [% BLOCK jsinclude %]
1422 [% INCLUDE 'datatables.inc' %]
1423 [% INCLUDE 'columns_settings.inc' %]
1424 [% INCLUDE greybox.inc %]
1425 [% IF ( SocialNetworks ) %]
1426 <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>
1428 [% IF ( OpacStarRatings != 'disable' ) %][% Asset.js("lib/jquery/plugins/jquery.barrating.min.js") | $raw %][% END %]
1430 [% IF ( OpacHighlightedWords ) %][% Asset.js("lib/jquery/plugins/jquery.highlight-3.js") | $raw %][% END %]
1431 [% IF ( Koha.Preference('OPACDetailQRCode') ) %]
1432 [% Asset.js("lib/kjua/kjua.min.js") | $raw %]
1435 [% IF ( Koha.Preference('OPACShowMusicalInscripts') ) %]
1437 var interface = "[% interface | html %]";
1438 var PREF_OPACPlayMusicalInscripts = "[% Koha.Preference('OPACPlayMusicalInscripts') | html %]";
1440 [% Asset.js("js/verovio.js") | $raw %]
1444 [% IF ( OpacHighlightedWords ) %]
1445 var q_array = new Array(); // holds search terms if available
1447 function highlightOff() {
1448 $("#catalogue_detail_biblio").removeHighlight();
1449 $(".highlight_toggle").toggle();
1451 function highlightOn() {
1453 for (x in q_array) {
1454 if ( q_array[x].length > 0 ) {
1455 q_array[x] = q_array[x].replace(/\w*:([\w])/, "$1");
1456 q_array[x] = q_array[x].toLowerCase();
1457 var myStopwords = "[% Koha.Preference('NotHighlightedWords') | html %]".toLowerCase().split('|');
1458 if( $.inArray(q_array[x], myStopwords) == -1 ) {
1459 $(".title").highlight(q_array[x]);
1460 $(".author").highlight(q_array[x]);
1461 $(".results_summary").highlight(q_array[x]);
1465 $(".highlight_toggle").toggle();
1469 $(document).ready(function() {
1471 [% IF ( Koha.Preference('OPACDetailQRCode') ) %]
1478 text: location.href,
1481 document.getElementById("qrcode").appendChild( qrcode );
1484 $(".show_qrcode").on("click", function(){
1485 var qrcodeImg = $("#qrcode");
1486 if( qrcodeImg.hasClass("hidden") ){
1487 qrcodeImg.removeClass("hidden");
1489 qrcodeImg.addClass("hidden");
1494 $('#bibliodescriptions').tabs();
1495 $(".branch-info-tooltip-trigger").uitooltip({
1496 position: { my: "left+15 center", at: "right center" },
1499 content: function(){
1500 var element = $(this).next("div");
1501 return element.html();
1505 [% IF ( Koha.Preference('OpacBrowseResults') && busc ) %]
1506 $(".l_Results").show();
1507 $("#a_listResults").on("click", function(e){
1509 $(".results-pagination, .close_pagination, .pg_menu").toggle();
1512 $(".close_pagination").on("click", function(e){
1514 $(".results-pagination, .close_pagination, .pg_menu").toggle();
1518 var columns_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'holdingst', 'json' ) | $raw %];
1520 KohaTable("#holdingst", {
1521 dom: '<"clearfix">t',
1523 { "targets": [ -1 ], "sortable": false, "searchable": false },
1524 { "type": "title-string", "targets" : [ "title-string" ] }
1526 "bKohaColumnsUseNames": true,
1528 }, columns_settings);
1530 KohaTable("#otherholdingst", {
1531 dom: '<"clearfix">t',
1533 { "targets": [ -1 ], "sortable": false, "searchable": false },
1534 { "type": "title-string", "targets" : [ "title-string" ] }
1536 "bKohaColumnsUseNames": true,
1538 }, columns_settings);
1540 var serial_column_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %];
1542 KohaTable("#subscriptionst", {
1543 dom: '<"clearfix">t',
1544 "sorting": [[ 1, "desc" ]],
1546 { "type": "title-string", "targets" : [ "title-string" ] }
1549 "bKohaColumnsUseNames": true
1550 }, serial_column_settings);
1552 [% IF ( TagsInputEnabled && loggedinusername ) %]
1553 $(".tag_add").click(function(){
1554 var thisid = $(this).attr("id");
1555 thisid = thisid.replace("tag_add","");
1557 $("#tagform"+thisid).show();
1558 $("#newtag"+thisid).focus();
1559 $("#newtag"+thisid+"_status").empty().hide();
1562 $(".cancel_tag_add").click(function(){
1563 var thisid = $(this).attr("id");
1564 thisid = thisid.replace("cancel","");
1565 $("#tagform"+thisid).hide();
1566 $("#tag_add"+thisid).show();
1567 $("#newtag"+thisid).val("");
1568 $("#newtag"+thisid+"_status").empty().hide();
1571 $(".tagbutton").click(function(){
1572 var thisid = $(this).attr("title");
1573 var tag = $("#newtag"+thisid).val();
1574 if (!tag || (tag == "")) {
1575 alert(MSG_NO_TAG_SPECIFIED);
1578 KOHA.Tags.add_tag_button(thisid, tag);
1583 [%# Note that there is no way atm to target a column with its class name to set it as the default sort order %]
1584 [% IF Koha.Preference('OpacLocationBranchToDisplay') == 'home' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND item_level_itypes
1585 OR Koha.Preference('OpacLocationBranchToDisplay') == 'holding' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'holdingbranch' AND item_level_itypes
1586 OR Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND NOT item_level_itypes
1587 OR Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'holdingbranch' AND item_level_itypes %]
1588 var default_order_index = 1;
1589 [% ELSIF Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND item_level_itypes %]
1590 var default_order_index = 2;
1592 var default_order_index = 0;
1595 [% IF ( query_desc ) %][% IF ( OpacHighlightedWords ) %]var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') | html %]";
1596 q_array = query_desc.split(" ");
1597 q_array = q_array.filter(function(n){ return n }); // Remove empty strings
1599 $("#highlight_toggle_on" ).hide().click(function() {highlightOn() ; return false;});
1600 $("#highlight_toggle_off").show().click(function() {highlightOff(); return false;});[% END %][% END %]
1601 [% IF ( GoogleJackets ) %]
1602 KOHA.Google.GetCoverFromIsbn([% covernewwindow | html %]);
1604 [% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %]
1605 KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]',[% covernewwindow | html %]);
1608 [% IF OpenLibraryCovers %]
1609 KOHA.OpenLibrary.GetCoverFromIsbn();
1611 [% IF OPACLocalCoverImages %]
1612 KOHA.LocalCover.GetCoverFromBibnumber(true);
1614 [% IF ( NovelistSelectProfile && ( normalized_isbn || normalized_upc ) ) %]
1615 novSelect.loadContentForQuery(
1617 ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]',
1618 ISBN : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]',
1621 '[% NovelistSelectProfile | html %]',
1622 '[% NovelistSelectPassword | html %]',
1624 if ( d.length > 0 ){ //If no content
1625 $(".NovelistSelect").show();
1630 [% IF ( OPACShelfBrowser ) %]
1632 (function prepareShelfBrowser(){
1634 $(".main").on("click",".close_shelf",function(e){
1636 $("#shelfbrowser").toggle();
1638 $(".main").on("click", "#browser_previous a", function(e){
1641 url: "/cgi-bin/koha/svc/shelfbrowser.pl",
1644 "shelfbrowse_itemnumber": $("#browser_previous a").data( "prev-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);
1664 $(".main").on("click", "#browser_next a", function(e){
1667 url: "/cgi-bin/koha/svc/shelfbrowser.pl",
1670 "shelfbrowse_itemnumber": $("#browser_next a").data( "next-itemnumber" )
1672 success: function(data){
1673 $("#shelfbrowser").replaceWith(data);
1674 [% IF ( GoogleJackets ) %]
1675 KOHA.Google.GetCoverFromIsbn([% covernewwindow | html %]);
1677 [% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %]
1678 KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]',[% covernewwindow | html %]);
1680 [% IF OpenLibraryCovers %]
1681 KOHA.OpenLibrary.GetCoverFromIsbn();
1683 [% IF OPACLocalCoverImages %]
1684 KOHA.LocalCover.GetCoverFromBibnumber(true);
1691 [% IF ( OpacStarRatings != 'disable' ) %]
1692 // -----------------------------------------------------
1693 // star-ratings code
1694 // -----------------------------------------------------
1695 // hide 'rate' button if javascript enabled
1697 $('input[name="rate_button"]').remove();
1699 var rating_enabled = ( $("#star_rating").data("rating-enabled") == "1" ) ? false : true;
1700 $('#star_rating').barrating({
1701 theme: 'fontawesome-stars',
1702 showSelectedRating: false,
1704 deselectable: false,
1705 readonly: rating_enabled,
1706 onSelect: function(value, text) {
1707 $("#rating-loading").show();
1708 $.post("/cgi-bin/koha/opac-ratings-ajax.pl", {
1709 rating_old_value: $("#rating_value").attr("value"),
1710 borrowernumber: "[% borrowernumber | html %]",
1711 biblionumber: "[% biblio.biblionumber | html %]",
1712 rating_value: value,
1714 }, function (data) {
1715 $("#rating_value").val(data.rating_value);
1716 if (data.rating_value) {
1717 $("#rating_value_text").text(_("Your rating: %s, ").format(data.rating_value));
1718 $("#cancel_rating_text").show();
1720 $("#rating_value_text").text('');
1721 $("#cancel_rating_text").hide();
1723 $("#rating_text").text(_("Average rating: %s (%s votes)").format(data.rating_avg, data.rating_total));
1724 $("#rating-loading").hide();
1729 $("#cancel_rating_text a").on("click", function(e){
1731 $("#star_rating").barrating("set", "");
1734 [% END # / IF ( OpacStarRatings != 'disable' )%]
1736 [% IF ( IDreamBooksReviews || IDreamBooksReadometer ) %]
1737 var isbn = $(".isbn:last").text().split(" ")[1];
1739 isbn = isbn.replace(/\W*$/, '');
1740 isbn = isbn.replace(/-/, '');
1742 if ($.browser.msie && parseInt($.browser.version, 10) >= 8 && window.XDomainRequest) {
1743 // Use Microsoft XDR for IE version 8 or above
1744 var xdr = new XDomainRequest();
1745 xdr.open("get", "https://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e");
1746 xdr.onload = function() {
1747 json = 'json = '+xdr.responseText; // the string now looks like.. json = { ... };
1748 eval(json); // json is now a regular JSON object
1749 parseIDBJSON(json); // parse using same function as for jQuery's success event
1753 $.getJSON("https://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e", function(json){
1758 [% END # / IDreamBooksReviews || IDreamBooksReadometer%]
1761 [% IF ( IDreamBooksReviews || IDreamBooksReadometer ) %]
1762 function parseIDBJSON( json ) {
1763 if(json.total_results > 0 && json.book.rating > 0){
1764 var isbn = $(".isbn:last").text().split(" ")[1];
1765 isbn = isbn.replace(/\W+/g, '');
1767 [% IF ( IDreamBooksReadometer ) %]
1768 $(".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>');
1771 [% IF ( IDreamBooksReviews ) %]
1772 //build new tab for critic reviews
1773 $("#tab_idb_critic_reviews a").text($("#tab_idb_critic_reviews a").text().replace('XXX', json.book.review_count));
1775 //append happy-sad cloud review
1777 $("#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>");
1779 //insert data into Book reviews tab
1780 $.each(json.book.critic_reviews, function(){
1781 $("#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>");
1783 $("#seemoreidb").attr('href', json.book.detail_link);
1784 $("#tab_idb_critic_reviews").show();
1788 [% END # / IF IDreamBooksReviews || IDreamBooksReadometer %]
1791 [% IF OPACPopupAuthorsSearch %]
1793 function showAuthors(element){
1794 var authornumber = $(element).attr("data-count");
1796 // Check checkbox related to the clicked link
1797 $("#authorsList input[type='checkbox']").attr('checked', false);
1798 $("#author_"+authornumber).attr('checked', true);
1800 makeAuthorRequest();
1803 function checkAll(checkbox, elem) {
1804 var check = $(checkbox).attr('checked') ? true : false;
1805 $(elem).find("input[type='checkbox']").attr('checked', check);
1806 elem == "#authorsList" ? makeAuthorRequest() : makeSubjectRequest();
1809 function makeAuthorRequest(){
1812 $("#authorsList").find("input[type='checkbox']:checked").each(function () {
1813 values.push($(this).val());
1816 if (values.length > 0) {
1817 var request = "/cgi-bin/koha/opac-search.pl?q=" + values.join(' and ');
1818 $("#validAuthorSearch").attr("href", request);
1820 $("#validAuthorSearch").removeAttr("href");
1826 function showSubjects(element, subjectnumber, subfieldnumber){
1828 // Check checkbox related to the clicked link
1829 $("#subjectsList input[type='checkbox']").attr('checked', false);
1830 $("#subject_"+subjectnumber+"_"+subfieldnumber).attr('checked', true);
1832 makeSubjectRequest();
1836 function makeSubjectRequest() {
1838 $("#subjectsList > ul").each(function() {
1839 var all_checked = true;
1840 var local_values = [];
1841 $(this).find('input[type="checkbox"]').each(function() {
1842 if($(this).attr('checked')) {
1843 local_values.push($(this).val());
1845 all_checked = false;
1848 var authid = $(this).attr('data-authid');
1849 if(all_checked && authid) {
1850 values.push('an:' + authid);
1852 values = values.concat(local_values);
1855 if(values.length > 0) {
1856 var request = "/cgi-bin/koha/opac-search.pl?q=" + values.join(' and ');
1857 $("#validSubjectSearch").attr('href', request);
1859 $("#validSubjectSearch").removeAttr("href");
1862 $(document).ready(function() {
1863 $("a.showauthors").click(function(e){
1869 [% END # / IF OPACPopupAuthorsSearch %]