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 | url %][% bt_id | url %]" target="_blank" rel="noreferrer"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
97 <a href="https://[% BakerTaylorBookstoreURL | url %][% bt_id | url %]"><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 [% SET title_notes_count = 0 %]
568 [% SET title_notes_count = MARCNOTES.size %]
570 [% SET title_notes_count = 1 %]
572 [% IF SYNDETICS_SUMMARY %][% SET title_notes_count = title_notes_count + 1 %][% END %]
573 <li id="tab_descriptions"> <a href="#descriptions">Title notes ( [% title_notes_count | html %] )</a></li>
575 [% IF ( SYNDETICS_TOC ) %]
576 <li id="tab_toc"> <a href="#toc">TOC</a></li>
578 [% IF ( SyndeticsEnabled ) %]
579 [% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %]
580 <li id="tab_excerpt"> <a href="#excerpt">Excerpt</a></li>
582 [% IF ( ( SyndeticsReviews && SYNDETICS_REVIEWS ) || ( LibraryThingForLibrariesTabbedView && LibraryThingForLibrariesID) ) %]
583 <li id="tab_reviews"> <a href="#reviews">Reviews</a></li>
584 [% IF ( LibraryThingForLibrariesID ) %]
585 <li id="tab_LTFLreviews">
586 <script src="https://www.librarything.com/forlibraries/widget.js?id=[% LibraryThingForLibrariesID | html %]"></script>
587 <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>
591 [% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %]
592 <li id="tab_anotes"> <a href="#anotes">About the author</a></li>
594 [% END # / IF SyndeticsEnabled %]
596 [% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %]
597 <li id="tab_LFTLSimilarItems"> <a href="#LFTLSimilarItems">Similar items</a></li>
598 <li id="tab_LTFLTagBrowse"> <a href="#LTFLTagBrowse">Tag browser</a></li>
601 [% IF ( subscriptionsnumber ) %]
602 [% IF ( defaulttab == 'subscriptions' ) %]<li id="tab_subscriptions" class="ui-tabs-active">[% ELSE %]<li id="tab_subscriptions">[% END %]
603 <a href="#subscriptions">Subscriptions ( [% subscriptionsnumber | html %] )</a>
607 [% IF Koha.Preference( 'reviewson' ) == 1 %]
608 <li id="tab_comments"><a href="#comments">Comments[% ' ( ' _ (reviews.size || 0) _ ' )' | html %]</a></li>
611 [% IF ( NovelistSelectProfile && (normalized_isbn || normalized_upc) ) %]
612 [% IF ( NovelistSelectView == 'tab') %]
613 <li id="tab_NovelistSelect" class="NovelistSelect" style="display:none;"> <a href="#NovelistSelect">Novelist Select</a></li>
617 [% IF ( OPACFRBRizeEditions && XISBNS ) %]
618 <li id="tab_editions"><a href="#editions">Editions</a></li>
621 [% IF ( serialcollection ) %]
622 [% IF ( defaulttab == 'serialcollection' ) %]<li id="tab_serialcollection" class="ui-tabs-active">[% ELSE %]<li id="tab_serialcollection">[% END %]
623 <a href="#serialcollection">Serial collection</a>
627 [% IF ( OPACLocalCoverImages && localimages.size ) %]
628 <li id="tab_images"><a href="#images">Images</a></li>
631 [% IF ( HTML5MediaEnabled && HTML5MediaSets ) %]
632 [% IF ( defaulttab == 'media' ) %]<li id="tab_html5media" class="ui-tabs-active">[% ELSE %]<li id="tab_html5media">[% END %]<a href="#html5media">Play media</a></li>
635 [% IF ( IDreamBooksReviews ) %]
636 <li id='tab_idb_critic_reviews' style="display:none;"><a href='#idb_critic_reviews'>Book reviews by critics ( XXX )</a></li>
640 [% IF ( serialcollection ) %]
641 <div id="serialcollection">
642 <table id="serialcollectiont" class="table table-bordered table-striped">
645 <th id="serial_library">Library</th>
646 <th id="serial_collection">Serial collection</th>
647 <th id="serial_itemcallnumber">Item call number</th>
651 [% FOREACH serialcollection IN serialcollections %]
653 <td>[% serialcollection.branch | html %]</td>
654 <td>[% serialcollection.text | html %]</td>
655 <td>[% serialcollection.itemcallnumber | html %]</td>
661 [% END # / IF serialcollection %]
665 [% IF too_many_items %]
666 <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>
667 [% ELSIF ( itemloop.size ) %]
668 [% INCLUDE items_table items=itemloop tab="holdings" table_id="holdingst" %]
669 [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %]
670 [% IF acquisition_details.total_quantity == 1 %]
671 <span>1 item is on order.</span>
673 <span>[% acquisition_details.total_quantity | html %] items are on order.</span>
676 [% IF holds_count.defined || priority %]
678 [% IF holds_count.defined %]
679 <span>Total holds: [% holds_count | html %]</span>
682 [% IF holds_count.defined %]
683 <span>(priority [% priority | html %])</span>
685 <span>Overall queue priority: [% priority | html %]</span>
691 [% IF ( ALTERNATEHOLDINGS ) %]
692 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
693 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding | html %]</div>
696 [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %]
697 [% IF acquisition_details.total_quantity == 1 %]
698 <span>1 item is on order.</span>
700 <span>[% acquisition_details.total_quantity | html %] items are on order.</span>
703 <div id="noitems">No physical items for this record</div>
706 [% END # IF itemloop.size %]
707 [% PROCESS 'shelfbrowser.inc' %]
708 [% INCLUDE shelfbrowser tab='holdings' %]
709 <br style="clear:both;" />
710 </div> <!-- / #holdings -->
712 [% IF (SeparateHoldings) %]
713 <div id="otherholdings">
714 [% IF (otheritemloop.size) %]
715 [% INCLUDE items_table items=otheritemloop tab="otherholdings" table_id="otherholdingst" %]
717 <span>No other items.</span>
719 [% INCLUDE shelfbrowser tab='otherholdings' %]
721 [% END # / SeparateHoldings %]
723 [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
724 <div id="descriptions">
725 <div class="content_set">
727 [% IF ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY ) %]
728 <h4>Enhanced descriptions from Syndetics:</h4>
729 <p>[% SYNDETICS_SUMMARY | html %]</p>
732 [% IF ( MARCNOTES ) %]
734 [% FOREACH MARCNOTE IN MARCNOTES %]
736 [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
737 <a href="[% MARCNOTE.marcnote | url %]">[% MARCNOTE.marcnote | html %]</a>
739 [% MARCNOTE.marcnote | html | html_line_break %]
746 <p>[% notes | html %]</p>
751 </div> <!-- / #descriptions -->
752 [% END # / IF MARCNOTES || notes %]
754 [% IF ( SyndeticsEnabled ) %]
755 [% IF ( SyndeticsTOC && SYNDETICS_TOC ) %]
757 <div class="content_set">
758 <h3>Table of contents provided by Syndetics</h3>
760 [% FOREACH SYNDETICS_TO IN SYNDETICS_TOC %]
761 <li><b>[% SYNDETICS_TO.l | html %] [% SYNDETICS_TO.t | html %]</b>[% IF ( SYNDETICS_TO.p ) %] ([% SYNDETICS_TO.p | html %])[% END %]</li>
766 [% END # / IF SyndeticsTOC && SYNDETICS_TOC %]
768 [% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %]
770 <div class="content_set">
771 <h3>Excerpt provided by Syndetics</h3>
772 [% SYNDETICS_EXCERPT | html %]
775 [% END # / IF SyndeticsExcerpt && SYNDETICS_EXCERPT %]
777 [% IF ( SyndeticsReviews && SYNDETICS_REVIEWS ) %]
779 <div class="content_set">
780 <h3>Reviews provided by Syndetics</h3>
781 [% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %]
782 [% IF ( SYNDETICS_REVIEW.title ) %]
783 <h4>[% SYNDETICS_REVIEW.title | html %]</h4>
784 [% FOREACH review IN SYNDETICS_REVIEW.reviews %]
786 [% IF ( review.content ) %]
787 [% review.content | html %]
795 [% END # / IF SyndeticsReviews && SYNDETICS_REVIEWS %]
797 [% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %]
799 <div class="content_set">
800 <h3>Author notes provided by Syndetics</h3>
801 [% FOREACH SYNDETICS_ANOTE IN SYNDETICS_ANOTES %]
802 [% IF ( SYNDETICS_ANOTE.content ) %]
803 [% SYNDETICS_ANOTE.content | html %]
808 [% END # / IF SyndeticsReviews && SYNDETICS_REVIEWS %]
809 [% END # / IF SyndeticsEnabled %]
811 [% IF ( NovelistSelectProfile && NovelistSelectView == 'tab' && (normalized_isbn || normalized_upc) ) %]
812 <div id="NovelistSelect" >
813 <div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]></div>
815 [% END # / IF NovelistSelectProfile && NovelistSelectView == 'tab' %]
817 [% IF ( subscriptionsnumber ) %]
818 <div id="subscriptions">
819 <h2>This is a serial</h2>
820 <p class="subscription_count">There are [% subscriptionsnumber | html %] subscription(s) associated with this title.</p>
821 [% FOREACH subscription IN subscriptions %]
822 [% IF ( subscription.branchcode ) %]
823 <h3>At library: [% Branches.GetName( subscription.branchcode ) | html %]</h3>
825 [% IF ( subscription.branchcode ) %]
826 <h3>At library: [% subscription.branchcode | html %]</h3>
829 [% IF ( subscription.closed ) %]
830 <p class="subscription_closed">This subscription is closed.</p>
832 [% IF ( subscription.location ) %]
833 <p class="subscription_location">Location: [% AuthorisedValues.GetByCode( 'LOC', subscription.location, 1 ) | html %]
835 [% IF ( subscription.callnumber ) %]
836 <p class="subscription_callnumber">Call number: [% subscription.callnumber | html %]</p>
838 [% IF ( subscription.subscriptionnotes ) %]
839 <p class="subscription_notes">[% subscription.subscriptionnotes | html | html_line_break %] </p>
841 <p class="subscription_dates">Subscription from: [% subscription.histstartdate | $KohaDates %] to:[% IF ( subscription.histenddate ) %] [% subscription.histenddate | $KohaDates %] [% ELSE %] now (current)[% END %]</p>
842 [% IF ( subscription.letter ) %]<span class="email_notifications">
843 [% IF ( loggedinusername ) %]
844 [% IF ( subscription.hasalert ) %]
845 <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>
847 <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>
850 <span>You must log in if you want to subscribe to email notification on new issues</span>
853 [% IF ( subscription.missinglist ) %]
854 <p class="subscription_missing">Missing issues: [% subscription.missinglist | html | html_line_break %] </p>
856 [% IF ( subscription.opacnote ) %]
857 <p class="subscription_opacnote">[% subscription.opacnote | html | html_line_break %]</p>
859 [% IF ( subscription.latestserials ) %]
860 <p class="subscription_latestissues"> The [% subscription.opacdisplaycount | html %] latest issues for this subscription:</p>
861 <table class="table table-bordered table-striped" id="subscriptionst">
864 <th id="serial_serialseq" data-colname="serial_serialseq">Issue #</th>
865 <th id="serial_publisheddate" data-colname="serial_publisheddate" class="title-string">Publication date</th>
866 <th id="serial_planneddate" data-colname="serial_planneddate" class="title-string">Received date</th>
867 <th id="serial_status" data-colname="serial_status">Status</th>
868 <th id="serial_notes" data-colname="serial_notes">Note</th>
872 [% FOREACH latestserial IN subscription.latestserials %]
874 <td class="serialseq">[% latestserial.serialseq | html %]</td>
875 <td class="publisheddate"><span title="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</span></td>
876 <td class="planneddate"><span title="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</span></td>
877 <td class="serial_status">
878 [% IF (latestserial.status1 ) %]<span>Expected</span>[% END %]
879 [% IF (latestserial.status2 ) %]<span>Arrived</span>[% END %]
880 [% IF (latestserial.status3 ) %]<span>Late</span>[% END %]
881 [% IF (latestserial.status4 ) %]<span>Missing</span>[% END %]
882 [% IF (latestserial.status41 ) %]<span>Missing (never received)</span>[% END %]
883 [% IF (latestserial.status42 ) %]<span>Missing (sold out)</span>[% END %]
884 [% IF (latestserial.status43 ) %]<span>Missing (damaged)</span>[% END %]
885 [% IF (latestserial.status44 ) %]<span>Missing (lost)</span>[% END %]
886 [% IF (latestserial.status5 ) %]<span>Not issued</span>[% END %]
887 [% IF (latestserial.status6 ) %]<span>Delete</span>[% END %]
888 [% IF (latestserial.status7 ) %]<span>Claimed</span>[% END %]
889 [% IF (latestserial.status8 ) %]<span>Stopped</span>[% END %]
891 <td class="serial_notes">[% latestserial.notes | html %]</td>
893 [% END # / FOREACH latestserials %]
896 [% END # / IF subscription.latestserials %]
897 [% END # / FOREACH subscriptions %]
898 <p class="subscription_moredetails"><a href="opac-serial-issues.pl?biblionumber=[% biblio.biblionumber | uri %]">More details</a></p>
899 </div> <!-- / #subscriptions -->
900 [% END # IF subscriptionsnumber %]
902 [% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %]
903 <!-- Library Thing for Libraries Content -->
904 <div id="LFTLSimilarItems">
905 <div class="content_set">
906 <!-- Uncommenting this span makes the font smaller in the tab for LTFL -->
907 <!-- but breaks Xhtml validation -->
908 <!-- <span class="results_summary">-->
909 <div id="ltfl_related"></div>
910 <div id="ltfl_similars"></div>
914 <div id="LTFLTagBrowse">
915 <div class="content_set">
916 <!-- <span class="results_summary"> -->
917 <div id="ltfl_tagbrowse" class="ltfl"></div>
921 [% END # / IF LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView %]
923 [% IF Koha.Preference( 'reviewson' ) == 1 %]
925 <div id="newcomment"></div>
927 [% FOREACH review IN reviews %]
928 [% IF borrowernumber && review.borrowernumber == borrowernumber %]
929 <div class="commentline yours" id="c[% review.reviewid | html %]">
930 [% IF ( review.avatarurl ) %]
931 <img class="avatar" src="[% review.avatarurl | html %]" height="80" width="80" alt="" />
933 [% IF review.approved %]
934 <h5>Your comment</h5>
936 <h5>Your comment (preview, pending approval)</h5>
938 <small>[% review.datereviewed | $KohaDates %]</small>
940 [% FILTER html_break %]
941 [% review.review | html %]
943 <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber | uri %]&reviewid=[% review.reviewid | uri %]');">Edit</a>
947 <div class="commentline">
948 [% IF ( ShowReviewer != "none" && review.patron) %]
950 [% IF ( review.avatarurl ) %]
951 <img class="avatar" src="[% review.avatarurl | html %]" height="80" width="80" alt="" />
953 [% SWITCH ShowReviewer %]
955 <h5>Comment by [% review.patron.title | html %] [% review.patron.firstname | html %] [% review.patron.surname | html %]</h5>
957 <h5>Comment by [% review.patron.firstname | html %]</h5>
959 <h5>Comment by [% review.patron.surname | html %]</h5>
960 [% CASE 'firstandinitial' %]
961 <h5>Comment by [% review.patron.firstname | html %] [% review.patron.surname|truncate(2,'.') | html %]</h5>
962 [% CASE 'username' %]
963 <h5>Comment by [% review.patron.userid | html %]</h5>
966 <small>[% review.datereviewed | $KohaDates %]</small>
968 <h5>Patron comment on [% review.datereviewed | $KohaDates %]</h5>
969 [% END # / IF ShowReviewer != "none" && review.patron %]
971 [% FILTER html_break %]
972 [% review.review | html %]
975 </div> <!-- / .commentline -->
977 [% END # / FOREACH reviews %]
979 <p>There are no comments for this item.</p>
980 [% END # / IF reviews %]
982 [% IF ( loggedinusername ) %]
983 [% UNLESS ( loggedincommenter ) %]
984 <div id="addcomment"> <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% biblio.biblionumber | uri %]'); return false;">
985 Post your comments on this item.
989 <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>
990 [% END # / IF loggedinusername %]
991 </div> <!-- / #comments -->
992 [% END # / IF reviewson %]
994 [% IF ( OPACFRBRizeEditions && XISBNS ) %]
996 <h4>Other editions of this work</h4>
997 <table class="table table-bordered table-striped">
998 [% FOREACH XISBN IN XISBNS %]
1001 [% IF ( OPACAmazonCoverImages ) %]
1002 <img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn | html %].01._AA75_PU_PU-5_.jpg" alt="" />
1005 [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
1006 [% IF ( XISBN.content_identifier_exists ) %]
1007 <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="" />
1009 <span class="no-image">No cover image available</span>
1010 [% END # / IF XISBN.content_identifier_exists %]
1011 [% END # / IF SyndeticsEnabled && SyndeticsCoverImages %]
1014 [% UNLESS ( item_level_itypes ) %]
1015 <td>[% XISBN.description | html %]</td>
1017 <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% XISBN.biblionumber | uri %]">[% XISBN.title | html %]</a>
1018 [% IF ( XISBN.author ) %]<span> by </span>[% XISBN.author | html %][% END %]
1019 [% IF ( XISBN.copyrightdate ) %]<span> ©</span>[% XISBN.copyrightdate | html %][% END %]
1020 [% IF ( XISBN.publishercode ) %]
1021 <p>[% XISBN.publishercode | html %]
1022 [% IF ( XISBN.place ) %]([% XISBN.place | html %])[% END %]
1023 [% IF ( XISBN.publicationyear ) %][% ', ' _ XISBN.publicationyear | html %][% END %]
1024 [% IF ( XISBN.pages ) %][% XISBN.pages | html %] [% XISBN.illus | html %] [% XISBN.size | html %][% END %]
1029 [% END # / FOREACH XISBNS %]
1031 </div> <!-- / #editions -->
1032 [% END # / IF OPACFRBRizeEditions && XISBNS %]
1034 [% IF ( HTML5MediaEnabled ) %]
1035 <div id="html5media">
1036 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
1038 [% SET ctrl_preload = ' controls preload=none' #translatability %]
1039 <[% HTML5MediaParent _ ctrl_preload | html %] >
1040 <[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | html %]" [% HTML5MediaSet.typeblock | html %] />
1041 <span>[[% HTML5MediaParent | html %] tag not supported by your browser.]</span>
1042 </[% HTML5MediaParent | html %]>
1046 [% END # / IF HTML5MediaEnabled %]
1048 [% IF ( OPACLocalCoverImages && localimages.size ) %]
1050 <p>Click on an image to view it in the image viewer</p>
1051 [% FOREACH image IN localimages %]
1053 <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>
1056 </div><!-- / #images -->
1057 [% END # / IF OPACLocalCoverImages && localimages.size %]
1059 [% IF ( IDreamBooksReviews ) %]
1060 <div id="idb_critic_reviews">
1061 <div id="idb_review_snippets"></div>
1062 <span><a id="seemoreidb">More book reviews at iDreamBooks.com</a></span>
1065 </div> <!-- / #bibliodescriptions -->
1067 [% IF ( NovelistSelectProfile && NovelistSelectView == 'below' && ( normalized_isbn || normalized_upc ) ) %]
1068 <div id="NovelistSelect">
1069 <h3>Novelist Select</h3>
1070 <div data-novelist-novelistselect="[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]"></div>
1074 [% IF ( Babeltheque ) %]
1076 <div id="BW_etiquettes"></div>
1077 <div id="BW_suggestions"></div>
1079 <div class="clearfix"></div>
1081 <div id="BW_podcasts"></div>
1083 <div class="clearfix"></div>
1085 <div id="BW_videos"></div>
1087 [% END # / IF Babeltheque %]
1089 [%# Following on one line due to translation issues %]
1090 [% INCLUDE "openlibrary-readapi.inc" bib = { normalized_isbn => normalized_isbn,lccn => lccn, normalized_oclc => normalized_oclc } %]
1092 </div> <!-- /.span9 -->
1095 <div id="ulactioncontainer">
1097 [% IF ( Koha.Preference('OpacBrowseResults') && busc ) %]
1098 <div class="nav_results">
1099 <div class="l_Results" style="display:none;">
1100 [% IF ( listResults ) %]
1101 <a href="#" id="a_listResults"><i class="fa fa-bars"></i> Browse results</a>
1103 <span><i class="fa fa-bars"></i> Browse results</span>
1105 <a href="#" class="close_pagination"><i class="fa fa-remove"></i> Close</a>
1107 <ul class="pg_menu clearfix">
1108 <li class="left_results">
1109 [% IF ( previousBiblionumber ) %]
1110 <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>
1112 <span>Previous</span>
1115 [%# busc is already URI encoded %]
1116 <li class="back_results"><a href="opac-search.pl?[% busc | $raw %]" title="Back to the results search list">Back to results</a></li>
1117 <li class="right_results">
1118 [% IF ( nextBiblionumber ) %]
1119 <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>
1125 [% IF ( listResults ) %]
1126 <div class="results-pagination">
1127 <div class="nav_pages">
1128 <ul id="listResults">
1129 [% FOREACH listitem IN listResults %]
1130 [% IF ( listitem.biblionumber == biblionumber ) %]
1131 <li class="li_pag_[% loop.count | html %] highlight">
1133 <li class="li_pag_[% loop.count | html %]">
1135 <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>
1139 <div class="pagination_list">
1140 <ul id="ul_pagination_lists">
1141 [% FOREACH listitem IN listResults %]
1142 [% IF ( listitem.biblionumber == biblionumber ) %]
1143 <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>
1145 <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>
1152 <div class="pagination_footer">
1153 <a href="#" class="close_pagination"><i class="fa fa-remove"></i> Close</a>
1156 [% END # / IF OpacBrowseResults && busc %]
1158 [% INCLUDE 'opac-detail-sidebar.inc' %]
1160 [% IF ( NovelistSelectProfile && NovelistSelectView == 'right' && ( normalized_isbn || normalized_upc ) ) %]
1161 <div id="NovelistSelect">
1162 <h4>Novelist Select</h4>
1163 <div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]></div>
1167 [% IF ( Babeltheque ) %]
1168 <div class="babeltheque_adds">
1169 <div id="BW_critiques_aj"></div>
1170 <div id="BW_citations_aj"></div>
1174 [% IF ( Koha.Preference('SocialNetworks') ) %]
1175 <div id="social_networks" class="clearfix">
1177 [% SET SocialNetworks = Koha.Preference('SocialNetworks') %]
1178 [% FOREACH network IN SocialNetworks.split(",") %]
1179 [% SWITCH network -%]
1180 [% CASE "facebook" -%]
1181 <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>
1182 [% CASE "linkedin" -%]
1183 <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>
1185 <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>
1186 [% CASE "twitter" -%]
1187 <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>
1191 [% END # /IF SocialNetworks %]
1192 </div> <!-- / .ulactioncontainer -->
1193 </div> <!-- / .span4 -->
1194 </div> <!-- / .row-fluid -->
1195 <div class="row-fluid">
1196 [% IF ( LibraryThingForLibrariesID ) %]
1197 <script src="https://ltfl.librarything.com/forlibraries/widget.js?systype=koha&id=[% LibraryThingForLibrariesID | html %]"></script>
1198 <noscript>This page contains enriched content visible when JavaScript is enabled or by clicking
1199 <a href="https://www.librarything.com/forlibraries/noscript.php?id=[% LibraryThingForLibrariesID | uri %]&accessibility=1">here</a>.</noscript>
1202 [% IF ( NovelistSelectProfile && ( normalized_isbn || normalized_upc ) ) %]
1203 <script src="https://imageserver.ebscohost.com/novelistselect/ns2init.js"></script>
1206 [% IF ( Babeltheque ) %]
1207 <script src="[% Babeltheque_url_js | html %]"></script>
1209 </div> <!-- / .row-fluid -->
1210 </div> <!-- / .container-fluid -->
1211 </div> <!-- / .main -->
1213 [% INCLUDE 'opac-bottom.inc' %]
1215 [%# End of template %]
1217 [% BLOCK items_table %]
1218 <table class="table table-bordered table-striped" id="[% table_id | html %]">
1221 [% IF ( item_level_itypes ) %]
1222 <th id="item_itemtype" data-colname="item_itemtype" class="itype">Item type</th>[% END %]
1223 [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %]
1224 <th id="item_current_location" data-colname="item_current_location" class="item_location">Current location</th>[% END %]
1225 [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]
1226 <th id="item_home_location" data-colname="item_home_location" class="item_location">Home library</th>[% END %]
1227 [% IF ( itemdata_ccode ) %]
1228 <th id="item_ccode" data-colname="item_ccode" class="collection">Collection</th>[% END %]
1229 [% IF ( Koha.Preference('OpacLocationOnDetail') == 'column' && itemdata_location ) %]
1230 <th id="item_shelving_location" data-colname="item_shelving_location" class="shelving_location">Shelving location</th>[% END %]
1231 <th id="item_callnumber" data-colname="item_callnumber" class="call_no">Call number</th>
1232 [% IF ( itemdata_enumchron ) %]
1233 <th id="item_enumchron" data-colname="item_enumchron" class="vol_info">Vol info</th>[% END %]
1234 [% IF ( itemdata_uri ) %]
1235 <th id="item_url" data-colname="item_url" class="url">URL</th>[% END %]
1236 [% IF ( itemdata_copynumber ) %]
1237 <th id="item_copy" data-colname="item_copy" class="copynumber">Copy number</th>[% END %]
1238 <th id="item_status" data-colname="item_status" class="status">Status</th>
1239 [% IF ( itemdata_itemnotes ) %]
1240 <th id="item_notes" data-colname="item_notes" class="notes">Notes</th>[% END %]
1241 <th id="item_datedue" data-colname="item_datedue" class="date_due">Date due</th>
1242 <th id="item_barcode" data-colname="item_barcode" class="barcode">Barcode</th>
1243 [% IF holds_count.defined %]
1244 <th id="item_holds" data-colname="item_holds">Item holds</th>
1245 [% ELSIF show_priority %]
1246 <th id="item_priority" data-colname="item_priority">Item hold queue priority</th>
1248 [% IF ( ShowCourseReservesHeader ) %]
1249 <th id="item_coursereserves" data-colname="item_coursereserves">Course reserves</th>[% END %]
1253 [% FOREACH ITEM_RESULT IN items %]
1254 [% IF ITEM_RESULT.this_branch %]
1255 <tr class="highlight-row-detail" vocab="http://schema.org/" typeof="Offer">
1257 <tr vocab="http://schema.org/" typeof="Offer">
1259 [% IF ( item_level_itypes ) %]
1261 [% UNLESS ( noItemTypeImages ) %]
1262 [% IF ( ITEM_RESULT.imageurl ) %]
1263 <img src="[% ITEM_RESULT.imageurl | html %]" title="[% ITEM_RESULT.description | html %]" alt="[% ITEM_RESULT.description | html %]" />
1266 [% ITEM_RESULT.description | html %]
1269 [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %]
1270 <td class="location" property="seller">
1271 <link property="itemOffered" href="#record" />
1272 <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
1273 <span class="[% ITEM_RESULT.holding_branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]" title="">
1274 [% IF ( ITEM_RESULT.branchurl ) %]
1275 <a href="[% ITEM_RESULT.branchurl | url %]">[% ITEM_RESULT.branchname | html %]</a>
1277 <span>[% ITEM_RESULT.branchname | html %]</span>
1280 <div class="branch-info-tooltip">[% ITEM_RESULT.holding_branch_opac_info | $raw %]</div>
1282 [% IF ( Koha.Preference('OpacLocationOnDetail') == 'holding' || Koha.Preference('OpacLocationOnDetail') == 'both' ) %]
1283 <span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span>
1289 [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]
1290 <td class="location" property="seller">
1291 <link property="itemOffered" href="#record" />
1292 <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
1293 <span class="[% ITEM_RESULT.home_branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]" title="">
1294 [% IF Branches.GetURL( ITEM_RESULT.homebranch ) %]
1295 [% home_branch_url = Branches.GetURL( ITEM_RESULT.homebranch ) %]
1296 [% IF ( home_branch_url ) %]
1297 <a href="[% home_branch_url | url %]">[% Branches.GetName( ITEM_RESULT.homebranch ) | html %]</a>
1299 <span>[% Branches.GetName( ITEM_RESULT.homebranch ) | html %]</span>
1302 <span>[% Branches.GetName( ITEM_RESULT.homebranch ) | html %]</span>
1305 <div class="branch-info-tooltip">[% ITEM_RESULT.home_branch_opac_info | $raw %]</div>
1307 [% IF ( Koha.Preference('OpacLocationOnDetail') == 'home' || Koha.Preference('OpacLocationOnDetail') == 'both' ) %]
1308 <span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span>
1314 [% IF ( itemdata_ccode ) %]
1315 <td class="collection">[% ITEM_RESULT.ccode | html %]</td>
1318 [% IF ( Koha.Preference('OpacLocationOnDetail') == 'column' && itemdata_location ) %]
1319 <td class="shelving_location"><span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span></td>
1322 <td class="call_no" property="sku">
1323 [% IF ( ITEM_RESULT.itemcallnumber ) %]
1324 [% ITEM_RESULT.itemcallnumber | html %]
1325 [% IF ( OPACShelfBrowser ) %]
1326 [% IF ( ITEM_RESULT.itemnumber == starting_itemnumber ) %]
1327 (<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>)
1329 (<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber | uri %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber | uri %]#[% tab | uri %]">Browse shelf</a>)
1334 [% IF ( itemdata_enumchron ) %]
1335 <td class="vol_info">
1336 [% IF ITEM_RESULT.enumchron && ITEM_RESULT.serialseq %]
1337 <span class="enum">[% ITEM_RESULT.enumchron | html %]</span>
1338 [% IF ( ITEM_RESULT.serialseq && ITEM_RESULT.enumchron!=ITEM_RESULT.serialseq ) %]
1339 <span class="sep"> -- </span>
1340 <span class="serialseq">[% ITEM_RESULT.serialseq | html %]</span>
1342 [% ELSIF ITEM_RESULT.enumchron %]
1343 <span class="enum">[% ITEM_RESULT.enumchron | html %]</span>
1344 [% ELSIF ITEM_RESULT.serialseq %]
1345 <span class="serialseq">[% ITEM_RESULT.serialseq | html %]</span>
1347 [% IF ( ITEM_RESULT.publisheddate ) %]
1348 <span class="pubdate">([% ITEM_RESULT.publisheddate | $KohaDates %])</span>
1352 [% IF ( itemdata_uri ) %]
1354 [% IF ITEM_RESULT.uri %]
1355 [% IF Koha.Preference('URLLinkText') %]
1356 [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1357 [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1358 <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') | html %]</a>
1359 [% ELSIF ITEM_RESULT.uri %]
1360 <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') | html %]</a>
1363 [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1364 <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri | url %]" property="url">[% Koha.Preference('URLLinkText') | html %]</a>
1365 [% ELSIF ITEM_RESULT.uri %]
1366 <a href="[% ITEM_RESULT.uri | url %]" property="url">[% Koha.Preference('URLLinkText') | html %]</a>
1370 [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1371 [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1372 <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>
1373 [% ELSIF ITEM_RESULT.uri %]
1374 <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>
1377 [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1378 <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri | url %]" property="url">Link to resource</a>
1379 [% ELSIF ITEM_RESULT.uri %]
1380 <a href="[% ITEM_RESULT.uri | url %]" property="url">Link to resource</a>
1387 [% IF ( itemdata_copynumber ) %]<td class="copynumber">[% ITEM_RESULT.copynumber | html %]</td>[% END %]
1388 <td class="status">[% INCLUDE 'item-status-schema-org.inc' item = ITEM_RESULT %][% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
1389 [% IF ( itemdata_itemnotes ) %]<td class="notes" property="description">[% ITEM_RESULT.itemnotes | $raw %]</td>[% END %]
1390 <td class="date_due"><span title="[% ITEM_RESULT.datedue | html %]">[% ITEM_RESULT.datedue | $KohaDates as_due_date => 1 %]</span></td>
1391 <td class="barcode" property="serialNumber">[% ITEM_RESULT.barcode | html %]</td>
1392 [% IF holds_count.defined || show_priority %]
1393 <td class="holds_count">
1394 [% IF holds_count.defined %] [% ITEM_RESULT.holds_count | html %] [% END %]
1395 [% IF ITEM_RESULT.priority %]
1396 [% IF holds_count.defined %]
1397 <span>(priority [% ITEM_RESULT.priority | html %])</span>
1399 <span>[% ITEM_RESULT.priority | html %]</span>
1404 [% IF ShowCourseReservesHeader %]
1406 [% IF ITEM_RESULT.course_reserves %]
1407 [% FOREACH r IN ITEM_RESULT.course_reserves %]
1408 [% IF r.course.enabled == 'yes' %]
1410 <a href="opac-course-details.pl?course_id=[% r.course.course_id | uri %]">
1411 [% r.course.course_name | html %]
1412 <!--[% IF r.course.course_number %] [% r.course.course_number | html %] [% END %]-->
1413 [% IF r.course.section %] [% r.course.section | html %] [% END %]
1414 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term, 1 ) | html %] [% END %]
1421 [% END # /IF ShowCourseReservesHeader %]
1426 [% END %][%# end of items_table block %]
1428 [% BLOCK jsinclude %]
1429 [% INCLUDE 'datatables.inc' %]
1430 [% INCLUDE 'columns_settings.inc' %]
1431 [% INCLUDE greybox.inc %]
1432 [% IF ( SocialNetworks ) %]
1433 <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>
1435 [% IF ( OpacStarRatings != 'disable' ) %][% Asset.js("lib/jquery/plugins/jquery.barrating.min.js") | $raw %][% END %]
1437 [% IF ( OpacHighlightedWords ) %][% Asset.js("lib/jquery/plugins/jquery.highlight-3.js") | $raw %][% END %]
1438 [% IF ( Koha.Preference('OPACDetailQRCode') ) %]
1439 [% Asset.js("lib/kjua/kjua.min.js") | $raw %]
1442 [% IF ( Koha.Preference('OPACShowMusicalInscripts') ) %]
1444 var interface = "[% interface | html %]";
1445 var PREF_OPACPlayMusicalInscripts = "[% Koha.Preference('OPACPlayMusicalInscripts') | html %]";
1447 [% Asset.js("js/verovio.js") | $raw %]
1451 [% IF ( OpacHighlightedWords ) %]
1452 var q_array = new Array(); // holds search terms if available
1454 function highlightOff() {
1455 $("#catalogue_detail_biblio").removeHighlight();
1456 $(".highlight_toggle").toggle();
1458 function highlightOn() {
1460 for (x in q_array) {
1461 if ( q_array[x].length > 0 ) {
1462 q_array[x] = q_array[x].replace(/\w*:([\w])/, "$1");
1463 q_array[x] = q_array[x].toLowerCase();
1464 var myStopwords = "[% Koha.Preference('NotHighlightedWords') | html %]".toLowerCase().split('|');
1465 if( $.inArray(q_array[x], myStopwords) == -1 ) {
1466 $(".title").highlight(q_array[x]);
1467 $(".author").highlight(q_array[x]);
1468 $(".results_summary").highlight(q_array[x]);
1472 $(".highlight_toggle").toggle();
1476 $(document).ready(function() {
1478 [% IF ( Koha.Preference('OPACDetailQRCode') ) %]
1485 text: location.href,
1488 document.getElementById("qrcode").appendChild( qrcode );
1491 $(".show_qrcode").on("click", function(){
1492 var qrcodeImg = $("#qrcode");
1493 if( qrcodeImg.hasClass("hidden") ){
1494 qrcodeImg.removeClass("hidden");
1496 qrcodeImg.addClass("hidden");
1501 $('#bibliodescriptions').tabs();
1502 $(".branch-info-tooltip-trigger").uitooltip({
1503 position: { my: "left+15 center", at: "right center" },
1506 content: function(){
1507 var element = $(this).next("div");
1508 return element.html();
1512 [% IF ( Koha.Preference('OpacBrowseResults') && busc ) %]
1513 $(".l_Results").show();
1514 $("#a_listResults").on("click", function(e){
1516 $(".results-pagination, .close_pagination, .pg_menu").toggle();
1519 $(".close_pagination").on("click", function(e){
1521 $(".results-pagination, .close_pagination, .pg_menu").toggle();
1525 var columns_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'holdingst', 'json' ) | $raw %];
1527 KohaTable("#holdingst", {
1528 dom: '<"clearfix">t',
1530 { "targets": [ -1 ], "sortable": false, "searchable": false },
1531 { "type": "title-string", "targets" : [ "title-string" ] }
1533 "bKohaColumnsUseNames": true,
1535 }, columns_settings);
1537 KohaTable("#otherholdingst", {
1538 dom: '<"clearfix">t',
1540 { "targets": [ -1 ], "sortable": false, "searchable": false },
1541 { "type": "title-string", "targets" : [ "title-string" ] }
1543 "bKohaColumnsUseNames": true,
1545 }, columns_settings);
1547 var serial_column_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %];
1549 KohaTable("#subscriptionst", {
1550 dom: '<"clearfix">t',
1551 "sorting": [[ 1, "desc" ]],
1553 { "type": "title-string", "targets" : [ "title-string" ] }
1556 "bKohaColumnsUseNames": true
1557 }, serial_column_settings);
1559 [% IF ( TagsInputEnabled && loggedinusername ) %]
1560 $(".tag_add").click(function(){
1561 var thisid = $(this).attr("id");
1562 thisid = thisid.replace("tag_add","");
1564 $("#tagform"+thisid).show();
1565 $("#newtag"+thisid).focus();
1566 $("#newtag"+thisid+"_status").empty().hide();
1569 $(".cancel_tag_add").click(function(){
1570 var thisid = $(this).attr("id");
1571 thisid = thisid.replace("cancel","");
1572 $("#tagform"+thisid).hide();
1573 $("#tag_add"+thisid).show();
1574 $("#newtag"+thisid).val("");
1575 $("#newtag"+thisid+"_status").empty().hide();
1578 $(".tagbutton").click(function(){
1579 var thisid = $(this).attr("title");
1580 var tag = $("#newtag"+thisid).val();
1581 if (!tag || (tag == "")) {
1582 alert(MSG_NO_TAG_SPECIFIED);
1585 KOHA.Tags.add_tag_button(thisid, tag);
1590 [%# Note that there is no way atm to target a column with its class name to set it as the default sort order %]
1591 [% IF Koha.Preference('OpacLocationBranchToDisplay') == 'home' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND item_level_itypes
1592 OR Koha.Preference('OpacLocationBranchToDisplay') == 'holding' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'holdingbranch' AND item_level_itypes
1593 OR Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND NOT item_level_itypes
1594 OR Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'holdingbranch' AND item_level_itypes %]
1595 var default_order_index = 1;
1596 [% ELSIF Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND item_level_itypes %]
1597 var default_order_index = 2;
1599 var default_order_index = 0;
1602 [% IF ( query_desc ) %][% IF ( OpacHighlightedWords ) %]var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') | html %]";
1603 q_array = query_desc.split(" ");
1604 q_array = q_array.filter(function(n){ return n }); // Remove empty strings
1606 $("#highlight_toggle_on" ).hide().click(function() {highlightOn() ; return false;});
1607 $("#highlight_toggle_off").show().click(function() {highlightOff(); return false;});[% END %][% END %]
1608 [% IF ( GoogleJackets ) %]
1609 KOHA.Google.GetCoverFromIsbn([% covernewwindow | html %]);
1611 [% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %]
1612 KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]',[% covernewwindow | html %]);
1615 [% IF OpenLibraryCovers %]
1616 KOHA.OpenLibrary.GetCoverFromIsbn();
1618 [% IF OPACLocalCoverImages %]
1619 KOHA.LocalCover.GetCoverFromBibnumber(true);
1621 [% IF ( NovelistSelectProfile && ( normalized_isbn || normalized_upc ) ) %]
1622 novSelect.loadContentForQuery(
1624 ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]',
1625 ISBN : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]',
1628 '[% NovelistSelectProfile | html %]',
1629 '[% NovelistSelectPassword | html %]',
1631 if ( d.length > 0 ){ //If no content
1632 $(".NovelistSelect").show();
1637 [% IF ( OPACShelfBrowser ) %]
1639 (function prepareShelfBrowser(){
1641 $(".main").on("click",".close_shelf",function(e){
1643 $("#shelfbrowser").toggle();
1645 $(".main").on("click", "#browser_previous a", function(e){
1648 url: "/cgi-bin/koha/svc/shelfbrowser.pl",
1651 "shelfbrowse_itemnumber": $("#browser_previous a").data( "prev-itemnumber" )
1653 success: function(data){
1654 $("#shelfbrowser").replaceWith(data);
1655 [% IF ( GoogleJackets ) %]
1656 KOHA.Google.GetCoverFromIsbn([% covernewwindow | html %]);
1658 [% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %]
1659 KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]',[% covernewwindow | html %]);
1661 [% IF OpenLibraryCovers %]
1662 KOHA.OpenLibrary.GetCoverFromIsbn();
1664 [% IF OPACLocalCoverImages %]
1665 KOHA.LocalCover.GetCoverFromBibnumber(true);
1671 $(".main").on("click", "#browser_next a", function(e){
1674 url: "/cgi-bin/koha/svc/shelfbrowser.pl",
1677 "shelfbrowse_itemnumber": $("#browser_next a").data( "next-itemnumber" )
1679 success: function(data){
1680 $("#shelfbrowser").replaceWith(data);
1681 [% IF ( GoogleJackets ) %]
1682 KOHA.Google.GetCoverFromIsbn([% covernewwindow | html %]);
1684 [% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %]
1685 KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]',[% covernewwindow | html %]);
1687 [% IF OpenLibraryCovers %]
1688 KOHA.OpenLibrary.GetCoverFromIsbn();
1690 [% IF OPACLocalCoverImages %]
1691 KOHA.LocalCover.GetCoverFromBibnumber(true);
1698 [% IF ( OpacStarRatings != 'disable' ) %]
1699 // -----------------------------------------------------
1700 // star-ratings code
1701 // -----------------------------------------------------
1702 // hide 'rate' button if javascript enabled
1704 $('input[name="rate_button"]').remove();
1706 var rating_enabled = ( $("#star_rating").data("rating-enabled") == "1" ) ? false : true;
1707 $('#star_rating').barrating({
1708 theme: 'fontawesome-stars',
1709 showSelectedRating: false,
1711 deselectable: false,
1712 readonly: rating_enabled,
1713 onSelect: function(value, text) {
1714 $("#rating-loading").show();
1715 $.post("/cgi-bin/koha/opac-ratings-ajax.pl", {
1716 rating_old_value: $("#rating_value").attr("value"),
1717 borrowernumber: "[% borrowernumber | html %]",
1718 biblionumber: "[% biblio.biblionumber | html %]",
1719 rating_value: value,
1721 }, function (data) {
1722 $("#rating_value").val(data.rating_value);
1723 if (data.rating_value) {
1724 $("#rating_value_text").text(_("Your rating: %s, ").format(data.rating_value));
1725 $("#cancel_rating_text").show();
1727 $("#rating_value_text").text('');
1728 $("#cancel_rating_text").hide();
1730 $("#rating_text").text(_("Average rating: %s (%s votes)").format(data.rating_avg, data.rating_total));
1731 $("#rating-loading").hide();
1736 $("#cancel_rating_text a").on("click", function(e){
1738 $("#star_rating").barrating("set", "");
1741 [% END # / IF ( OpacStarRatings != 'disable' )%]
1743 [% IF ( IDreamBooksReviews || IDreamBooksReadometer ) %]
1744 var isbn = $(".isbn:last").text().split(" ")[1];
1746 isbn = isbn.replace(/\W*$/, '');
1747 isbn = isbn.replace(/-/, '');
1749 if ($.browser.msie && parseInt($.browser.version, 10) >= 8 && window.XDomainRequest) {
1750 // Use Microsoft XDR for IE version 8 or above
1751 var xdr = new XDomainRequest();
1752 xdr.open("get", "https://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e");
1753 xdr.onload = function() {
1754 json = 'json = '+xdr.responseText; // the string now looks like.. json = { ... };
1755 eval(json); // json is now a regular JSON object
1756 parseIDBJSON(json); // parse using same function as for jQuery's success event
1760 $.getJSON("https://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e", function(json){
1765 [% END # / IDreamBooksReviews || IDreamBooksReadometer%]
1768 [% IF ( IDreamBooksReviews || IDreamBooksReadometer ) %]
1769 function parseIDBJSON( json ) {
1770 if(json.total_results > 0 && json.book.rating > 0){
1771 var isbn = $(".isbn:last").text().split(" ")[1];
1772 isbn = isbn.replace(/\W+/g, '');
1774 [% IF ( IDreamBooksReadometer ) %]
1775 $(".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>');
1778 [% IF ( IDreamBooksReviews ) %]
1779 //build new tab for critic reviews
1780 $("#tab_idb_critic_reviews a").text($("#tab_idb_critic_reviews a").text().replace('XXX', json.book.review_count));
1782 //append happy-sad cloud review
1784 $("#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>");
1786 //insert data into Book reviews tab
1787 $.each(json.book.critic_reviews, function(){
1788 $("#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>");
1790 $("#seemoreidb").attr('href', json.book.detail_link);
1791 $("#tab_idb_critic_reviews").show();
1795 [% END # / IF IDreamBooksReviews || IDreamBooksReadometer %]
1798 [% IF OPACPopupAuthorsSearch %]
1800 function showAuthors(element){
1801 var authornumber = $(element).attr("data-count");
1803 // Check checkbox related to the clicked link
1804 $("#authorsList input[type='checkbox']").attr('checked', false);
1805 $("#author_"+authornumber).attr('checked', true);
1807 makeAuthorRequest();
1810 function checkAll(checkbox, elem) {
1811 var check = $(checkbox).attr('checked') ? true : false;
1812 $(elem).find("input[type='checkbox']").attr('checked', check);
1813 elem == "#authorsList" ? makeAuthorRequest() : makeSubjectRequest();
1816 function makeAuthorRequest(){
1819 $("#authorsList").find("input[type='checkbox']:checked").each(function () {
1820 values.push($(this).val());
1823 if (values.length > 0) {
1824 var request = "/cgi-bin/koha/opac-search.pl?q=" + values.join(' and ');
1825 $("#validAuthorSearch").attr("href", request);
1827 $("#validAuthorSearch").removeAttr("href");
1833 function showSubjects(element, subjectnumber, subfieldnumber){
1835 // Check checkbox related to the clicked link
1836 $("#subjectsList input[type='checkbox']").attr('checked', false);
1837 $("#subject_"+subjectnumber+"_"+subfieldnumber).attr('checked', true);
1839 makeSubjectRequest();
1843 function makeSubjectRequest() {
1845 $("#subjectsList > ul").each(function() {
1846 var all_checked = true;
1847 var local_values = [];
1848 $(this).find('input[type="checkbox"]').each(function() {
1849 if($(this).attr('checked')) {
1850 local_values.push($(this).val());
1852 all_checked = false;
1855 var authid = $(this).attr('data-authid');
1856 if(all_checked && authid) {
1857 values.push('an:' + authid);
1859 values = values.concat(local_values);
1862 if(values.length > 0) {
1863 var request = "/cgi-bin/koha/opac-search.pl?q=" + values.join(' and ');
1864 $("#validSubjectSearch").attr('href', request);
1866 $("#validSubjectSearch").removeAttr("href");
1869 $(document).ready(function() {
1870 $("a.showauthors").click(function(e){
1876 [% END # / IF OPACPopupAuthorsSearch %]