5 [% USE AuthorisedValues %]
6 [% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
7 [% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
9 [% ShowCourseReservesHeader = 0 %]
10 [% IF Koha.Preference( 'UseCourseReserves' ) == 1 %]
11 [% FOREACH ITEM_RESULT IN itemloop %]
12 [% IF ITEM_RESULT.course_reserves %]
13 [% FOREACH r IN ITEM_RESULT.course_reserves %]
14 [% IF r.course.enabled == 'yes' %]
15 [% ShowCourseReservesHeader = 1 %]
22 [% IF ( using_https ) %]
23 [% SET protocol = "https://" %]
25 [% SET protocol = "http://" %]
27 [% INCLUDE 'doc-head-open.inc' %]
28 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Details for: [% title |html %][% FOREACH subtitl IN subtitle %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] [% subtitl.subfield |html %][% END %]</title>
29 [% INCLUDE 'doc-head-close.inc' %]
31 [% BLOCK cssinclude %]<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left.css" />[% END %]
33 [% IF ( OpacStarRatings != 'disable' ) %]
34 [% BLOCK cssinclude %]<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/jquery.rating.css" />[% END %]
36 [% INCLUDE greybox.inc %]
38 [% INCLUDE 'bodytag.inc' bodyid='opac-detail' bodyclass='scrollto' %]
39 [% INCLUDE 'masthead.inc' %]
42 <ul class="breadcrumb">
43 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
44 <li><a href="#">Details for: [% title |html %][% FOREACH subtitl IN subtitle %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] [% subtitl.subfield |html %][% END %]</a></li>
47 <div class="container-fluid">
48 <div class="row-fluid">
50 <div id="catalogue_detail_biblio" class="maincontent">
53 [% IF ( OPACLocalCoverImages ) %]
54 <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
56 [% IF ( OPACAmazonCoverImages ) %]
57 [% IF ( OPACURLOpenInNewWindow ) %]
58 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link" target="_blank" rel="noreferrer">
60 <a href="http://www.amazon[% AmazonTld %]/dp/[% normalized_isbn %]">
62 <img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="Cover image" /></a>
65 [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
66 [% IF ( content_identifier_exists ) %]
67 [% IF ( using_https ) %]
68 <img src="https://secure.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/[% SyndeticsCoverImageSize %].GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% normalized_upc %]&oclc=[% normalized_oclc %]" alt="" class="thumbnail" />
70 <img src="http://www.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/[% SyndeticsCoverImageSize %].GIF&client=[% SyndeticsClientCode %]&type=xw10&upc=[% normalized_upc %]&oclc=[% normalized_oclc %]" alt="" class="thumbnail" />
74 <span class="no-image">No cover image available</span>
78 [% IF ( GoogleJackets ) %]
79 <div title="[% biblionumber |url %]" class="[% normalized_isbn %]" id="gbs-thumbnail-preview"></div>
81 [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
82 [% coce_id = normalized_ean || normalized_isbn %]
83 <div style="block" title="[% biblionumber |url %]" class="[% coce_id %]" id="coce-thumbnail-preview"></div>
85 [% IF OpenLibraryCovers %]
86 <div title="[% biblionumber |url %]" class="[% normalized_isbn %]" id="openlibrary-thumbnail-preview"></div>
88 [% bt_id = ( normalized_upc || normalized_isbn ) %]
89 [% IF ( BakerTaylorEnabled && bt_id ) %]
90 [% IF BakerTaylorBookstoreURL %]
91 [% IF ( OPACURLOpenInNewWindow ) %]
92 <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]" target="_blank" rel="noreferrer"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
94 <a href="https://[% BakerTaylorBookstoreURL |html %][% bt_id %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" /></a>
97 <img alt="See Baker & Taylor" src="[% BakerTaylorImageURL |html %][% bt_id %]" />
100 </div><!-- / #bookcover -->
102 <abbr class="unapi-id" title="koha:biblionumber:[% biblionumber %]"><!-- unAPI --></abbr>
103 [% IF ( ocoins ) # COinS / Openurl %]
104 <span class="Z3988" title="[% ocoins %]"></span>
108 <span class="view current-view"><span id="Normalview">Normal view</span></span>
109 <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% biblionumber %]">MARC view</a></span>
110 [% IF ( ISBD ) %]<span class="view"><a id="ISBDview" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblionumber %]">ISBD view</a></span>[% END %]
112 [% IF ( OPACXSLTDetailsDisplay ) %]
115 <h1 class="title">[% title |html %][% IF ( subtitle ) %] <span class="subtitle">[% FOREACH subtitl IN subtitle %][% subtitl.subfield |html %] [% END %]</span>[% END %]</h1>
116 [% IF ( author ) %]<h5 class="author">by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author |html %]</a></h5>[% END %]
118 <span class="results_summary">[% UNLESS ( item_level_itypes ) %]
120 [% IF ( description ) %]
126 [% IF ( unititle ) %], [% unititle %][% END %]
129 [% IF ( MARCAUTHORS ) %]
130 <div class="results_summary">
131 <span class="label">Additional authors:</span>
132 [% IF OPACPopupAuthorsSearch %]
133 <!-- Author search term selection modal -->
134 <div id="authorSearch" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="authorSearchLabel" aria-hidden="true">
135 <div class="modal-header">
136 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
137 <h3 id="authorSearchLabel">Select the item(s) to search</h3>
139 <div class="modal-body">
140 <input type="checkbox" onchange="checkAll(this, '#authorsList')" /> <b>All</b>
141 <ul id="authorsList">
142 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
144 [% IF (MARCAUTHOR.authoritylink) %]
145 <input type="checkbox" name="checkbox"
146 id="author_[% loop.count %]"
147 onclick="makeAuthorRequest()"
148 value="an:[% MARCAUTHOR.authoritylink %]" />
150 <input type="checkbox" name="checkbox"
151 id="author_[% loop.count %]"
152 onclick="makeAuthorRequest()"
153 value="au,wrdl:[% FOREACH SUBFIELD IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% SUBFIELD.value |url %][% UNLESS (loop.last) %]+[% END %][% END %]" />
155 <label for="author_[% loop.count %]">
156 [% FOREACH SUBFIELD IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
161 [% END # /FOREACH MARCAUTHORS %]
164 <div class="modal-footer">
165 <a id="validAuthorSearch" href="#" class="btn btn-primary">Search</a>
166 <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
169 [% END # /OPACPopupAuthorsSearch %]
171 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
172 [% authorsloop = loop %]
173 [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
174 [% MARCAUTHOR_SUBFIELDS_LOO.separator %]
175 [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %]
176 <a role="button" data-toggle="modal" title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value %]"
177 class="showauthors" data-count="[% authorsloop.count %]"
178 href="/cgi-bin/koha/opac-search.pl?q=[% FOREACH link_loo IN MARCAUTHOR_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit |url %]:[% link_loo.link |url %][% END %]#authorSearch">[% MARCAUTHOR_SUBFIELDS_LOO.value %]</a>
180 <a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value %]"
181 class="showauthors" href="/cgi-bin/koha/opac-search.pl?q=[% FOREACH link_loo IN MARCAUTHOR_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit |url %]:[% link_loo.link |url %][% END %]">[% MARCAUTHOR_SUBFIELDS_LOO.value %]</a>
184 [% IF (MARCAUTHOR.authoritylink) %]
185 <a class='authlink' href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% MARCAUTHOR.authoritylink %]"><img style="vertical-align:middle" height="15" width="15" src="[% interface %]/[% theme %]/images/filefind.png"></a>
187 [% IF IDREF and MARCAUTHOR.unimarc3 %]
188 <a href="/cgi-bin/koha/opac-idref.pl?unimarc3=[% MARCAUTHOR.unimarc3 %]" title="IdRef" rel="gb_page_center[600,500]">IdRef</a>
190 [% UNLESS ( loop.last ) %]|[% END %]
191 [% END # /FOREACH MARCAUTHORS %]
193 [% END # IF MARCAUTHORS %]
195 [% IF ( MARCSERIES ) %]
196 <span class="results_summary series"><span class="label">Series:</span>
197 [% FOREACH MARCSERIE IN MARCSERIES %]
198 [% FOREACH MARCSERIES_SUBFIELDS_LOO IN MARCSERIE.MARCSERIES_SUBFIELDS_LOOP %]
199 [% IF ( MARCSERIES_SUBFIELDS_LOO.value ) %]
200 <a href="/cgi-bin/koha/opac-search.pl?q=se:[% MARCSERIES_SUBFIELDS_LOO.value |url %]">[% MARCSERIES_SUBFIELDS_LOO.value %]</a>
202 [% IF ( MARCSERIES_SUBFIELDS_LOO.volumenum ) %]
203 . [% MARCSERIES_SUBFIELDS_LOO.volumenum %]
206 [% UNLESS ( loop.last ) %]|[% END %]
207 [% END # / FOREACH MARCSERIES %]
209 [% END # /MARCSERIES %]
211 [% IF ( editionstatement ) %]
212 <span class="results_summary edition"><span class="label">Edition statement:</span>[% editionstatement %][% IF ( editionresponsibility ) %]/[% editionresponsibility %][% END %]</span>
214 [% IF ( publishercode ) %]
215 <span class="results_summary publisher"><span class="label">Published by :</span>
216 <a href="/cgi-bin/koha/opac-search.pl?q=pb:[% publishercode |url %] ">
217 [% publishercode |html %]
218 </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %]
223 <span class="results_summary physical"><span class="label">Physical details:</span> [% pages %] [% illus %] [% size %]</span>
226 [% IF ( MARCISBNS ) %]
227 <span class="results_summary isbn"><span class="label">ISBN:</span>[% FOREACH MARCISBN IN MARCISBNS %][% MARCISBN %][% IF ( loop.last ) %].[% ELSE %]; [% END %][% END %]</span>
229 [% IF ( normalized_isbn ) %]
230 <span class="results_summary isbn"><span class="label">ISBN: </span>[% normalized_isbn %]</span>
235 <span class="results_summary issn"><span class="label">ISSN:</span>[% issn %]</span>
238 [% IF ( collectiontitle ) %]
239 <span class="results_summary collection"><span class="label">Collection: </span>
240 [% collectiontitle %]
241 [% IF ( collectionissn ) %], ISSN [% collectionissn %] [% END %]
242 [% IF ( collectionvolume ) %]; [% collectionvolume %] [% END %]
247 [% IF ( unititles ) %]
248 <span class="results_summary unititle"><span class="label">Uniform titles:</span>
249 [% FOREACH unititle IN unititles %]
250 [% unititle.unititle %] ;
255 [% IF ( MARCSUBJCTS ) %]
256 <div class="results_summary subject">
257 <span class="label">Subject(s):</span>
259 [% IF OPACPopupAuthorsSearch %]
260 <!-- Search term selection modal -->
261 <div id="subjectSearch" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="subjectSearchLabel" aria-hidden="true">
262 <div class="modal-header">
263 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
264 <h3 id="subjectSearchLabel">Select the term(s) to search</h3>
266 <div id="subjectsList" class="modal-body">
267 <input type="checkbox" id="all_subjects" onchange="checkAll(this, '#subjectsList')" />
268 <label for="all_subjects">
271 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
272 [% subjectsloop = loop %]
273 [% IF MARCSUBJCT.authoritylink %]
274 <ul id="subjectsList[% loop.count %]" data-authid="[% MARCSUBJCT.authoritylink %]">
276 <ul id="subjectsList[% loop.count %]">
278 [% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
280 <input type="checkbox" onclick="makeSubjectRequest()" name="checkbox" id="subject_[% subjectsloop.count %]_[% loop.count %]" value="su,wrdl:[% SUBFIELD.value |url %]" />
281 <label for="subject_[% subjectsloop.count %]_[% loop.count %]">
289 <div class="modal-footer">
290 <a href="#" id="validSubjectSearch" class="btn btn-primary">Search</a>
291 <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
294 [% END # /OPACPopupAuthorsSearch%]
296 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
297 [% subjectsloop = loop %]
298 [% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
299 [% SUBFIELD.separator %]
300 [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %]
301 <a role="button" data-toggle="modal" title="$[% SUBFIELD.code %] [% SUBFIELD.value %]" href="/cgi-bin/koha/opac-search.pl?q=[% FOREACH link_loo IN SUBFIELD.link_loop %][% link_loo.operator |url %][% link_loo.limit |url %]:[% link_loo.link |url %][% END %]#subjectSearch" onclick="showSubjects(this, [% subjectsloop.count %], [% loop.count %]); return false;">[% SUBFIELD.value %]</a>
303 <a title="$[% SUBFIELD.code %] [% SUBFIELD.value %]" href="/cgi-bin/koha/opac-search.pl?q=[% FOREACH link_loo IN SUBFIELD.link_loop %][% link_loo.operator |url %][% link_loo.limit |url %]:[% link_loo.link |url %][% END %]">[% SUBFIELD.value %]</a>
306 [% IF (MARCSUBJCT.authoritylink) %]
307 <a class="authlink" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% MARCSUBJCT.authoritylink %]"><img style="vertical-align:middle" height="15" width="15" src="[% interface %]/[% theme %]/images/filefind.png" /></a>
309 [% UNLESS ( loop.last ) %] | [% END %]
310 [% END # / FOREACH MARCSUBJCTS %]
312 [% ELSE # /IF MARCSUBJCTS %]
313 [% IF ( subjects ) %]<span class="results_summary"><span class="label">Subject(s):</span> [% FOREACH subject IN subjects %]<a href="/cgi-bin/koha/opac-search.pl?q=su:[% subject.subject |url %]">[% subject.subject %]</a> | [% END %]</span>[% END %]
316 [% IF ( copyrightdate ) %]
317 <span class="results_summary year"><span class="label">Year: </span>[% copyrightdate %]</span>
320 [% UNLESS ( item_level_itypes ) %]
322 <img src="[% imageurl %]" alt="" />
324 <span class="results_summary itemtype"><span class="label">Item type: </span>
325 [% IF ( description ) %]
333 [% IF ( MARCURLS ) %]
334 <div class="results_summary online_resources"><span class="label">Online resources:</span>
336 [% FOREACH MARCurl IN MARCURLS %]
337 <li>[% IF ( MARCurl.part ) %][% MARCurl.part %]<br />[% END %]
339 [% IF ( OPACURLOpenInNewWindow ) %]
340 [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
341 <a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL |url%]&biblionumber=[% biblionumber | url %]" title="[% MARCurl.MARCURL %]" target="_blank" rel="noreferrer">
343 <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]" target="_blank" rel="noreferrer">
346 [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
347 <a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL |url%]&biblionumber=[% biblionumber | url %]" title="[% MARCurl.MARCURL %]">
349 <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">
352 [% MARCurl.linktext %]</a>
353 [% IF ( MARCurl.notes ) %]
355 [% FOREACH note IN MARCurl.notes %]
356 <li>[% note.note %]</li>
361 [% END # /FOREACH MARCURLS %]
364 [% END # / IF MARCURLS %]
365 [% END # / IF OPACXSLTDetailsDisplay %]
367 <!-- This puts the LTFL reviews in, and if TabbedView is not set, puts the remaining content above the Tabs instead of in them -->
368 [% IF ( LibraryThingForLibrariesID ) %]
369 [% UNLESS ( LibraryThingForLibrariesTabbedView ) %]
370 <div class="results_summary"><div id="ltfl_related" class="ltfl"></div></div>
371 <div class="results_summary"><div id="ltfl_similars" class="ltfl"></div></div>
372 <div class="results_summary"><div id="ltfl_tagbrowse" class="ltfl"></div></div>
374 <span class="results_summary">
375 <span class="label">Reviews from LibraryThing.com:</span>
376 <span style="display: block;" class="ltfl_reviews"></span>
378 [% END # / LibraryThingForLibrariesID %]
380 <!--This grabs all of the lists a bib record appears in -->
381 [% IF shelves.count %]
382 <span class="results_summary lists"><span class="label">List(s) this item appears in: </span>
383 [% FOREACH s IN shelves %]
384 <a href="/cgi-bin/koha/opac-shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a>
385 [% IF ( loop.last ) %][% ELSE %]|[% END %]
390 [% IF ( TagsShowEnabled ) %]
391 <div class="results_summary tags">
393 <span class="label">Tags from this library:</span>
395 [% FOREACH TagLoo IN TagLoop %]
396 <li><a href="/cgi-bin/koha/opac-search.pl?tag=[% TagLoo.term |url %]&q=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a> <span class="weight">([% TagLoo.weight_total %])</span>
397 [% IF ( loop.last ) %][% ELSE %], [% END %]
402 <span class="label">Tags from this library:</span> <span class="notags">No tags from this library for this title.</span>
404 [% IF ( TagsInputEnabled ) %]
405 [% IF ( loggedinusername ) %]
406 <form id="tagform[% biblionumber %]" method="post" action="/cgi-bin/koha/opac-tags.pl" style="display:none;">
407 <label for="newtag[% biblionumber %]">New tag(s), separated by a comma:</label>
408 <input name="newtag[% biblionumber %]" id="newtag[% biblionumber %]" maxlength="100" type="text"/>
409 <input name="tagbutton" class="btn btn-small tagbutton" title="[% biblionumber %]" type="submit" value="Add" />
410 <a class="cancel_tag_add" id="cancel[% biblionumber %]" href="#">(done)</a>
412 <span id="newtag[% biblionumber %]_status" class="tagstatus" style="display:none;">
415 <a class="tag_add" id="tag_add[% biblionumber %]" href="#">Add tag(s)</a>
417 <span id="login4tags">
418 [% IF Koha.Preference('casAuthentication') %]
419 [%# CAS authentication is too complicated for modal window %]
420 <a href="/cgi-bin/koha/opac-user.pl">Log in to add tags.</a>
422 <a class="loginModal-trigger" data-toggle="modal" role="button" href="/cgi-bin/koha/opac-user.pl">Log in to add tags.</a>
426 [% END # / IF TagsInputEnabled %]
428 [% END # /IF TagsShowEnabled %]
430 [% IF ( SyndeticsEnabled ) %]
431 [% IF ( SyndeticsSeries && SyndeticsSERIES1Exists ) %]
432 <span class="results_summary">
433 <span class="label">Series information:</span>
434 [% IF ( using_https ) %]
435 <a target="_blank" rel="noreferrer" href="https://secure.syndetics.com/ffseries.aspx?isbn=[% normalized_isbn %]&type=series&num=1&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]">Click to open in new window</a>
437 <a target="_blank" rel="noreferrer" href="http://www.syndetics.com/ffseries.aspx?isbn=[% normalized_isbn %]&type=series&num=1&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]">Click to open in new window</a>
440 [% END # / IF SyndeticsSeries && SyndeticsSERIES1Exists%]
441 [% IF ( SyndeticsAVPROFILEExists ) %]
442 <span class="results_summary">
443 <span class="label">Audiovisual profile:</span>
444 [% IF ( using_https ) %]
445 <a target="_blank" rel="noreferrer" href="https://secure.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/avprofile.html&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]&type=xw10">Click to open in new window</a>
447 <a target="_blank" rel="noreferrer" href="http://www.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/avprofile.html&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]&type=xw10">Click to open in new window</a>
450 [% END # / IF SyndeticsAVPROFILEExists %]
452 [% IF ( SyndeticsFICTIONExists ) %]
453 <span class="results_summary">
454 <span class="label">Fiction notes:</span>
455 [% IF ( using_https ) %]
456 <a target="_blank" rel="noreferrer" href="https://secure.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/fiction.html&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]&type=xw10">Click to open in new window</a>
458 <a target="_blank" rel="noreferrer" href="http://www.syndetics.com/index.aspx?isbn=[% normalized_isbn %]/fiction.html&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]&type=xw10">Click to open in new window</a>
461 [% END # / IF SyndeticsFICTIONExists %]
463 [% IF ( SyndeticsAwards && SyndeticsAWARDS1Exists ) %]
464 <span class="results_summary">
465 <span class="label">Awards:</span>
466 [% IF ( using_https ) %]
467 <a target="_blank" rel="noreferrer" href="https://secure.syndetics.com/ffawards.aspx?isbn=[% normalized_isbn %]&type=awards&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]">Click to open in new window</a>
469 <a target="_blank" rel="noreferrer" href="http://www.syndetics.com/ffawards.aspx?isbn=[% normalized_isbn %]&type=awards&client=[% SyndeticsClientCode %][% IF ( normalized_upc ) %]&upc=[% normalized_upc %][% END %][% IF ( normalized_oclc ) %]&oclc=[% normalized_oclc %][% END %]">Click to open in new window</a>
472 [% END # / IF SyndeticsAwards && SyndeticsAWARDS1Exists %]
473 [% END # / IF SyndeticsEnabled%]
475 [% IF ( OpacStarRatings != 'disable' ) %]
476 <form method="post" action="/cgi-bin/koha/opac-ratings.pl">
477 <div class="results_summary ratings">
479 [% SET rating_avg = ratings.get_avg_rating() %]
480 [% rating_avg_int = BLOCK %][% rating_avg | format("%.0f") %][% END %]
481 [% FOREACH i IN [ 1 2 3 4 5 ] %]
482 [% IF rating_avg_int == i && borrowernumber %]
483 <input class="auto-submit-star" type="radio" name="rating" value="[% i %]" checked="checked" />
484 [% ELSIF rating_avg_int == i %]
485 <input class="auto-submit-star" type="radio" name="rating" value="[% i %]" checked="checked" disabled="disabled" />
486 [% ELSIF borrowernumber %]
487 <input class="auto-submit-star" type="radio" name="rating" value="[% i %]" />
489 <input class="auto-submit-star" type="radio" name="rating" value="[% i %]" disabled="disabled" />
493 <!-- define some hidden vars for ratings -->
495 <input type="hidden" name='biblionumber' value="[% biblionumber %]" />
496 <input type="hidden" name='rating_value' id='rating_value' value="[% my_rating.rating_value %]" />
498 [% UNLESS ( rating_readonly ) %] <input name="rate_button" type="submit" value="Rate me" />[% END %]
501 <span id="rating_value_text">your rating: [% my_rating.rating_value %], </span>
503 <span id="rating_value_text"></span>
506 <span id="rating_text">average rating: [% rating_avg %] ([% ratings.count %] votes)</span>
509 [% END # / IF OpacStarRatings != 'disable' %]
511 [% IF ( BakerTaylorContentURL ) %]
512 <span class="results_summary">
513 <span class="label">Enhanced content: </span>
514 [% IF ( OPACURLOpenInNewWindow ) %]<a href="[% BakerTaylorContentURL |html %]" target="_blank" rel="noreferrer">Content Cafe</a>[% ELSE %]<a href="[% BakerTaylorContentURL |html %]">Content Cafe</a>[% END %]
516 [% END # / IF BakerTaylorContentURL %]
518 [% IF ( NovelistSelectProfile && normalized_isbn ) %]
519 [% IF ( NovelistSelectView == 'above') %]
520 <span class="results_summary NovelistSelect" style="display:none;">
521 <span class="label">Novelist Select: </span>
522 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
525 [% END # / IF NovelistSelectProfile %]
527 [% IF ( Babeltheque ) %]
528 <input type="hidden" name="BW_id_isbn" id="BW_id_isbn" value="[% normalized_isbn %]"/>
529 <div id="BW_notes"></div>
530 <div id="BW_critiques"></div>
531 <div id="BW_critiques_pro"></div>
532 <div id="BW_citations"></div>
533 [% END # / IF Babeltheque%]
535 </div> <!-- / #catalogue_detail_biblio -->
537 <div id="bibliodescriptions" class="toptabs">
540 [% IF ( defaulttab == 'holdings' ) %]
541 <li id="tab_holdings" class="ui-tabs-active">
543 <li id="tab_holdings">
545 <a href="#holdings">[% IF SeparateHoldings %][% LoginBranchname %] holdings[% ELSE %]Holdings[% END %] [% UNLESS too_many_items %] ( [% itemloop.size || 0 %] )[% END %]</a>
547 [% IF (SeparateHoldings) %]
548 <li><a href="#otherholdings">Other holdings ( [% otheritemloop.size || 0 %] )</a></li>
550 [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
551 <li id="tab_descriptions"> <a href="#descriptions">Title notes</a></li>
553 [% IF ( SYNDETICS_TOC ) %]
554 <li id="tab_toc"> <a href="#toc">TOC</a></li>
556 [% IF ( SyndeticsEnabled ) %]
557 [% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %]
558 <li id="tab_excerpt"> <a href="#excerpt">Excerpt</a></li>
560 [% IF ( ( SyndeticsReviews && SYNDETICS_REVIEWS ) || ( LibraryThingForLibrariesTabbedView && LibraryThingForLibrariesID) ) %]
561 <li id="tab_reviews"> <a href="#reviews">Reviews</a></li>
562 [% IF ( LibraryThingForLibrariesID ) %]
563 <li id="tab_LTFLreviews">
564 [% IF ( using_https ) %]
565 <script src="https://www.librarything.com/forlibraries/widget.js?id=[% LibraryThingForLibrariesID %]" type="text/javascript"></script>
566 <noscript>This page contains enriched content visible when JavaScript is enabled or by clicking <a href="https://www.librarything.com/forlibraries/noscript.php?id=[% LibraryThingForLibrariesID %]&accessibility=1">here</a>.</noscript>
568 <script src="http://www.librarything.com/forlibraries/widget.js?id=[% LibraryThingForLibrariesID %]" type="text/javascript"></script>
569 <noscript>This page contains enriched content visible when JavaScript is enabled or by clicking <a href="http://www.librarything.com/forlibraries/noscript.php?id=[% LibraryThingForLibrariesID %]&accessibility=1">here</a>.</noscript>
574 [% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %]
575 <li id="tab_anotes"> <a href="#anotes">About the author</a></li>
577 [% END # / IF SyndeticsEnabled %]
579 [% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %]
580 <li id="tab_LFTLSimilarItems"> <a href="#LFTLSimilarItems">Similar items</a></li>
581 <li id="tab_LTFLTagBrowse"> <a href="#LTFLTagBrowse">Tag browser</a></li>
584 [% IF ( subscriptionsnumber ) %]
585 [% IF ( defaulttab == 'subscriptions' ) %]<li id="tab_subscriptions" class="ui-tabs-active">[% ELSE %]<li id="tab_subscriptions">[% END %]
586 <a href="#subscriptions">Subscriptions ( [% subscriptionsnumber %] )</a>
590 [% IF Koha.Preference( 'reviewson' ) == 1 %]
591 <li id="tab_comments"><a href="#comments">Comments ( [% reviews.size || 0 %] )</a></li>
594 [% IF ( NovelistSelectProfile && normalized_isbn ) %]
595 [% IF ( NovelistSelectView == 'tab') %]
596 <li id="tab_NovelistSelect" class="NovelistSelect" style="display:none;"> <a href="#NovelistSelect">Novelist Select</a></li>
600 [% IF ( OPACFRBRizeEditions && XISBNS ) %]
601 <li id="tab_editions"><a href="#editions">Editions</a></li>
604 [% IF ( serialcollection ) %]
605 [% IF ( defaulttab == 'serialcollection' ) %]<li id="tab_serialcollection" class="ui-tabs-active">[% ELSE %]<li id="tab_serialcollection">[% END %]
606 <a href="#serialcollection">Serial collection</a>
610 [% IF ( OPACLocalCoverImages && localimages.size ) %]
611 <li id="tab_images"><a href="#images">Images</a></li>
614 [% IF ( HTML5MediaEnabled && HTML5MediaSets ) %]
615 [% IF ( defaulttab == 'media' ) %]<li id="tab_html5media" class="ui-tabs-active">[% ELSE %]<li id="tab_html5media">[% END %]<a href="#html5media">Play media</a></li>
618 [% IF ( IDreamBooksReviews ) %]
619 <li id='tab_idb_critic_reviews' style="display:none;"><a href='#idb_critic_reviews'>Book reviews by critics ( XXX )</a></li>
623 [% IF ( serialcollection ) %]
624 <div id="serialcollection">
625 <table id="serialcollectiont" class="table table-bordered table-striped">
628 <th id="serial_library">Library</th>
629 <th id="serial_collection">Serial collection</th>
630 <th id="serial_itemcallnumber">Item call number</th>
634 [% FOREACH serialcollection IN serialcollections %]
636 <td>[% serialcollection.branch %]</td>
637 <td>[% serialcollection.text %]</td>
638 <td>[% serialcollection.itemcallnumber %]</td>
644 [% END # / IF serialcollection %]
648 [% IF too_many_items %]
649 <p>This record has many physical items ([% items_count %]). <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]&viewallitems=1">Click here to view them all.</a></p>
650 [% ELSIF ( itemloop.size ) %]
651 [% INCLUDE items_table items=itemloop tab="holdings" %]
652 [% IF Koha.Preference('OPACAcquisitionDetails') and Koha.Preference('AcqCreateItem') != 'ordering' and acquisition_details.total_quantity > 0 %]
653 [% IF acquisition_details.total_quantity == 1 %]
656 [% acquisition_details.total_quantity %] items are on order.
659 [% IF holds_count.defined || priority %]
661 [% IF holds_count.defined %]
662 Total holds: [% holds_count %]
665 [% IF holds_count.defined %]
666 (priority [% priority %])
668 Overall queue priority: [% priority %]
674 [% IF ( ALTERNATEHOLDINGS ) %]
675 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
676 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div>
679 [% IF Koha.Preference('OPACAcquisitionDetails') and Koha.Preference('AcqCreateItem') != 'ordering' and acquisition_details.total_quantity > 0 %]
680 [% IF acquisition_details.total_quantity == 1 %]
683 [% acquisition_details.total_quantity %] items are on order.
686 <div id="noitems">No physical items for this record</div>
689 [% END # IF itemloop.size %]
690 [% PROCESS 'shelfbrowser.inc' %]
691 [% INCLUDE shelfbrowser tab='holdings' %]
692 <br style="clear:both;" />
693 </div> <!-- / #holdings -->
695 [% IF (SeparateHoldings) %]
696 <div id="otherholdings">
697 [% IF (otheritemloop.size) %]
698 [% INCLUDE items_table items=otheritemloop tab="otherholdings" %]
702 [% INCLUDE shelfbrowser tab='otherholdings' %]
704 [% END # / SeparateHoldings %]
706 [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
707 <div id="descriptions">
708 <div class="content_set">
710 [% IF ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY ) %]
711 <h4>Enhanced descriptions from Syndetics:</h4>
712 <p>[% SYNDETICS_SUMMARY %]</p>
715 [% IF ( MARCNOTES ) %]
717 [% FOREACH MARCNOTE IN MARCNOTES %]
719 [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
720 <a href="[% MARCNOTE.marcnote %]">[% MARCNOTE.marcnote %]</a>
722 [% MARCNOTE.marcnote FILTER html_line_break %]
734 </div> <!-- / #descriptions -->
735 [% END # / IF MARCNOTES || notes %]
737 [% IF ( SyndeticsEnabled ) %]
738 [% IF ( SyndeticsTOC && SYNDETICS_TOC ) %]
740 <div class="content_set">
741 <h3>Table of contents provided by Syndetics</h3>
743 [% FOREACH SYNDETICS_TO IN SYNDETICS_TOC %]
744 <li><b>[% SYNDETICS_TO.l %] [% SYNDETICS_TO.t %]</b>[% IF ( SYNDETICS_TO.p ) %] ([% SYNDETICS_TO.p %])[% END %]</li>
749 [% END # / IF SyndeticsTOC && SYNDETICS_TOC %]
751 [% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %]
753 <div class="content_set">
754 <h3>Excerpt provided by Syndetics</h3>
755 [% SYNDETICS_EXCERPT %]
758 [% END # / IF SyndeticsExcerpt && SYNDETICS_EXCERPT %]
760 [% IF ( SyndeticsReviews && SYNDETICS_REVIEWS ) %]
762 <div class="content_set">
763 <h3>Reviews provided by Syndetics</h3>
764 [% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %]
765 [% IF ( SYNDETICS_REVIEW.title ) %]
766 <h4>[% SYNDETICS_REVIEW.title %]</h4>
767 [% FOREACH review IN SYNDETICS_REVIEW.reviews %]
769 [% IF ( review.content ) %]
778 [% END # / IF SyndeticsReviews && SYNDETICS_REVIEWS %]
780 [% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %]
782 <div class="content_set">
783 <h3>Author notes provided by Syndetics</h3>
784 [% FOREACH SYNDETICS_ANOTE IN SYNDETICS_ANOTES %]
785 [% IF ( SYNDETICS_ANOTE.content ) %]
786 [% SYNDETICS_ANOTE.content %]
791 [% END # / IF SyndeticsReviews && SYNDETICS_REVIEWS %]
792 [% END # / IF SyndeticsEnabled %]
794 [% IF ( NovelistSelectProfile && NovelistSelectView == 'tab' && (normalized_isbn || normalized_upc) ) %]
795 <div id="NovelistSelect" >
796 <div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]></div>
798 [% END # / IF NovelistSelectProfile && NovelistSelectView == 'tab' %]
800 [% IF ( subscriptionsnumber ) %]
801 <div id="subscriptions">
802 <h2>This is a serial</h2>
803 <p>There are [% subscriptionsnumber %] subscription(s) associated with this title.</p>
804 [% FOREACH subscription IN subscriptions %]
805 [% IF ( subscription.branchcode ) %]
806 <h3>At library: [% Branches.GetName( subscription.branchcode ) %]</h3>
808 [% IF ( subscription.branchcode ) %]
809 <h3>At library: [% subscription.branchcode %]</h3>
812 [% IF ( subscription.closed ) %]
813 <p>This subscription is closed.</p>
815 <span style="display:none;"> [% IF ( subscription.callnumber ) %]<p>Call number: [% subscription.callnumber %]</p>[% END %]</span>
816 [% IF ( subscription.subscriptionnotes ) %]
817 <p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>
819 <p>Subscription from: [% subscription.histstartdate | $KohaDates %] to:[% IF ( subscription.histenddate ) %] [% subscription.histenddate | $KohaDates %] [% ELSE %] now (current)[% END %]</p>
820 [% IF ( subscription.letter ) %]<span class="email_notifications">
821 [% IF ( loggedinusername ) %]
822 [% IF ( subscription.hasalert ) %]
823 You have subscribed to email notification on new issues. <a style="color:#000;" class="btn" title="Cancel email notification" href="/cgi-bin/koha/opac-alert-subscribe.pl?op=cancel&externalid=[% subscription.subscriptionid %]&alerttype=issue&biblionumber=[% subscription.biblionumber %]">Cancel email notification</a>
825 <a style="color:#000;" class="btn" title="Subscribe to email notification on new issues" href="/cgi-bin/koha/opac-alert-subscribe.pl?externalid=[% subscription.subscriptionid %]&alerttype=issue&biblionumber=[% subscription.biblionumber %]">Subscribe to email notification on new issues</a>
828 You must log in if you want to subscribe to email notification on new issues
831 [% IF ( subscription.missinglist ) %]
832 <p>Missing issues: [% subscription.missinglist %] </p>
834 [% IF ( subscription.opacnote ) %]
835 <p>[% subscription.opacnote FILTER html_line_break %]</p>
837 [% IF ( subscription.callnumber ) %]
838 <p>Call number: [% subscription.callnumber %]</p>
840 [% IF ( subscription.latestserials ) %]
841 <p> The [% subscription.opacdisplaycount %] latest issues for this subscription:</p>
842 <table class="table table-bordered table-striped">
849 [% FOREACH latestserial IN subscription.latestserials %]
851 <td>[% latestserial.serialseq %]</td>
852 <td>[% latestserial.planneddate %]</td>
854 [% IF (latestserial.status1 ) %]Expected[% END %]
855 [% IF (latestserial.status2 ) %]Arrived[% END %]
856 [% IF (latestserial.status3 ) %]Late[% END %]
857 [% IF (latestserial.status4 ) %]Missing[% END %]
858 [% IF (latestserial.status41 ) %]Missing (never received)[% END %]
859 [% IF (latestserial.status42 ) %]Missing (sold out)[% END %]
860 [% IF (latestserial.status43 ) %]Missing (damaged)[% END %]
861 [% IF (latestserial.status44 ) %]Missing (lost)[% END %]
862 [% IF (latestserial.status5 ) %]Not issued[% END %]
863 [% IF (latestserial.status6 ) %]Delete[% END %]
864 [% IF (latestserial.status7 ) %]Claimed[% END %]
865 [% IF (latestserial.status8 ) %]Stopped[% END %]
867 <td>[% latestserial.notes %]</td>
869 [% END # / FOREACH latestserials %]
871 [% END # / IF subscription.latestserials %]
872 [% END # / FOREACH subscriptions %]
873 <p><a href="opac-serial-issues.pl?biblionumber=[% biblionumber %]">More details</a></p>
874 </div> <!-- / #subscriptions -->
875 [% END # IF subscriptionsnumber %]
877 [% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %]
878 <!-- Library Thing for Libraries Content -->
879 <div id="LFTLSimilarItems">
880 <div class="content_set">
881 <!-- Uncommenting this span makes the font smaller in the tab for LTFL -->
882 <!-- but breaks Xhtml validation -->
883 <!-- <span class="results_summary">-->
884 <div id="ltfl_related"></div>
885 <div id="ltfl_similars"></div>
889 <div id="LTFLTagBrowse">
890 <div class="content_set">
891 <!-- <span class="results_summary"> -->
892 <div id="ltfl_tagbrowse" class="ltfl"></div>
896 [% END # / IF LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView %]
898 [% IF Koha.Preference( 'reviewson' ) == 1 %]
900 <div id="newcomment"></div>
902 [% FOREACH review IN reviews %]
903 [% IF review.borrowernumber == borrowernumber %]
904 <div class="commentline yours" id="c[% review.reviewid %]">
905 [% IF ( review.avatarurl ) %]
906 <img class="avatar" src="[% review.avatarurl %]" height="80" width="80" alt="" />
908 [% IF review.approved %]
909 <h5>Your comment</h5>
911 <h5>Your comment (preview, pending approval)</h5>
913 <small>[% review.datereviewed | $KohaDates %]</small>
915 [% FILTER html_break %]
916 [% review.review |html %]
918 <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber %]&reviewid=[% review.reviewid %]');">Edit</a>
922 <div class="commentline">
923 [% IF ( ShowReviewer != "none" ) %]
924 [% IF ( review.avatarurl ) %]
925 <img class="avatar" src="[% review.avatarurl %]" height="80" width="80" alt="" />
927 [% SWITCH ShowReviewer %]
929 <h5>Comment by [% review.title %] [% review.firstname %] [% review.surname %]</h5>
931 <h5>Comment by [% review.firstname %]</h5>
933 <h5>Comment by [% review.surname %]</h5>
934 [% CASE 'firstandinitial' %]
935 <h5>Comment by [% review.firstname %] [% review.surname|truncate(2,'.') %]</h5>
936 [% CASE 'username' %]
937 <h5>Comment by [% review.userid %]</h5>
939 <small>[% review.datereviewed | $KohaDates %]</small>
940 [% ELSIF ( ShowReviewer == "none") %]
941 <h5>Patron comment on [% review.datereviewed | $KohaDates %]</h5>
942 [% END # / IF ShowReviewer != "none"%]
944 [% FILTER html_break %]
945 [% review.review |html %]
948 </div> <!-- / .commentline -->
950 [% END # / FOREACH reviews %]
952 <p>There are no comments for this item.</p>
953 [% END # / IF reviews %]
955 [% IF ( loggedinusername ) %]
956 [% UNLESS ( loggedincommenter ) %]
957 <div id="addcomment"> <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% biblionumber %]'); return false;">
958 Post your comments on this item.
962 <div id="addcomment"><a href="/cgi-bin/koha/opac-user.pl">Log in to your account</a> to post a comment.</div>
963 [% END # / IF loggedinusername %]
964 </div> <!-- / #comments -->
965 [% END # / IF reviewson %]
967 [% IF ( OPACFRBRizeEditions && XISBNS ) %]
969 <h4>Other editions of this work</h4>
970 <table class="table table-bordered table-striped">
971 [% FOREACH XISBN IN XISBNS %]
974 [% IF ( OPACAmazonCoverImages ) %]
975 <img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn %].01._AA75_PU_PU-5_.jpg" alt="" />
978 [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
979 [% IF ( XISBN.content_identifier_exists ) %]
980 [% IF ( using_https ) %]
981 <img src="https://secure.syndetics.com/index.aspx?isbn=[% XISBN.browser_normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %][% IF ( XISBN.browser_normalized_upc ) %]&upc=[% XISBN.browser_normalized_upc %][% END %][% IF ( XISBN.browser_normalized_oclc ) %]&oclc=[% XISBN.browser_normalized_oclc %][% END %]&type=xw10" alt="" />
983 <img src="http://www.syndetics.com/index.aspx?isbn=[% XISBN.browser_normalized_isbn %]/SC.GIF&client=[% SyndeticsClientCode %][% IF ( XISBN.browser_normalized_upc ) %]&upc=[% XISBN.browser_normalized_upc %][% END %][% IF ( XISBN.browser_normalized_oclc ) %]&oclc=[% XISBN.browser_normalized_oclc %][% END %]&type=xw10" alt="" />
986 <span class="no-image">No cover image available</span>
987 [% END # / IF XISBN.content_identifier_exists %]
988 [% END # / IF SyndeticsEnabled && SyndeticsCoverImages %]
991 [% UNLESS ( item_level_itypes ) %]
992 <td>[% XISBN.description %]</td>
994 <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a>
995 [% IF ( XISBN.author ) %] by [% XISBN.author |html %][% END %]
996 [% IF ( XISBN.copyrightdate ) %] ©[% XISBN.copyrightdate %][% END %]
997 [% IF ( XISBN.publishercode ) %]
998 <p>[% XISBN.publishercode |html %]
999 [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %]
1000 [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear %][% END %]
1001 [% IF ( XISBN.pages ) %][% XISBN.pages %] [% XISBN.illus %] [% XISBN.size %][% END %]
1006 [% END # / FOREACH XISBNS %]
1008 </div> <!-- / #editions -->
1009 [% END # / IF OPACFRBRizeEditions && XISBNS %]
1011 [% IF ( HTML5MediaEnabled ) %]
1012 <div id="html5media">
1013 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
1015 <[% HTML5MediaParent %] controls preload=none>
1016 <[% HTML5MediaSet.child %] src="[% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] />
1017 [[% HTML5MediaParent %] tag not supported by your browser.]
1018 </[% HTML5MediaParent %]>
1022 [% END # / IF HTML5MediaEnabled %]
1024 [% IF ( OPACLocalCoverImages && localimages.size ) %]
1026 <p>Click on an image to view it in the image viewer</p>
1027 [% FOREACH image IN localimages %]
1029 <a class="localimage" href="/cgi-bin/koha/opac-imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]"><img alt="" src="/cgi-bin/koha/opac-image.pl?thumbnail=1&imagenumber=[% image %]" /></a>
1032 </div><!-- / #images -->
1033 [% END # / IF OPACLocalCoverImages && localimages.size %]
1035 [% IF ( IDreamBooksReviews ) %]
1036 <div id="idb_critic_reviews">
1037 <div id="idb_review_snippets"></div>
1038 <span><a id="seemoreidb">More book reviews at iDreamBooks.com</a></span>
1041 </div> <!-- / #bibliodescriptions -->
1043 [% IF ( NovelistSelectProfile && NovelistSelectView == 'below' && ( normalized_isbn || normalized_upc ) ) %]
1044 <div id="NovelistSelect">
1045 <h3>Novelist Select</h3>
1046 <div data-novelist-novelistselect="[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]"></div>
1050 [% IF ( Babeltheque ) %]
1052 <div id="BW_etiquettes"></div>
1053 <div id="BW_suggestions"></div>
1055 <div class="clearfix"></div>
1057 <div id="BW_podcasts"></div>
1059 <div class="clearfix"></div>
1061 <div id="BW_videos"></div>
1063 [% END # / IF Babeltheque %]
1065 [% INCLUDE "openlibrary-readapi.inc" bib = {
1066 normalized_isbn => normalized_isbn,
1068 normalized_oclc => normalized_oclc
1071 </div> <!-- /.span9 -->
1074 <div id="ulactioncontainer">
1076 [% IF ( OpacBrowseResults && busc ) %]
1077 <div class="nav_results">
1078 <div class="l_Results">
1079 [% IF ( listResults ) %]
1080 <a href="#" id="a_listResults" title="Show pagination list ([% indexPag %]-[% indexPagEnd %] / [% totalPag %])">Browse results</a>
1082 <span>Browse results</span>
1085 <ul class="pg_menu clearfix">
1086 <li class="left_results">
1087 [% IF ( previousBiblionumber ) %]
1088 <a href="opac-detail.pl?biblionumber=[% previousBiblionumber %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="See: [% IF ( previousTitle ) %][% previousTitle |html %][% ELSE %]previous biblio[% END %]">« Previous</a>
1090 <span>Previous</span>
1093 [%# busc is already URI encoded %]
1094 <li class="back_results"><a href="opac-search.pl?[% busc %]" title="Back to the results search list">Back to results</a></li>
1095 <li class="right_results">
1096 [% IF ( nextBiblionumber ) %]
1097 <a href="opac-detail.pl?biblionumber=[% nextBiblionumber %][% IF ( query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]" title="See: [% IF ( nextTitle ) %][% nextTitle |html %][% ELSE %]next biblio[% END %]">Next »</a>
1103 [% IF ( listResults ) %]
1104 <div class="results-pagination">
1105 <div class="nav_pages">
1106 <span class="close_pagination"><a href="#" id="close_pagination">Close</a></span>
1107 <ul id="listResults"></ul>
1109 <div class="pagination_list">
1110 <ul id="ul_pagination_list"></ul>
1115 [% END # / IF OpacBrowseResults && busc %]
1117 [% INCLUDE 'opac-detail-sidebar.inc' %]
1119 [% IF ( NovelistSelectProfile && NovelistSelectView == 'right' && ( normalized_isbn || normalized_upc ) ) %]
1120 <div id="NovelistSelect">
1121 <h4>Novelist Select</h4>
1122 <div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]></div>
1126 [% IF ( Babeltheque ) %]
1127 <div class="babeltheque_adds">
1128 <div id="BW_critiques_aj"></div>
1129 <div id="BW_citations_aj"></div>
1133 [% IF ( SocialNetworks ) %]
1134 <div id="social_networks" class="clearfix">
1136 <div><a id="facebook" href="http://www.facebook.com/sharer.php?u=[% current_url |url %]&t=[% title |url %]" title="Share on Facebook">Facebook</a></div>
1137 <div><a id="linkedin" href="http://www.linkedin.com/shareArticle?mini=true&url=[% current_url |url %]&title=[% title |url %]" title="Share on LinkedIn">LinkedIn</a></div>
1138 <div><a id="delicious" href="http://www.delicious.com/save?url=[% current_url |url %]&title=[% title |url %]" title="Share on Delicious">Delicious</a></div>
1139 <div><a id="email" href="mailto:?subject=[% title |url %]&body=[% title |url %]%20([% current_url |url %])" title="Share by email">Email</a></div>
1140 <div><div class="g-plusone" data-size="small" data-count="false"></div></div>
1141 <div><a id="twitter" href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-text="[% title |url %]" data-lang="[% lang %]">Tweet</a></div>
1144 </div> <!-- / .ulactioncontainer -->
1145 </div> <!-- / .span4 -->
1146 </div> <!-- / .row-fluid -->
1147 <div class="row-fluid">
1148 [% IF ( LibraryThingForLibrariesID ) %]
1149 [% IF ( using_https ) %]
1150 <script src="https://ltfl.librarything.com/forlibraries/widget.js?systype=koha&id=[% LibraryThingForLibrariesID %]" type="text/javascript"></script>
1151 <noscript>This page contains enriched content visible when JavaScript is enabled or by clicking
1152 <a href="https://www.librarything.com/forlibraries/noscript.php?id=[% LibraryThingForLibrariesID %]&accessibility=1">here</a>.</noscript>
1154 <script src="http://ltfl.librarything.com/forlibraries/widget.js?systype=koha&id=[% LibraryThingForLibrariesID %]" type="text/javascript"></script>
1155 <noscript>This page contains enriched content visible when JavaScript is enabled or by clicking
1156 <a href="http://www.librarything.com/forlibraries/noscript.php?id=
1157 [% LibraryThingForLibrariesID %]&accessibility=1">here</a>.</noscript>
1161 [% IF ( NovelistSelectProfile && normalized_isbn ) %]
1162 <script type="text/javascript" src="https://imageserver.ebscohost.com/novelistselect/ns2init.js"></script>
1165 [% IF ( Babeltheque ) %]
1166 <script type="text/javascript" src="[% Babeltheque_url_js %]"></script>
1168 </div> <!-- / .row-fluid -->
1169 </div> <!-- / .container-fluid -->
1170 </div> <!-- / .main -->
1172 [% INCLUDE 'opac-bottom.inc' %]
1174 [%# End of template %]
1176 [% BLOCK items_table %]
1177 <table class="holdingst table table-bordered table-striped">
1180 [% IF ( item_level_itypes ) %]<th id="item_itemtype" class="itype">Item type</th>[% END %]
1181 [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' || singleBranchMode ) %]
1182 <th id="item_current_location" class="item_location">Current location</th>
1184 [% UNLESS ( singleBranchMode ) %]
1185 [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]
1186 <th id="item_home_location" class="item_location">Home library</th>
1189 [% IF ( itemdata_ccode ) %]<th id="item_ccode" class="collection">Collection</th>[% END %]
1190 <th id="item_callnumber" class="call_no">Call number</th>
1191 [% IF ( itemdata_enumchron ) %]<th id="item_enumchron" class="vol_info">Vol info</th>[% END %]
1192 [% IF ( itemdata_uri ) %]<th id="item_url" class="url">URL</th>[% END %]
1193 [% IF ( itemdata_copynumber ) %]<th id="item_copy" class="copynumber">Copy number</th>[% END %]
1194 <th id="item_status" class="status">Status</th>
1195 [% IF ( itemdata_itemnotes ) %]<th id="item_notes" class="notes">Notes</th>[% END %]
1196 <th id="item_datedue" class="date_due">Date due</th>
1197 [% IF ( OPACShowBarcode ) %]<th id="item_barcode" class="barcode">Barcode</th>[% END %]
1198 [% IF holds_count.defined %]
1199 <th id="item_holds">Item holds</th>
1200 [% ELSIF show_priority %]
1201 <th id="item_priority">Item hold queue priority</th>
1203 [% IF ( ShowCourseReservesHeader ) %]<th id="item_coursereserves">Course reserves</th>[% END %]
1207 [% FOREACH ITEM_RESULT IN items %]
1208 [% IF ITEM_RESULT.this_branch %]
1209 <tr class="highlight-row-detail" vocab="http://schema.org/" typeof="Offer">
1211 <tr vocab="http://schema.org/" typeof="Offer">
1213 [% IF ( item_level_itypes ) %]
1215 [% UNLESS ( noItemTypeImages ) %]
1216 [% IF ( ITEM_RESULT.imageurl ) %]
1217 <img src="[% ITEM_RESULT.imageurl %]" title="[% ITEM_RESULT.description %]" alt="[% ITEM_RESULT.description %]" />
1220 [% ITEM_RESULT.description %]
1223 [% UNLESS singleBranchMode %]
1224 [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %]
1225 <td class="location" property="seller">
1226 <link property="itemOffered" href="#record" />
1227 <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
1228 <span class="[% ITEM_RESULT.holding_branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]" title="">
1229 [% IF ( ITEM_RESULT.branchurl ) %]
1230 <a href="[% ITEM_RESULT.branchurl %]">[% ITEM_RESULT.branchname %]</a>
1232 <span>[% ITEM_RESULT.branchname %]</span>
1235 <div class="branch-info-tooltip">[% ITEM_RESULT.holding_branch_opac_info %]</div>
1237 [% IF ( OpacLocationBranchToDisplayShelving == 'holding' || OpacLocationBranchToDisplayShelving == 'both' ) %]
1238 <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span>
1244 [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]
1245 <td class="location" property="seller">
1246 <link property="itemOffered" href="#record" />
1247 <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
1248 <span class="[% ITEM_RESULT.home_branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]" title="">
1249 [% IF Branches.GetURL( ITEM_RESULT.homebranch ) %]
1250 [% home_branch_url = Branches.GetURL( ITEM_RESULT.homebranch ) %]
1251 [% IF ( home_branch_url ) %]
1252 <a href="[% home_branch_url %]">[% Branches.GetName( ITEM_RESULT.homebranch ) %]</a>
1254 <span>[% Branches.GetName( ITEM_RESULT.homebranch ) %]</span>
1257 <span>[% Branches.GetName( ITEM_RESULT.homebranch ) %]</span>
1260 <div class="branch-info-tooltip">[% ITEM_RESULT.home_branch_opac_info %]</div>
1262 [% IF ( OpacLocationBranchToDisplayShelving == 'home' || OpacLocationBranchToDisplayShelving == 'both' ) %]
1263 <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span>
1270 <td class="location"><span class="shelvingloc">[% ITEM_RESULT.location_description %]</span></td>
1273 [% IF ( itemdata_ccode ) %]
1274 <td class="collection">[% ITEM_RESULT.ccode %]</td>
1276 <td class="call_no" property="sku">
1277 [% IF ( ITEM_RESULT.itemcallnumber ) %]
1278 [% ITEM_RESULT.itemcallnumber %]
1279 [% IF ( OPACShelfBrowser ) %]
1280 [% IF ( ITEM_RESULT.itemnumber == starting_itemnumber ) %]
1281 (<a class="close_shelf" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber %]#[% tab %]">Browse shelf</a>)
1283 (<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber %]#[% tab %]">Browse shelf</a>)
1288 [% IF ( itemdata_enumchron ) %]
1289 <td class="vol_info">
1290 [% IF ITEM_RESULT.enumchron && ITEM_RESULT.serialseq %]
1291 <span class="enum">[% ITEM_RESULT.enumchron %]</span>
1292 [% IF ( ITEM_RESULT.serialseq && ITEM_RESULT.enumchron!=ITEM_RESULT.serialseq ) %]
1293 <span class="sep"> -- </span>
1294 <span class="serialseq">[% ITEM_RESULT.serialseq %]</span>
1296 [% ELSIF ITEM_RESULT.enumchron %]
1297 <span class="enum">[% ITEM_RESULT.enumchron %]</span>
1298 [% ELSIF ITEM_RESULT.serialseq %]
1299 <span class="serialseq">[% ITEM_RESULT.serialseq %]</span>
1301 [% IF ( ITEM_RESULT.publisheddate ) %]
1302 <span class="pubdate">([% ITEM_RESULT.publisheddate | $KohaDates %])</span>
1306 [% IF ( itemdata_uri ) %]
1308 [% IF ITEM_RESULT.uri %]
1309 [% IF trackclicks == 'track' || trackclicks == 'anonymous' %]
1310 [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1311 <a target="_blank" rel="noreferrer" href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&biblionumber=[% biblionumber |url %]&itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url"> Link to resource </a>
1313 <a href="/cgi-bin/koha/tracklinks.pl?uri=[% ITEM_RESULT.uri | uri %]&biblionumber=[% biblionumber |url %]&itemnumber=[% ITEM_RESULT.itemnumber | url %]" property="url"> Link to resource </a>
1317 [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
1318 <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri %]" property="url">[% ITEM_RESULT.uri %]</a>
1320 <a href="[% ITEM_RESULT.uri %]" property="url">[% ITEM_RESULT.uri %]</a>
1326 [% IF ( itemdata_copynumber ) %]<td class="copynumber">[% ITEM_RESULT.copynumber %]</td>[% END %]
1327 <td class="status">[% INCLUDE 'item-status-schema-org.inc' item = ITEM_RESULT %][% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
1328 [% IF ( itemdata_itemnotes ) %]<td class="notes" property="description">[% ITEM_RESULT.itemnotes %]</td>[% END %]
1329 <td class="date_due"><span title="[% ITEM_RESULT.datedue %]">[% ITEM_RESULT.datedue | $KohaDates as_due_date => 1 %]</span></td>
1330 [% IF ( OPACShowBarcode ) %]<td class="barcode" property="serialNumber">[% ITEM_RESULT.barcode %]</td>[% END %]
1331 [% IF holds_count.defined || show_priority %]
1332 <td class="holds_count">
1333 [% IF holds_count.defined %] [% ITEM_RESULT.holds_count %] [% END %]
1334 [% IF ITEM_RESULT.priority %]
1335 [% IF holds_count.defined %]
1336 (priority [% ITEM_RESULT.priority %])
1338 [% ITEM_RESULT.priority %]
1343 [% IF ShowCourseReservesHeader %]
1345 [% IF ITEM_RESULT.course_reserves %]
1346 [% FOREACH r IN ITEM_RESULT.course_reserves %]
1347 [% IF r.course.enabled == 'yes' %]
1349 <a href="opac-course-details.pl?course_id=[% r.course.course_id %]">
1350 [% r.course.course_name %]
1351 <!--[% IF r.course.course_number %] [% r.course.course_number %] [% END %]-->
1352 [% IF r.course.section %] [% r.course.section %] [% END %]
1353 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term ) %] [% END %]
1360 [% END # /IF ShowCourseReservesHeader %]
1365 [% END %][%# end of items_table block %]
1367 [% BLOCK jsinclude %]
1368 [% INCLUDE 'datatables.inc' %]
1369 [% IF ( SocialNetworks ) %]
1370 <script type="text/javascript" src="https://apis.google.com/js/plusone.js">
1372 {lang: '[% lang %]'}
1375 <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
1377 [% IF ( OpacStarRatings != 'disable' ) %]<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/plugins/jquery.rating.js"></script>[% END %]
1379 [% IF ( OpacHighlightedWords ) %]<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/plugins/jquery.highlight-3.js"></script>[% END %]
1381 <script type="text/javascript">
1384 [% IF ( OpacBrowseResults && busc ) %]
1385 var arrPagination = new Array();
1386 var pag_index_ini = [% indexPag %];
1387 [% IF ( listResults ) %]
1388 [% FOREACH listResult IN listResults %]
1389 arrPagination[[% listResult.index %]] = {
1390 url:"[% listResult.url %][% IF ( listResult.url && query_desc && OpacHighlightedWords ) %]&query_desc=[% query_desc |uri %][% END %]",
1391 title:"[% listResult.title|remove('\n')|html %]",
1392 author:"[% listResult.author|html %]",
1393 biblionumber:[% listResult.biblionumber %]
1399 [% IF ( OpacHighlightedWords ) %]
1400 var q_array = new Array(); // holds search terms if available
1402 function highlightOff() {
1403 $("#catalogue_detail_biblio").removeHighlight();
1404 $(".highlight_toggle").toggle();
1406 function highlightOn() {
1408 for (x in q_array) {
1409 if ( q_array[x].length > 0 ) {
1410 q_array[x] = q_array[x].replace(/\w*:([\w])/, "$1");
1411 q_array[x] = q_array[x].toLowerCase();
1412 var myStopwords = "[% Koha.Preference('NotHighlightedWords') %]".toLowerCase().split('|');
1413 if( $.inArray(q_array[x], myStopwords) == -1 ) {
1414 $(".title").highlight(q_array[x]);
1415 $(".author").highlight(q_array[x]);
1416 $(".results_summary").highlight(q_array[x]);
1420 $(".highlight_toggle").toggle();
1424 $(document).ready(function() {
1425 $('#bibliodescriptions').tabs();
1426 $(".branch-info-tooltip-trigger").uitooltip({
1427 position: { my: "left+15 center", at: "right center" },
1430 content: function(){
1431 var element = $(this).next("div");
1432 return element.html();
1435 [% IF ( TagsInputEnabled && loggedinusername ) %]
1436 $(".tag_add").click(function(){
1437 var thisid = $(this).attr("id");
1438 thisid = thisid.replace("tag_add","");
1440 $("#tagform"+thisid).show();
1441 $("#newtag"+thisid).focus();
1442 $("#newtag"+thisid+"_status").empty().hide();
1445 $(".cancel_tag_add").click(function(){
1446 var thisid = $(this).attr("id");
1447 thisid = thisid.replace("cancel","");
1448 $("#tagform"+thisid).hide();
1449 $("#tag_add"+thisid).show();
1450 $("#newtag"+thisid).val("");
1451 $("#newtag"+thisid+"_status").empty().hide();
1454 $(".tagbutton").click(function(){
1455 var thisid = $(this).attr("title");
1456 var tag = $("#newtag"+thisid).val();
1457 if (!tag || (tag == "")) {
1458 alert(MSG_NO_TAG_SPECIFIED);
1461 KOHA.Tags.add_tag_button(thisid, tag);
1466 [%# Note that there is no way atm to target a column with its class name to set it as the default sort order %]
1467 [% IF Koha.Preference('OpacLocationBranchToDisplay') == 'home' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND item_level_itypes
1468 OR Koha.Preference('OpacLocationBranchToDisplay') == 'holding' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'holdingbranch' AND item_level_itypes
1469 OR Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND NOT item_level_itypes
1470 OR Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'holdingbranch' AND item_level_itypes %]
1471 var default_order_index = 1;
1472 [% ELSIF Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND item_level_itypes %]
1473 var default_order_index = 2;
1475 var default_order_index = 0;
1477 $(".holdingst").dataTable($.extend(true, {}, dataTablesDefaults, {
1479 [% IF ( item_level_itypes ) %]null,[% END %]
1480 [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' || singleBranchMode ) %]null,[% END %]
1481 [% UNLESS ( singleBranchMode ) %]
1482 [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]null,[% END %]
1484 [% IF ( itemdata_ccode ) %]null,[% END %]
1486 [% IF ( itemdata_enumchron ) %]null,[% END %]
1487 [% IF ( itemdata_uri ) %]null,[% END %]
1488 [% IF ( itemdata_copynumber ) %]null,[% END %]
1490 [% IF ( itemdata_itemnotes ) %]null,[% END %]
1491 { "sType": "title-string" },
1492 [% IF ( OPACShowBarcode ) %]null,[% END %]
1493 [% IF holds_count.defined %]
1495 [% ELSIF show_priority %]
1498 [% IF ( ShowCourseReservesHeader ) %]null,[% END %]
1500 "aaSorting": [[ default_order_index, 'asc' ]]
1503 [% IF ( query_desc ) %][% IF ( OpacHighlightedWords ) %]var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') |html %]";
1504 q_array = query_desc.split(" ");
1505 q_array = q_array.filter(function(n){ return n }); // Remove empty strings
1507 $("#highlight_toggle_on" ).hide().click(function() {highlightOn() ; return false;});
1508 $("#highlight_toggle_off").show().click(function() {highlightOff(); return false;});[% END %][% END %]
1509 [% IF ( GoogleJackets ) %]
1510 KOHA.Google.GetCoverFromIsbn([% covernewwindow %]);
1512 [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
1513 KOHA.coce.getURL('[% Koha.Preference('CoceHost') %]', '[% Koha.Preference('CoceProviders') %]',[% covernewwindow %]);
1516 [% IF OpenLibraryCovers %]
1517 KOHA.OpenLibrary.GetCoverFromIsbn();
1519 [% IF OPACLocalCoverImages %]
1520 KOHA.LocalCover.GetCoverFromBibnumber(true);
1522 [% IF ( NovelistSelectProfile && ( normalized_isbn || normalized_upc ) ) %]
1523 novSelect.loadContentForQuery(
1525 ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]',
1526 ISBN : '[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]',
1529 '[% NovelistSelectProfile %]',
1530 '[% NovelistSelectPassword %]',
1532 if ( d.length > 0 ){ //If no content
1533 $(".NovelistSelect").show();
1538 [% IF ( OpacBrowseResults && busc ) %]
1539 if (arrPagination.length > 0) {
1540 renderPagIndexList(pag_index_ini, $("#listResults"));
1542 $("#a_listResults").click(function(e) {
1543 if (arrPagination.length > 0) {
1545 var navigation = $(".results-pagination");
1546 if (navigation.css("display") == 'none') {
1548 var newtitle = $(this).attr('title').replace('Show', 'Hide')
1549 $(this).attr('title',newtitle);
1550 renderPagination(pag_index_ini, arrPagination.length - 1, $("#ul_pagination_list"), false);
1553 var newtitle = $(this).attr('title').replace('Hide', 'Show')
1554 $(this).attr('title',newtitle);
1558 $("#close_pagination").click(function(e) {
1560 var navigation = $(".results-pagination");
1564 [% IF ( OPACShelfBrowser ) %]
1566 (function prepareShelfBrowser(){
1568 $(".main").on("click",".close_shelf",function(e){
1570 $("#shelfbrowser").toggle();
1572 $(".main").on("click", "#browser_previous a", function(e){
1575 url: "/cgi-bin/koha/svc/shelfbrowser.pl",
1578 "shelfbrowse_itemnumber": $("#browser_previous a").data( "prev-itemnumber" )
1580 success: function(data){
1581 $("#shelfbrowser").replaceWith(data);
1582 [% IF ( GoogleJackets ) %]
1583 KOHA.Google.GetCoverFromIsbn([% covernewwindow %]);
1585 [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
1586 KOHA.coce.getURL('[% Koha.Preference('CoceHost') %]', '[% Koha.Preference('CoceProviders') %]',[% covernewwindow %]);
1588 [% IF OpenLibraryCovers %]
1589 KOHA.OpenLibrary.GetCoverFromIsbn();
1591 [% IF OPACLocalCoverImages %]
1592 KOHA.LocalCover.GetCoverFromBibnumber(true);
1598 $(".main").on("click", "#browser_next a", function(e){
1601 url: "/cgi-bin/koha/svc/shelfbrowser.pl",
1604 "shelfbrowse_itemnumber": $("#browser_next a").data( "next-itemnumber" )
1606 success: function(data){
1607 $("#shelfbrowser").replaceWith(data);
1608 [% IF ( GoogleJackets ) %]
1609 KOHA.Google.GetCoverFromIsbn([% covernewwindow %]);
1611 [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
1612 KOHA.coce.getURL('[% Koha.Preference('CoceHost') %]', '[% Koha.Preference('CoceProviders') %]',[% covernewwindow %]);
1614 [% IF OpenLibraryCovers %]
1615 KOHA.OpenLibrary.GetCoverFromIsbn();
1617 [% IF OPACLocalCoverImages %]
1618 KOHA.LocalCover.GetCoverFromBibnumber(true);
1625 [% IF ( OpacStarRatings != 'disable' ) %]
1626 // -----------------------------------------------------
1627 // star-ratings code
1628 // -----------------------------------------------------
1629 // hide 'rate' button if javascript enabled
1631 $('input[name="rate_button"]').remove();
1634 $(".auto-submit-star").rating({
1635 callback: function (value, link) {
1637 // if the new value equals the old value, dont execute callback...
1639 if ($("#rating_value").attr("value") != value) {
1643 $.post("/cgi-bin/koha/opac-ratings-ajax.pl", {
1644 rating_old_value: $("#rating_value").attr("value"),
1645 borrowernumber: "[% borrowernumber %]",
1646 biblionumber: "[% biblionumber %]",
1647 rating_value: value,
1649 }, function (data) {
1651 if (data.auth_status != 'ok') {
1652 window.alert(_("Your CGI session cookie is not current. Please refresh the page and try again."));
1654 $("#rating_value").val(data.rating_value);
1656 if (data.rating_value) {
1657 $("#rating_value_text").text(_("your rating: ") + data.rating_value + ", ");
1659 $("#rating_value_text").text('');
1662 $("#rating_text").text(_("average rating: ") + data.rating_avg + " (" + data.rating_total + ' ' + _("votes") + ")");
1671 // -----------------------------------------------------
1672 [% END # / IF ( OpacStarRatings != 'disable' )%]
1674 [% IF ( IDreamBooksReviews || IDreamBooksReadometer ) %]
1675 var isbn = $(".isbn:last").text().split(" ")[1];
1677 isbn = isbn.replace(/\W*$/, '');
1678 isbn = isbn.replace(/-/, '');
1680 if ($.browser.msie && parseInt($.browser.version, 10) >= 8 && window.XDomainRequest) {
1681 // Use Microsoft XDR for IE version 8 or above
1682 var xdr = new XDomainRequest();
1683 xdr.open("get", "https://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e");
1684 xdr.onload = function() {
1685 json = 'json = '+xdr.responseText; // the string now looks like.. json = { ... };
1686 eval(json); // json is now a regular JSON object
1687 parseIDBJSON(json); // parse using same function as for jQuery's success event
1691 $.getJSON("https://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e", function(json){
1696 [% END # / IDreamBooksReviews || IDreamBooksReadometer%]
1699 [% IF ( IDreamBooksReviews || IDreamBooksReadometer ) %]
1700 function parseIDBJSON( json ) {
1701 if(json.total_results > 0 && json.book.rating > 0){
1702 var isbn = $(".isbn:last").text().split(" ")[1];
1703 isbn = isbn.replace(/\W+/g, '');
1705 [% IF ( IDreamBooksReadometer ) %]
1706 $(".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>');
1709 [% IF ( IDreamBooksReviews ) %]
1710 //build new tab for critic reviews
1711 $("#tab_idb_critic_reviews a").text($("#tab_idb_critic_reviews a").text().replace('XXX', json.book.review_count));
1713 //append happy-sad cloud review
1715 $("#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>");
1717 //insert data into Book reviews tab
1718 $.each(json.book.critic_reviews, function(){
1719 $("#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>");
1721 $("#seemoreidb").attr('href', json.book.detail_link);
1722 $("#tab_idb_critic_reviews").show();
1726 [% END # / IF IDreamBooksReviews || IDreamBooksReadometer %]
1728 [% IF ( OpacBrowseResults && busc ) %]
1730 var totalPagItemList = 10;
1732 function rewindList()
1734 var ul = $("#listResults");
1735 var li_ini = ul.children(':first').next();
1736 var index_ini = pag_index_ini;
1738 index_ini = parseInt(li_ini.attr("class").substring(7), 10);
1740 var li_end = ul.children(':last').prev();
1741 var index_end = arrPagination.length - 1;
1743 index_end = parseInt(li_end.attr("class").substring(7), 10);
1745 if (index_ini > pag_index_ini) {
1746 renderPagIndexList(index_ini - 1, ul, false);
1747 renderPagination(index_ini - 1, arrPagination.length - 1, $("#ul_pagination_list"), true);
1751 function forwardList()
1753 var ul = $("#listResults");
1754 var li_ini = ul.children(':first').next();
1755 var index_ini = pag_index_ini;
1757 index_ini = parseInt(li_ini.attr("class").substring(7), 10);
1759 var li_end = ul.children(':last').prev();
1760 var index_end = arrPagination.length - 1;
1762 index_end = parseInt(li_end.attr("class").substring(7), 10);
1764 if (index_end < arrPagination.length - 1) {
1765 renderPagIndexList(index_ini + 1, ul, false);
1766 renderPagination(index_ini + 1, arrPagination.length - 1, $("#ul_pagination_list"), true);
1770 function renderPagIndexList(index, ul)
1772 var $kids = ul.children("li");
1773 if ($kids.length > 0) {
1774 $kids.each(function() {
1780 var ini = index - 1;
1781 var end = ini + totalPagItemList - 1;
1783 html = (index > pag_index_ini)?"<a href='#' id='rew_list_index' onclick='rewindList()' title='" + _("Click to rewind the list to") + " " + ini + " - " + end + "'>«</a>":"«";
1787 for (var i=index; i < arrPagination.length && i < index + totalPagItemList; i++) {
1788 if (arrPagination[i] == undefined) continue;
1789 var li = $("<li />");
1790 if (arrPagination[i].url != "") {
1791 title = _("See biblio") + " "" + arrPagination[i].title + "" ";
1792 if (arrPagination[i].author != "") title += " " + _("by") + """ + arrPagination[i].author + """;
1793 title += " " + _("with biblionumber") + " " + arrPagination[i].biblionumber;
1794 html = "<a href='" + arrPagination[i].url + "' title='" + title + "' class='a_pag' id='a_pag_" + i + "'";
1795 html += " onmouseover='renderPagination(" + i + ", " + (arrPagination.length - 1) + ", $(\"#ul_pagination_list\"), true)'";
1796 html += ">" + i + "</a>";
1799 li.attr("class", "li_pag_" + i);
1804 end = (arrPagination.length > index + totalPagItemList)?index + totalPagItemList:arrPagination.length - 1;
1805 html = (end <= arrPagination.length - 1 && (end - index) >= totalPagItemList)?"<a href='#' id='fw_list_index' onclick='forwardList()' title='" + _("Click to forward the list to") + " " + ini + " - " + end + "'>»</a>":"»";
1808 }//renderPagIndexList
1811 function renderPagination(index, total, ul, highlIndex)
1813 for (var i = pag_index_ini; i <= total; i++) {
1814 if (arrPagination[i] == undefined || arrPagination[i].url == "") continue;
1815 $("#li_pag_" + i).remove();
1818 for (var i = index; i <= total && j < totalPagItemList; i++) {
1819 if (arrPagination[i] == undefined || arrPagination[i].url == "") continue;
1820 var li = $("<li id='li_pag_" + i + "' " + ((j % 2 == 0)?"class='highlight'":"") + " title='" + _("Go to detail") + "' />");
1821 var html = "<span class='li_pag_index'>" + i + "</span><a href='" + arrPagination[i].url + "'>" + arrPagination[i].title + "</a>";
1822 if (arrPagination[i].author) html += "<br /> " + _("by") + " " + arrPagination[i].author;
1824 if (highlIndex && i == index) li.css("backgroundColor", "#DDDDDD");
1828 for (i = pag_index_ini; i < index && j < totalPagItemList; i++) {
1829 if (arrPagination[i] == undefined || arrPagination[i].url == "") continue;
1830 $("#li_pag_" + i).remove();
1831 var li = $("<li id='li_pag_" + i + "' " + ((j % 2 == 0)?"class='highlight'":"") + " title='" + _("Go to detail") + "' />");
1832 var html = "<span class='li_pag_index'>" + i + "</span><a href='" + arrPagination[i].url + "'>" + arrPagination[i].title + "</a>";
1833 if (arrPagination[i].author) html += "<br /> " + _("by") + " " + arrPagination[i].author;
1839 [% END # / IF ( OpacBrowseResults && busc ) %]
1843 [% IF OPACPopupAuthorsSearch %]
1844 <script type="text/javascript">
1846 function showAuthors(element){
1847 var authornumber = $(element).attr("data-count");
1849 // Check checkbox related to the clicked link
1850 $("#authorsList input[type='checkbox']").attr('checked', false);
1851 $("#author_"+authornumber).attr('checked', true);
1853 makeAuthorRequest();
1856 function checkAll(checkbox, elem) {
1857 var check = $(checkbox).attr('checked') ? true : false;
1858 $(elem).find("input[type='checkbox']").attr('checked', check);
1859 elem == "#authorsList" ? makeAuthorRequest() : makeSubjectRequest();
1862 function makeAuthorRequest(){
1865 $("#authorsList").find("input[type='checkbox']:checked").each(function () {
1866 values.push($(this).val());
1869 if (values.length > 0) {
1870 var request = "/cgi-bin/koha/opac-search.pl?q=" + values.join(' and ');
1871 $("#validAuthorSearch").attr("href", request);
1873 $("#validAuthorSearch").removeAttr("href");
1879 function showSubjects(element, subjectnumber, subfieldnumber){
1881 // Check checkbox related to the clicked link
1882 $("#subjectsList input[type='checkbox']").attr('checked', false);
1883 $("#subject_"+subjectnumber+"_"+subfieldnumber).attr('checked', true);
1885 makeSubjectRequest();
1889 function makeSubjectRequest() {
1891 $("#subjectsList > ul").each(function() {
1892 var all_checked = true;
1893 var local_values = [];
1894 $(this).find('input[type="checkbox"]').each(function() {
1895 if($(this).attr('checked')) {
1896 local_values.push($(this).val());
1898 all_checked = false;
1901 var authid = $(this).attr('data-authid');
1902 if(all_checked && authid) {
1903 values.push('an:' + authid);
1905 values = values.concat(local_values);
1908 if(values.length > 0) {
1909 var request = "/cgi-bin/koha/opac-search.pl?q=" + values.join(' and ');
1910 $("#validSubjectSearch").attr('href', request);
1912 $("#validSubjectSearch").removeAttr("href");
1915 $(document).ready(function() {
1916 $("a.showauthors").click(function(e){
1924 [% END # / IF OPACPopupAuthorsSearch %]