Lines 19-37
Link Here
|
19 |
[% ShowCourseReservesHeader = 0 %] |
19 |
[% ShowCourseReservesHeader = 0 %] |
20 |
[% IF Koha.Preference( 'UseCourseReserves' ) == 1 %] |
20 |
[% IF Koha.Preference( 'UseCourseReserves' ) == 1 %] |
21 |
[% FOREACH ITEM_RESULT IN itemloop %] |
21 |
[% FOREACH ITEM_RESULT IN itemloop %] |
22 |
[% IF ITEM_RESULT.course_reserves %] |
22 |
[% IF ITEM_RESULT.course_reserves %] |
23 |
[% FOREACH r IN ITEM_RESULT.course_reserves %] |
23 |
[% FOREACH r IN ITEM_RESULT.course_reserves %] |
24 |
[% IF r.course.enabled == 'yes' %] |
24 |
[% IF r.course.enabled == 'yes' %] |
25 |
[% ShowCourseReservesHeader = 1 %] |
25 |
[% ShowCourseReservesHeader = 1 %] |
26 |
[% END %] |
26 |
[% END %] |
27 |
[% END %] |
27 |
[% END %] |
28 |
[% END %] |
28 |
[% END %] |
29 |
[% END %] |
29 |
[% END %] |
30 |
[% END %] |
30 |
[% END %] |
31 |
|
31 |
|
32 |
[% INCLUDE 'doc-head-open.inc' %] |
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> |
33 |
<title> |
34 |
[% INCLUDE 'doc-head-close.inc' %] |
34 |
[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog › Details for: [% INCLUDE 'biblio-title-head.inc' %] |
|
|
35 |
</title> |
36 |
[% INCLUDE 'doc-head-close.inc' %] |
35 |
[% Asset.css("lib/emoji-picker/css/emoji.css") | $raw %] |
37 |
[% Asset.css("lib/emoji-picker/css/emoji.css") | $raw %] |
36 |
[% IF ( Koha.Preference('OPACShowMusicalInscripts') ) %] |
38 |
[% IF ( Koha.Preference('OPACShowMusicalInscripts') ) %] |
37 |
[% Asset.css("lib/verovio/midiplayer.css") | $raw %] |
39 |
[% Asset.css("lib/verovio/midiplayer.css") | $raw %] |
Lines 43-49
Link Here
|
43 |
|
45 |
|
44 |
<div class="main"> |
46 |
<div class="main"> |
45 |
<ul class="breadcrumb"> |
47 |
<ul class="breadcrumb"> |
46 |
<li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li> |
48 |
<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> |
49 |
<li><a href="#"><span>Details for: </span>[% INCLUDE 'biblio-title.inc' %]</a></li> |
48 |
</ul> |
50 |
</ul> |
49 |
|
51 |
|
Lines 51-57
Link Here
|
51 |
<div class="row-fluid"> |
53 |
<div class="row-fluid"> |
52 |
<div class="span9"> |
54 |
<div class="span9"> |
53 |
<div id="catalogue_detail_biblio" class="maincontent"> |
55 |
<div id="catalogue_detail_biblio" class="maincontent"> |
54 |
|
|
|
55 |
<div id="bookcover"> |
56 |
<div id="bookcover"> |
56 |
[% IF ( OPACLocalCoverImages ) %] |
57 |
[% IF ( OPACLocalCoverImages ) %] |
57 |
<div title="[% biblio.biblionumber | html %]" class="[% biblio.biblionumber | html %]" id="local-thumbnail-preview"></div> |
58 |
<div title="[% biblio.biblionumber | html %]" class="[% biblio.biblionumber | html %]" id="local-thumbnail-preview"></div> |
Lines 81-94
Link Here
|
81 |
[% IF ( GoogleJackets ) %] |
82 |
[% IF ( GoogleJackets ) %] |
82 |
<div title="[% biblio.biblionumber | html %]" class="[% normalized_isbn | html %]" id="gbs-thumbnail-preview"></div> |
83 |
<div title="[% biblio.biblionumber | html %]" class="[% normalized_isbn | html %]" id="gbs-thumbnail-preview"></div> |
83 |
[% END %] |
84 |
[% END %] |
|
|
85 |
|
84 |
[% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %] |
86 |
[% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %] |
85 |
[% coce_id = normalized_ean || normalized_isbn | html %] |
87 |
[% coce_id = normalized_ean || normalized_isbn | html %] |
86 |
<div title="[% biblio.biblionumber | html %]" class="[% coce_id | html %]" id="coce-thumbnail-preview"></div> |
88 |
<div title="[% biblio.biblionumber | html %]" class="[% coce_id | html %]" id="coce-thumbnail-preview"></div> |
87 |
[% END %] |
89 |
[% END %] |
|
|
90 |
|
88 |
[% IF OpenLibraryCovers %] |
91 |
[% IF OpenLibraryCovers %] |
89 |
<div title="[% biblio.biblionumber | html %]" class="[% normalized_isbn | html %]" id="openlibrary-thumbnail-preview"></div> |
92 |
<div title="[% biblio.biblionumber | html %]" class="[% normalized_isbn | html %]" id="openlibrary-thumbnail-preview"></div> |
90 |
[% END %] |
93 |
[% END %] |
|
|
94 |
|
91 |
[% bt_id = ( normalized_upc || normalized_isbn ) %] |
95 |
[% bt_id = ( normalized_upc || normalized_isbn ) %] |
|
|
96 |
|
92 |
[% IF ( BakerTaylorEnabled && bt_id ) %] |
97 |
[% IF ( BakerTaylorEnabled && bt_id ) %] |
93 |
[% IF BakerTaylorBookstoreURL %] |
98 |
[% IF BakerTaylorBookstoreURL %] |
94 |
[% IF ( OPACURLOpenInNewWindow ) %] |
99 |
[% IF ( OPACURLOpenInNewWindow ) %] |
Lines 100-105
Link Here
|
100 |
<img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /> |
105 |
<img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /> |
101 |
[% END %] |
106 |
[% END %] |
102 |
[% END %] |
107 |
[% END %] |
|
|
108 |
|
103 |
[% IF Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') %] |
109 |
[% IF Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') %] |
104 |
[% IF ( OPACURLOpenInNewWindow ) %] |
110 |
[% 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> |
111 |
<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> |
Lines 127-140
Link Here
|
127 |
<h1 class="title">[% INCLUDE 'biblio-title.inc' %]</h1> |
133 |
<h1 class="title">[% INCLUDE 'biblio-title.inc' %]</h1> |
128 |
[% IF ( author ) %]<h5 class="author">by <a class="contributors" href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author | html %]</a></h5>[% END %] |
134 |
[% IF ( author ) %]<h5 class="author">by <a class="contributors" href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author | html %]</a></h5>[% END %] |
129 |
|
135 |
|
130 |
<span class="results_summary">[% UNLESS ( item_level_itypes ) %] |
136 |
<span class="results_summary"> |
131 |
[ |
137 |
[% UNLESS ( item_level_itypes ) %] |
132 |
[% IF ( description ) %] |
138 |
[ |
133 |
[% description | html %] |
139 |
[% IF ( description ) %] |
134 |
[% ELSE %] |
140 |
[% description | html %] |
135 |
[% itemtype | html %] |
141 |
[% ELSE %] |
|
|
142 |
[% itemtype | html %] |
143 |
[% END %] |
144 |
] |
136 |
[% END %] |
145 |
[% END %] |
137 |
] [% END %] |
146 |
|
138 |
[% IF ( unititle ) %], [% unititle | html %][% END %] |
147 |
[% IF ( unititle ) %], [% unititle | html %][% END %] |
139 |
</span> |
148 |
</span> |
140 |
|
149 |
|
Lines 145-164
Link Here
|
145 |
[% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %] |
154 |
[% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %] |
146 |
[% MARCAUTHOR_SUBFIELDS_LOO.separator | html %] |
155 |
[% MARCAUTHOR_SUBFIELDS_LOO.separator | html %] |
147 |
[% IF ( MARCAUTHOR.authoritylink ) %] |
156 |
[% IF ( MARCAUTHOR.authoritylink ) %] |
148 |
<a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code | html %] [% MARCAUTHOR_SUBFIELDS_LOO.value | html %]" class="contributors authority_link" data-authid="[% MARCAUTHOR.authoritylink | html %]" 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 %]"> |
157 |
<a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code | html %][% MARCAUTHOR_SUBFIELDS_LOO.value | html %]" class="contributors authority_link" data-authid="[% MARCAUTHOR.authoritylink | html %]" 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 %]"> |
149 |
[% ELSE %] |
158 |
[% ELSE %] |
150 |
<a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code | html %] [% MARCAUTHOR_SUBFIELDS_LOO.value | html %]" class="contributors" 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 %]"> |
159 |
<a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code | html %][% MARCAUTHOR_SUBFIELDS_LOO.value | html %]" class="contributors" 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 %]"> |
151 |
[% END %] |
160 |
[% END %] |
152 |
[% MARCAUTHOR_SUBFIELDS_LOO.value | html %]</a> |
161 |
[% MARCAUTHOR_SUBFIELDS_LOO.value | html %]</a> |
153 |
[% END %] |
162 |
[% END %] |
154 |
[% IF (MARCAUTHOR.authoritylink) %] |
163 |
|
|
|
164 |
[% IF ( MARCAUTHOR.authoritylink ) %] |
155 |
<a class="authlink" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% MARCAUTHOR.authoritylink | html %]"><i class="fa fa-search"></i></a> |
165 |
<a class="authlink" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% MARCAUTHOR.authoritylink | html %]"><i class="fa fa-search"></i></a> |
156 |
[% END %] |
166 |
[% END %] |
|
|
167 |
|
157 |
[% IF IDREF and MARCAUTHOR.unimarc3 %] |
168 |
[% IF IDREF and MARCAUTHOR.unimarc3 %] |
158 |
<a href="/cgi-bin/koha/opac-idref.pl?unimarc3=[% MARCAUTHOR.unimarc3 | uri %]" title="IdRef" rel="gb_page_center[600,500]">IdRef</a> |
169 |
<a href="/cgi-bin/koha/opac-idref.pl?unimarc3=[% MARCAUTHOR.unimarc3 | uri %]" title="IdRef" rel="gb_page_center[600, 500]">IdRef</a> |
159 |
[% END %] |
170 |
[% END %] |
|
|
171 |
|
160 |
[% UNLESS ( loop.last ) %]|[% END %] |
172 |
[% UNLESS ( loop.last ) %]|[% END %] |
161 |
[% END # /FOREACH MARCAUTHORS %] |
173 |
[% END # / FOREACH MARCAUTHORS %] |
162 |
</div> |
174 |
</div> |
163 |
[% END # IF MARCAUTHORS %] |
175 |
[% END # IF MARCAUTHORS %] |
164 |
|
176 |
|
Lines 169-174
Link Here
|
169 |
[% IF ( MARCSERIES_SUBFIELDS_LOO.value ) %] |
181 |
[% IF ( MARCSERIES_SUBFIELDS_LOO.value ) %] |
170 |
<a href="/cgi-bin/koha/opac-search.pl?q=se:[% MARCSERIES_SUBFIELDS_LOO.value |url %]">[% MARCSERIES_SUBFIELDS_LOO.value | html %]</a> |
182 |
<a href="/cgi-bin/koha/opac-search.pl?q=se:[% MARCSERIES_SUBFIELDS_LOO.value |url %]">[% MARCSERIES_SUBFIELDS_LOO.value | html %]</a> |
171 |
[% END %] |
183 |
[% END %] |
|
|
184 |
|
172 |
[% IF ( MARCSERIES_SUBFIELDS_LOO.volumenum ) %] |
185 |
[% IF ( MARCSERIES_SUBFIELDS_LOO.volumenum ) %] |
173 |
. [% MARCSERIES_SUBFIELDS_LOO.volumenum | html %] |
186 |
. [% MARCSERIES_SUBFIELDS_LOO.volumenum | html %] |
174 |
[% END %] |
187 |
[% END %] |
Lines 176-196
Link Here
|
176 |
[% UNLESS ( loop.last ) %]|[% END %] |
189 |
[% UNLESS ( loop.last ) %]|[% END %] |
177 |
[% END # / FOREACH MARCSERIES %] |
190 |
[% END # / FOREACH MARCSERIES %] |
178 |
</span> |
191 |
</span> |
179 |
[% END # /MARCSERIES %] |
192 |
[% END # / MARCSERIES %] |
180 |
|
193 |
|
181 |
[% IF ( editionstatement ) %] |
194 |
[% IF ( editionstatement ) %] |
182 |
<span class="results_summary edition"><span class="label">Edition statement:</span>[% editionstatement | html %][% IF ( editionresponsibility ) %]/[% editionresponsibility | html %][% END %]</span> |
195 |
<span class="results_summary edition"><span class="label">Edition statement:</span>[% editionstatement | html %][% IF ( editionresponsibility ) %]/[% editionresponsibility | html %][% END %]</span> |
183 |
[% END %] |
196 |
[% END %] |
|
|
197 |
|
184 |
[% IF ( publishercode ) %] |
198 |
[% IF ( publishercode ) %] |
185 |
<span class="results_summary publisher"><span class="label">Published by :</span> |
199 |
<span class="results_summary publisher"><span class="label">Published by :</span> |
186 |
<a href="/cgi-bin/koha/opac-search.pl?q=pb:[% publishercode |url %] "> |
200 |
<a href="/cgi-bin/koha/opac-search.pl?q=pb:[% publishercode |url %] "> |
187 |
[% publishercode | html %] |
201 |
[% publishercode | html %] |
188 |
</a> [% IF ( place ) %]([% place | html %])[% END %] [% IF ( publicationyear ) %], [% publicationyear | html %][% END %] |
202 |
</a> |
|
|
203 |
[% IF ( place ) %]([% place | html %])[% END %] |
204 |
[% IF ( publicationyear ) %], [% publicationyear | html %][% END %] |
189 |
</span> |
205 |
</span> |
190 |
[% END %] |
206 |
[% END %] |
191 |
|
207 |
|
192 |
[% IF ( pages ) %] |
208 |
[% IF ( pages ) %] |
193 |
<span class="results_summary physical"><span class="label">Physical details:</span> [% pages | html %] [% illus | html %] [% size | html %]</span> |
209 |
<span class="results_summary physical"><span class="label">Physical details:</span>[% pages | html %][% illus | html %][% size | html %]</span> |
194 |
[% END %] |
210 |
[% END %] |
195 |
|
211 |
|
196 |
[% IF ( MARCISBNS ) %] |
212 |
[% IF ( MARCISBNS ) %] |
Lines 208-215
Link Here
|
208 |
[% IF ( collectiontitle ) %] |
224 |
[% IF ( collectiontitle ) %] |
209 |
<span class="results_summary collection"><span class="label">Collection: </span> |
225 |
<span class="results_summary collection"><span class="label">Collection: </span> |
210 |
[% collectiontitle | html %] |
226 |
[% collectiontitle | html %] |
211 |
[% IF ( collectionissn ) %] [% ', ISSN ' _ collectionissn | html %][% END %] |
227 |
[% IF ( collectionissn ) %][% ', ISSN ' _ collectionissn | html %][% END %] |
212 |
[% IF ( collectionvolume ) %] [% ' ; ' _ collectionvolume | html %] [% END %] |
228 |
|
|
|
229 |
[% IF ( collectionvolume ) %][% ' ; ' _ collectionvolume | html %][% END %] |
213 |
|
230 |
|
214 |
</span> |
231 |
</span> |
215 |
[% END %] |
232 |
[% END %] |
Lines 225-245
Link Here
|
225 |
[% IF ( MARCSUBJCTS ) %] |
242 |
[% IF ( MARCSUBJCTS ) %] |
226 |
<div class="results_summary subjects"> |
243 |
<div class="results_summary subjects"> |
227 |
<span class="label">Subject(s):</span> |
244 |
<span class="label">Subject(s):</span> |
228 |
|
|
|
229 |
[% FOREACH MARCSUBJCT IN MARCSUBJCTS %] |
245 |
[% FOREACH MARCSUBJCT IN MARCSUBJCTS %] |
230 |
[% subjectsloop = loop %] |
246 |
[% subjectsloop = loop %] |
231 |
[% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %] |
247 |
[% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %] |
232 |
[% SUBFIELD.separator | html %] |
248 |
[% SUBFIELD.separator | html %] |
233 |
<a title="[% '$' _ SUBFIELD.code _ ' ' _ SUBFIELD.value | html %]" class="subject" 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> |
249 |
<a title="[% '$' _ SUBFIELD.code _ ' ' _ SUBFIELD.value | html %]" class="subject" 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> |
234 |
[% END %] |
250 |
[% END %] |
235 |
[% IF (MARCSUBJCT.authoritylink) %] |
251 |
|
|
|
252 |
[% IF ( MARCSUBJCT.authoritylink ) %] |
236 |
<a class="authlink" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% MARCSUBJCT.authoritylink | html %]"><i class="fa fa-search"></i></a> |
253 |
<a class="authlink" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% MARCSUBJCT.authoritylink | html %]"><i class="fa fa-search"></i></a> |
237 |
[% END %] |
254 |
[% END %] |
|
|
255 |
|
238 |
[% UNLESS ( loop.last ) %] | [% END %] |
256 |
[% UNLESS ( loop.last ) %] | [% END %] |
239 |
[% END # / FOREACH MARCSUBJCTS %] |
257 |
[% END # / FOREACH MARCSUBJCTS %] |
240 |
</div> |
258 |
</div> |
241 |
[% ELSE # /IF MARCSUBJCTS %] |
259 |
[% ELSE # / IF MARCSUBJCTS %] |
242 |
[% IF ( subjects ) %]<span class="results_summary subjects"><span class="label">Subject(s):</span> [% FOREACH subject IN subjects %]<a class="subject" href="/cgi-bin/koha/opac-search.pl?q=su:[% subject.subject |url %]">[% subject.subject | html %]</a> | [% END %]</span>[% END %] |
260 |
[% IF ( subjects ) %]<span class="results_summary subjects"><span class="label">Subject(s):</span>[% FOREACH subject IN subjects %]<a class="subject" href="/cgi-bin/koha/opac-search.pl?q=su:[% subject.subject |url %]">[% subject.subject | html %]</a> | [% END %]</span>[% END %] |
243 |
[% END %] |
261 |
[% END %] |
244 |
|
262 |
|
245 |
[% IF ( copyrightdate ) %] |
263 |
[% IF ( copyrightdate ) %] |
Lines 263-293
Link Here
|
263 |
<div class="results_summary online_resources"><span class="label">Online resources:</span> |
281 |
<div class="results_summary online_resources"><span class="label">Online resources:</span> |
264 |
<ul> |
282 |
<ul> |
265 |
[% FOREACH MARCurl IN MARCURLS %] |
283 |
[% FOREACH MARCurl IN MARCURLS %] |
266 |
<li>[% IF ( MARCurl.part ) %][% MARCurl.part | html %]<br />[% END %] |
284 |
<li> |
|
|
285 |
[% IF ( MARCurl.part ) %][% MARCurl.part | html %]<br />[% END %] |
267 |
|
286 |
|
268 |
[% IF ( OPACURLOpenInNewWindow ) %] |
287 |
[% IF ( OPACURLOpenInNewWindow ) %] |
269 |
[% IF trackclicks == 'track' || trackclicks == 'anonymous' %] |
288 |
[% IF trackclicks == 'track' || trackclicks == 'anonymous' %] |
270 |
<a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL | uri %]&biblionumber=[% biblio.biblionumber | uri %]" title="[% MARCurl.MARCURL | html %]" target="_blank" rel="noreferrer"> |
289 |
<a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL | uri %]&biblionumber=[% biblio.biblionumber | uri %]" title="[% MARCurl.MARCURL | html %]" target="_blank" rel="noreferrer"> |
271 |
[% ELSE %] |
290 |
[% ELSE %] |
272 |
<a href="[% MARCurl.MARCURL | url %]" title="[% MARCurl.MARCURL | html %]" target="_blank" rel="noreferrer"> |
291 |
<a href="[% MARCurl.MARCURL | url %]" title="[% MARCurl.MARCURL | html %]" target="_blank" rel="noreferrer"> |
273 |
[% END %] |
292 |
[% END %] |
274 |
[% ELSE %] |
|
|
275 |
[% IF trackclicks == 'track' || trackclicks == 'anonymous' %] |
276 |
<a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL | uri %]&biblionumber=[% biblio.biblionumber | uri %]" title="[% MARCurl.MARCURL | html %]"> |
277 |
[% ELSE %] |
293 |
[% ELSE %] |
278 |
<a href="[% MARCurl.MARCURL | url %]" title="[% MARCurl.MARCURL | html %]"> |
294 |
[% IF trackclicks == 'track' || trackclicks == 'anonymous' %] |
279 |
[% END %] |
295 |
<a href="/cgi-bin/koha/tracklinks.pl?uri=[% MARCurl.MARCURL | uri %]&biblionumber=[% biblio.biblionumber | uri %]" title="[% MARCurl.MARCURL | html %]"> |
280 |
[% END %] |
296 |
[% ELSE %] |
281 |
[% MARCurl.linktext | html %]</a> |
297 |
<a href="[% MARCurl.MARCURL | url %]" title="[% MARCurl.MARCURL | html %]"> |
282 |
[% IF ( MARCurl.notes ) %] |
298 |
[% END %] |
283 |
<ul> |
|
|
284 |
[% FOREACH note IN MARCurl.notes %] |
285 |
<li>[% note.note | html %]</li> |
286 |
[% END %] |
287 |
</ul> |
288 |
[% END %] |
299 |
[% END %] |
|
|
300 |
[% MARCurl.linktext | html %]</a> |
301 |
[% IF ( MARCurl.notes ) %] |
302 |
<ul> |
303 |
[% FOREACH note IN MARCurl.notes %] |
304 |
<li>[% note.note | html %]</li> |
305 |
[% END %] |
306 |
</ul> |
307 |
[% END %] |
289 |
</li> |
308 |
</li> |
290 |
[% END # /FOREACH MARCURLS %] |
309 |
[% END # / FOREACH MARCURLS %] |
291 |
</ul> |
310 |
</ul> |
292 |
</div> |
311 |
</div> |
293 |
[% END # / IF MARCURLS %] |
312 |
[% END # / IF MARCURLS %] |
Lines 322-335
Link Here
|
322 |
<span class="label">Tags from this library:</span> |
341 |
<span class="label">Tags from this library:</span> |
323 |
<ul id="tagslist"> |
342 |
<ul id="tagslist"> |
324 |
[% FOREACH TagLoo IN TagLoop %] |
343 |
[% FOREACH TagLoo IN TagLoop %] |
325 |
<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> |
344 |
<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> |
326 |
[% IF ( loop.last ) %][% ELSE %], [% END %] |
345 |
[% IF ( loop.last ) %][% ELSE %], [% END %] |
327 |
</li> |
346 |
</li> |
328 |
[% END %] |
347 |
[% END %] |
329 |
</ul> |
348 |
</ul> |
330 |
[% ELSE %] |
349 |
[% ELSE %] |
331 |
<span class="label">Tags from this library:</span> <span class="notags">No tags from this library for this title.</span> |
350 |
<span class="label">Tags from this library:</span><span class="notags">No tags from this library for this title.</span> |
332 |
[% END %] |
351 |
[% END %] |
|
|
352 |
|
333 |
[% IF ( TagsInputEnabled ) %] |
353 |
[% IF ( TagsInputEnabled ) %] |
334 |
[% IF ( loggedinusername ) %] |
354 |
[% IF ( loggedinusername ) %] |
335 |
<form id="tagform[% biblio.biblionumber | html %]" method="post" action="/cgi-bin/koha/opac-tags.pl" style="display:none;"> |
355 |
<form id="tagform[% biblio.biblionumber | html %]" method="post" action="/cgi-bin/koha/opac-tags.pl" style="display:none;"> |
Lines 363-369
Link Here
|
363 |
[% END %] |
383 |
[% END %] |
364 |
[% END # / IF TagsInputEnabled %] |
384 |
[% END # / IF TagsInputEnabled %] |
365 |
</div> |
385 |
</div> |
366 |
[% END # /IF TagsShowEnabled %] |
386 |
[% END # / IF TagsShowEnabled %] |
367 |
|
387 |
|
368 |
[% IF ( SyndeticsEnabled ) %] |
388 |
[% IF ( SyndeticsEnabled ) %] |
369 |
[% IF ( SyndeticsSeries && SyndeticsSERIES1Exists ) %] |
389 |
[% IF ( SyndeticsSeries && SyndeticsSERIES1Exists ) %] |
Lines 371-377
Link Here
|
371 |
<span class="label">Series information:</span> |
391 |
<span class="label">Series information:</span> |
372 |
<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> |
392 |
<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> |
373 |
</span> |
393 |
</span> |
374 |
[% END # / IF SyndeticsSeries && SyndeticsSERIES1Exists%] |
394 |
[% END # / IF SyndeticsSeries && SyndeticsSERIES1Exists %] |
375 |
[% IF ( SyndeticsAVPROFILEExists ) %] |
395 |
[% IF ( SyndeticsAVPROFILEExists ) %] |
376 |
<span class="results_summary"> |
396 |
<span class="results_summary"> |
377 |
<span class="label">Audiovisual profile:</span> |
397 |
<span class="label">Audiovisual profile:</span> |
Lines 392-398
Link Here
|
392 |
<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> |
412 |
<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> |
393 |
</span> |
413 |
</span> |
394 |
[% END # / IF SyndeticsAwards && SyndeticsAWARDS1Exists %] |
414 |
[% END # / IF SyndeticsAwards && SyndeticsAWARDS1Exists %] |
395 |
[% END # / IF SyndeticsEnabled%] |
415 |
[% END # / IF SyndeticsEnabled %] |
396 |
|
416 |
|
397 |
[% IF ( OpacStarRatings != 'disable' ) %] |
417 |
[% IF ( OpacStarRatings != 'disable' ) %] |
398 |
<form method="post" action="/cgi-bin/koha/opac-ratings.pl"> |
418 |
<form method="post" action="/cgi-bin/koha/opac-ratings.pl"> |
Lines 406-411
Link Here
|
406 |
[% ELSE %] |
426 |
[% ELSE %] |
407 |
<select id="star_rating" name="rating" data-rating-enabled="0" disabled="disabled" autocomplete="off"> |
427 |
<select id="star_rating" name="rating" data-rating-enabled="0" disabled="disabled" autocomplete="off"> |
408 |
[% END %] |
428 |
[% END %] |
|
|
429 |
|
409 |
[% IF ( rating_avg_int == 0 ) %] |
430 |
[% IF ( rating_avg_int == 0 ) %] |
410 |
<option value="" selected="selected"></option> |
431 |
<option value="" selected="selected"></option> |
411 |
[% END %] |
432 |
[% END %] |
Lines 462-470
Link Here
|
462 |
<div id="BW_critiques"></div> |
483 |
<div id="BW_critiques"></div> |
463 |
<div id="BW_critiques_pro"></div> |
484 |
<div id="BW_critiques_pro"></div> |
464 |
<div id="BW_citations"></div> |
485 |
<div id="BW_citations"></div> |
465 |
[% END # / IF Babeltheque%] |
486 |
[% END # / IF Babeltheque %] |
466 |
|
487 |
|
467 |
</div> <!-- / #catalogue_detail_biblio --> |
488 |
</div><!-- / #catalogue_detail_biblio --> |
468 |
|
489 |
|
469 |
<div id="bibliodescriptions" class="toptabs"> |
490 |
<div id="bibliodescriptions" class="toptabs"> |
470 |
<ul> |
491 |
<ul> |
Lines 473-484
Link Here
|
473 |
[% ELSE %] |
494 |
[% ELSE %] |
474 |
<li id="tab_holdings"> |
495 |
<li id="tab_holdings"> |
475 |
[% END %] |
496 |
[% END %] |
476 |
[% BLOCK holding_tab_title %][% IF SeparateHoldings %]<span>[% LoginBranchname | html %] holdings</span>[% ELSE %]<span>Holdings</span>[% END %][% END %] |
497 |
[% BLOCK holding_tab_title %][% IF ( SeparateHoldings ) %]<span>[% LoginBranchname | html %] holdings</span>[% ELSE %]<span>Holdings</span>[% END %][% END %] |
477 |
<a href="#holdings">[% PROCESS holding_tab_title %] [% UNLESS too_many_items %][% ' ( ' _ (itemloop.size || 0) _ ' )' | html %][% END %]</a> |
498 |
<a href="#holdings">[% PROCESS holding_tab_title %][% UNLESS too_many_items %][% ' ( ' _ (itemloop.size || 0) _ ' )' | html %][% END %]</a> |
478 |
</li> |
499 |
</li> |
479 |
[% IF (SeparateHoldings) %] |
500 |
[% IF ( SeparateHoldings ) %] |
480 |
<li><a href="#otherholdings">Other holdings [% ' ( ' _ (otheritemloop.size || 0) _ ' )' | html %]</a></li> |
501 |
<li><a href="#otherholdings">Other holdings [% ' ( ' _ (otheritemloop.size || 0) _ ' )' | html %]</a></li> |
481 |
[% END %] |
502 |
[% END %] |
|
|
503 |
|
482 |
[% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %] |
504 |
[% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %] |
483 |
[% SET title_notes_count = 0 %] |
505 |
[% SET title_notes_count = 0 %] |
484 |
[% IF MARCNOTES %] |
506 |
[% IF MARCNOTES %] |
Lines 486-503
Link Here
|
486 |
[% ELSIF notes %] |
508 |
[% ELSIF notes %] |
487 |
[% SET title_notes_count = 1 %] |
509 |
[% SET title_notes_count = 1 %] |
488 |
[% END %] |
510 |
[% END %] |
|
|
511 |
|
489 |
[% IF SYNDETICS_SUMMARY %][% SET title_notes_count = title_notes_count + 1 %][% END %] |
512 |
[% IF SYNDETICS_SUMMARY %][% SET title_notes_count = title_notes_count + 1 %][% END %] |
490 |
<li id="tab_descriptions"> <a href="#descriptions">Title notes ( [% title_notes_count | html %] )</a></li> |
513 |
<li id="tab_descriptions"><a href="#descriptions">Title notes ( [% title_notes_count | html %] )</a></li> |
491 |
[% END %] |
514 |
[% END %] |
|
|
515 |
|
492 |
[% IF ( SYNDETICS_TOC ) %] |
516 |
[% IF ( SYNDETICS_TOC ) %] |
493 |
<li id="tab_toc"> <a href="#toc">TOC</a></li> |
517 |
<li id="tab_toc"><a href="#toc">TOC</a></li> |
494 |
[% END %] |
518 |
[% END %] |
|
|
519 |
|
495 |
[% IF ( SyndeticsEnabled ) %] |
520 |
[% IF ( SyndeticsEnabled ) %] |
496 |
[% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %] |
521 |
[% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %] |
497 |
<li id="tab_excerpt"> <a href="#excerpt">Excerpt</a></li> |
522 |
<li id="tab_excerpt"><a href="#excerpt">Excerpt</a></li> |
498 |
[% END %] |
523 |
[% END %] |
|
|
524 |
|
499 |
[% IF ( ( SyndeticsReviews && SYNDETICS_REVIEWS ) || ( LibraryThingForLibrariesTabbedView && LibraryThingForLibrariesID) ) %] |
525 |
[% IF ( ( SyndeticsReviews && SYNDETICS_REVIEWS ) || ( LibraryThingForLibrariesTabbedView && LibraryThingForLibrariesID) ) %] |
500 |
<li id="tab_reviews"> <a href="#reviews">Reviews</a></li> |
526 |
<li id="tab_reviews"><a href="#reviews">Reviews</a></li> |
501 |
[% IF ( LibraryThingForLibrariesID ) %] |
527 |
[% IF ( LibraryThingForLibrariesID ) %] |
502 |
<li id="tab_LTFLreviews"> |
528 |
<li id="tab_LTFLreviews"> |
503 |
<script src="https://www.librarything.com/forlibraries/widget.js?id=[% LibraryThingForLibrariesID | html %]"></script> |
529 |
<script src="https://www.librarything.com/forlibraries/widget.js?id=[% LibraryThingForLibrariesID | html %]"></script> |
Lines 505-518
Link Here
|
505 |
</li> |
531 |
</li> |
506 |
[% END %] |
532 |
[% END %] |
507 |
[% END %] |
533 |
[% END %] |
|
|
534 |
|
508 |
[% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %] |
535 |
[% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %] |
509 |
<li id="tab_anotes"> <a href="#anotes">About the author</a></li> |
536 |
<li id="tab_anotes"><a href="#anotes">About the author</a></li> |
510 |
[% END %] |
537 |
[% END %] |
511 |
[% END # / IF SyndeticsEnabled %] |
538 |
[% END # / IF SyndeticsEnabled %] |
512 |
|
539 |
|
513 |
[% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %] |
540 |
[% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %] |
514 |
<li id="tab_LFTLSimilarItems"> <a href="#LFTLSimilarItems">Similar items</a></li> |
541 |
<li id="tab_LFTLSimilarItems"><a href="#LFTLSimilarItems">Similar items</a></li> |
515 |
<li id="tab_LTFLTagBrowse"> <a href="#LTFLTagBrowse">Tag browser</a></li> |
542 |
<li id="tab_LTFLTagBrowse"><a href="#LTFLTagBrowse">Tag browser</a></li> |
516 |
[% END %] |
543 |
[% END %] |
517 |
|
544 |
|
518 |
[% IF ( subscriptionsnumber ) %] |
545 |
[% IF ( subscriptionsnumber ) %] |
Lines 527-533
Link Here
|
527 |
|
554 |
|
528 |
[% IF ( NovelistSelectProfile && (normalized_isbn || normalized_upc) ) %] |
555 |
[% IF ( NovelistSelectProfile && (normalized_isbn || normalized_upc) ) %] |
529 |
[% IF ( NovelistSelectView == 'tab') %] |
556 |
[% IF ( NovelistSelectView == 'tab') %] |
530 |
<li id="tab_NovelistSelect" class="NovelistSelect" style="display:none;"> <a href="#NovelistSelect">Novelist Select</a></li> |
557 |
<li id="tab_NovelistSelect" class="NovelistSelect" style="display:none;"><a href="#NovelistSelect">Novelist Select</a></li> |
531 |
[% END %] |
558 |
[% END %] |
532 |
[% END %] |
559 |
[% END %] |
533 |
|
560 |
|
Lines 574-580
Link Here
|
574 |
</div> |
601 |
</div> |
575 |
[% END # / IF serialcollection %] |
602 |
[% END # / IF serialcollection %] |
576 |
|
603 |
|
577 |
|
|
|
578 |
<div id="holdings"> |
604 |
<div id="holdings"> |
579 |
[% IF too_many_items %] |
605 |
[% IF too_many_items %] |
580 |
<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> |
606 |
<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> |
Lines 587-597
Link Here
|
587 |
<span>[% acquisition_details.total_quantity | html %] items are on order.</span> |
613 |
<span>[% acquisition_details.total_quantity | html %] items are on order.</span> |
588 |
[% END %] |
614 |
[% END %] |
589 |
[% END %] |
615 |
[% END %] |
|
|
616 |
|
590 |
[% IF holds_count.defined || priority %] |
617 |
[% IF holds_count.defined || priority %] |
591 |
<div id="bib_holds"> |
618 |
<div id="bib_holds"> |
592 |
[% IF holds_count.defined %] |
619 |
[% IF holds_count.defined %] |
593 |
<span>Total holds: [% holds_count | html %]</span> |
620 |
<span>Total holds: [% holds_count | html %]</span> |
594 |
[% END %] |
621 |
[% END %] |
|
|
622 |
|
595 |
[% IF priority %] |
623 |
[% IF priority %] |
596 |
[% IF holds_count.defined %] |
624 |
[% IF holds_count.defined %] |
597 |
<span>(priority [% priority | html %])</span> |
625 |
<span>(priority [% priority | html %])</span> |
Lines 604-610
Link Here
|
604 |
[% ELSE %] |
632 |
[% ELSE %] |
605 |
[% IF ( ALTERNATEHOLDINGS ) %] |
633 |
[% IF ( ALTERNATEHOLDINGS ) %] |
606 |
[% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %] |
634 |
[% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %] |
607 |
<div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding | html %]</div> |
635 |
<div id="alternateholdings"><span class="holdings_label">Holdings:</span>[% ALTERNATEHOLDING.holding | html %]</div> |
608 |
[% END %] |
636 |
[% END %] |
609 |
[% ELSE %] |
637 |
[% ELSE %] |
610 |
[% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %] |
638 |
[% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %] |
Lines 621-631
Link Here
|
621 |
[% PROCESS 'shelfbrowser.inc' %] |
649 |
[% PROCESS 'shelfbrowser.inc' %] |
622 |
[% INCLUDE shelfbrowser tab='holdings' %] |
650 |
[% INCLUDE shelfbrowser tab='holdings' %] |
623 |
<br style="clear:both;" /> |
651 |
<br style="clear:both;" /> |
624 |
</div> <!-- / #holdings --> |
652 |
</div><!-- / #holdings --> |
625 |
|
653 |
|
626 |
[% IF (SeparateHoldings) %] |
654 |
[% IF ( SeparateHoldings ) %] |
627 |
<div id="otherholdings"> |
655 |
<div id="otherholdings"> |
628 |
[% IF (otheritemloop.size) %] |
656 |
[% IF ( otheritemloop.size ) %] |
629 |
[% INCLUDE items_table items=otheritemloop tab="otherholdings" table_id="otherholdingst" %] |
657 |
[% INCLUDE items_table items=otheritemloop tab="otherholdings" table_id="otherholdingst" %] |
630 |
[% ELSE %] |
658 |
[% ELSE %] |
631 |
<span>No other items.</span> |
659 |
<span>No other items.</span> |
Lines 637-668
Link Here
|
637 |
[% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %] |
665 |
[% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %] |
638 |
<div id="descriptions"> |
666 |
<div id="descriptions"> |
639 |
<div class="content_set"> |
667 |
<div class="content_set"> |
|
|
668 |
[% IF ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY ) %] |
669 |
<h4>Enhanced descriptions from Syndetics:</h4> |
670 |
<p>[% SYNDETICS_SUMMARY | html %]</p> |
671 |
[% END %] |
640 |
|
672 |
|
641 |
[% IF ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY ) %] |
673 |
[% IF ( MARCNOTES ) %] |
642 |
<h4>Enhanced descriptions from Syndetics:</h4> |
674 |
<div id="marcnotes"> |
643 |
<p>[% SYNDETICS_SUMMARY | html %]</p> |
675 |
[% FOREACH MARCNOTE IN MARCNOTES %] |
644 |
[% END %] |
676 |
<p> |
645 |
|
677 |
[% IF MARCNOTE.marcnote.match('^https?://\S+$') %] |
646 |
[% IF ( MARCNOTES ) %] |
678 |
<a href="[% MARCNOTE.marcnote | url %]">[% MARCNOTE.marcnote | html %]</a> |
647 |
<div id="marcnotes"> |
679 |
[% ELSE %] |
648 |
[% FOREACH MARCNOTE IN MARCNOTES %] |
680 |
[% MARCNOTE.marcnote | html | html_line_break %] |
649 |
<p> |
681 |
[% END %] |
650 |
[% IF MARCNOTE.marcnote.match('^https?://\S+$') %] |
682 |
</p> |
651 |
<a href="[% MARCNOTE.marcnote | url %]">[% MARCNOTE.marcnote | html %]</a> |
683 |
[% END %] |
652 |
[% ELSE %] |
684 |
</div> |
653 |
[% MARCNOTE.marcnote | html | html_line_break %] |
685 |
[% ELSE %] |
|
|
686 |
[% IF ( notes ) %] |
687 |
<p>[% notes | html %]</p> |
654 |
[% END %] |
688 |
[% END %] |
655 |
</p> |
|
|
656 |
[% END %] |
689 |
[% END %] |
657 |
</div> |
|
|
658 |
[% ELSE %] |
659 |
[% IF ( notes ) %] |
660 |
<p>[% notes | html %]</p> |
661 |
[% END %] |
662 |
[% END %] |
663 |
|
664 |
</div> |
690 |
</div> |
665 |
</div> <!-- / #descriptions --> |
691 |
</div><!-- / #descriptions --> |
666 |
[% END # / IF MARCNOTES || notes %] |
692 |
[% END # / IF MARCNOTES || notes %] |
667 |
|
693 |
|
668 |
[% IF ( SyndeticsEnabled ) %] |
694 |
[% IF ( SyndeticsEnabled ) %] |
Lines 670-680
Link Here
|
670 |
<div id="toc"> |
696 |
<div id="toc"> |
671 |
<div class="content_set"> |
697 |
<div class="content_set"> |
672 |
<h3>Table of contents provided by Syndetics</h3> |
698 |
<h3>Table of contents provided by Syndetics</h3> |
673 |
<ul> |
699 |
<ul> |
674 |
[% FOREACH SYNDETICS_TO IN SYNDETICS_TOC %] |
700 |
[% FOREACH SYNDETICS_TO IN SYNDETICS_TOC %] |
675 |
<li><b>[% SYNDETICS_TO.l | html %] [% SYNDETICS_TO.t | html %]</b>[% IF ( SYNDETICS_TO.p ) %] ([% SYNDETICS_TO.p | html %])[% END %]</li> |
701 |
<li><b>[% SYNDETICS_TO.l | html %][% SYNDETICS_TO.t | html %]</b>[% IF ( SYNDETICS_TO.p ) %] ([% SYNDETICS_TO.p | html %])[% END %]</li> |
676 |
[% END %] |
702 |
[% END %] |
677 |
</ul> |
703 |
</ul> |
678 |
</div> |
704 |
</div> |
679 |
</div> |
705 |
</div> |
680 |
[% END # / IF SyndeticsTOC && SYNDETICS_TOC %] |
706 |
[% END # / IF SyndeticsTOC && SYNDETICS_TOC %] |
Lines 695-707
Link Here
|
695 |
[% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %] |
721 |
[% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %] |
696 |
[% IF ( SYNDETICS_REVIEW.title ) %] |
722 |
[% IF ( SYNDETICS_REVIEW.title ) %] |
697 |
<h4>[% SYNDETICS_REVIEW.title | html %]</h4> |
723 |
<h4>[% SYNDETICS_REVIEW.title | html %]</h4> |
698 |
[% FOREACH review IN SYNDETICS_REVIEW.reviews %] |
724 |
[% FOREACH review IN SYNDETICS_REVIEW.reviews %] |
699 |
|
725 |
[% IF ( review.content ) %] |
700 |
[% IF ( review.content ) %] |
726 |
[% review.content | html %] |
701 |
[% review.content | html %] |
|
|
702 |
[% END %] |
703 |
|
704 |
[% END %] |
727 |
[% END %] |
|
|
728 |
[% END %] |
705 |
[% END %] |
729 |
[% END %] |
706 |
[% END %] |
730 |
[% END %] |
707 |
</div> |
731 |
</div> |
Lines 740-777
Link Here
|
740 |
<h3>At library: [% subscription.branchcode | html %]</h3> |
764 |
<h3>At library: [% subscription.branchcode | html %]</h3> |
741 |
[% END %] |
765 |
[% END %] |
742 |
[% END %] |
766 |
[% END %] |
|
|
767 |
|
743 |
[% IF ( subscription.closed ) %] |
768 |
[% IF ( subscription.closed ) %] |
744 |
<p class="subscription_closed">This subscription is closed.</p> |
769 |
<p class="subscription_closed">This subscription is closed.</p> |
745 |
[% END %] |
770 |
[% END %] |
|
|
771 |
|
746 |
[% IF ( subscription.location ) %] |
772 |
[% IF ( subscription.location ) %] |
747 |
<p class="subscription_location">Location: [% AuthorisedValues.GetByCode( 'LOC', subscription.location, 1 ) | html %] |
773 |
<p class="subscription_location">Location: [% AuthorisedValues.GetByCode( 'LOC', subscription.location, 1 ) | html %] |
748 |
[% END %] |
774 |
[% END %] |
|
|
775 |
|
749 |
[% IF ( subscription.callnumber ) %] |
776 |
[% IF ( subscription.callnumber ) %] |
750 |
<p class="subscription_callnumber">Call number: [% subscription.callnumber | html %]</p> |
777 |
<p class="subscription_callnumber">Call number: [% subscription.callnumber | html %]</p> |
751 |
[% END %] |
778 |
[% END %] |
|
|
779 |
|
752 |
[% IF ( subscription.subscriptionnotes ) %] |
780 |
[% IF ( subscription.subscriptionnotes ) %] |
753 |
<p class="subscription_notes">[% subscription.subscriptionnotes | html | html_line_break %] </p> |
781 |
<p class="subscription_notes">[% subscription.subscriptionnotes | html | html_line_break %]</p> |
754 |
[% END %] |
782 |
[% END %] |
755 |
<p class="subscription_dates">Subscription from: [% subscription.histstartdate | $KohaDates %] to:[% IF ( subscription.histenddate ) %] [% subscription.histenddate | $KohaDates %] [% ELSE %] now (current)[% END %]</p> |
783 |
<p class="subscription_dates"> |
756 |
[% IF ( subscription.letter ) %]<span class="email_notifications"> |
784 |
Subscription from: [% subscription.histstartdate | $KohaDates %] to:[% IF ( subscription.histenddate ) %][% subscription.histenddate | $KohaDates %][% ELSE %] now (current)[% END %] |
757 |
[% IF ( loggedinusername ) %] |
785 |
</p> |
758 |
[% IF ( subscription.hasalert ) %] |
786 |
[% IF ( subscription.letter ) %] |
759 |
<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> |
787 |
<span class="email_notifications"> |
|
|
788 |
[% IF ( loggedinusername ) %] |
789 |
[% IF ( subscription.hasalert ) %] |
790 |
<span>You have subscribed to email notification on new issues. </span> |
791 |
<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> |
792 |
[% ELSE %] |
793 |
<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> |
794 |
[% END %] |
760 |
[% ELSE %] |
795 |
[% ELSE %] |
761 |
<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> |
796 |
<span>You must log in if you want to subscribe to email notification on new issues</span> |
762 |
[% END %] |
797 |
[% END %] |
763 |
[% ELSE %] |
798 |
</span> |
764 |
<span>You must log in if you want to subscribe to email notification on new issues</span> |
799 |
[% END %] |
765 |
[% END %] |
800 |
|
766 |
</span>[% END %] |
|
|
767 |
[% IF ( subscription.missinglist ) %] |
801 |
[% IF ( subscription.missinglist ) %] |
768 |
<p class="subscription_missing">Missing issues: [% subscription.missinglist | html | html_line_break %] </p> |
802 |
<p class="subscription_missing">Missing issues: [% subscription.missinglist | html | html_line_break %]</p> |
769 |
[% END %] |
803 |
[% END %] |
|
|
804 |
|
770 |
[% IF ( subscription.opacnote ) %] |
805 |
[% IF ( subscription.opacnote ) %] |
771 |
<p class="subscription_opacnote">[% subscription.opacnote | html | html_line_break %]</p> |
806 |
<p class="subscription_opacnote">[% subscription.opacnote | html | html_line_break %]</p> |
772 |
[% END %] |
807 |
[% END %] |
|
|
808 |
|
773 |
[% IF ( subscription.latestserials ) %] |
809 |
[% IF ( subscription.latestserials ) %] |
774 |
<p class="subscription_latestissues"> The [% subscription.opacdisplaycount | html %] latest issues for this subscription:</p> |
810 |
<p class="subscription_latestissues">The [% subscription.opacdisplaycount | html %] latest issues for this subscription:</p> |
775 |
<table class="table table-bordered table-striped" id="subscriptionst"> |
811 |
<table class="table table-bordered table-striped" id="subscriptionst"> |
776 |
<thead> |
812 |
<thead> |
777 |
<tr> |
813 |
<tr> |
Lines 783-816
Link Here
|
783 |
</tr> |
819 |
</tr> |
784 |
</thead> |
820 |
</thead> |
785 |
<tbody> |
821 |
<tbody> |
786 |
[% FOREACH latestserial IN subscription.latestserials %] |
822 |
[% FOREACH latestserial IN subscription.latestserials %] |
787 |
<tr> |
823 |
<tr> |
788 |
<td class="serialseq">[% latestserial.serialseq | html %]</td> |
824 |
<td class="serialseq">[% latestserial.serialseq | html %]</td> |
789 |
<td class="publisheddate"><span title="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</span></td> |
825 |
<td class="publisheddate"><span title="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</span></td> |
790 |
<td class="planneddate"><span title="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</span></td> |
826 |
<td class="planneddate"><span title="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</span></td> |
791 |
<td class="serial_status"> |
827 |
<td class="serial_status"> |
792 |
[% IF (latestserial.status1 ) %]<span>Expected</span>[% END %] |
828 |
[% IF (latestserial.status1 ) %]<span>Expected</span>[% END %] |
793 |
[% IF (latestserial.status2 ) %]<span>Arrived</span>[% END %] |
829 |
[% IF (latestserial.status2 ) %]<span>Arrived</span>[% END %] |
794 |
[% IF (latestserial.status3 ) %]<span>Late</span>[% END %] |
830 |
[% IF (latestserial.status3 ) %]<span>Late</span>[% END %] |
795 |
[% IF (latestserial.status4 ) %]<span>Missing</span>[% END %] |
831 |
[% IF (latestserial.status4 ) %]<span>Missing</span>[% END %] |
796 |
[% IF (latestserial.status41 ) %]<span>Missing (never received)</span>[% END %] |
832 |
[% IF ( latestserial.status41 ) %]<span>Missing (never received )</span>[% END %] |
797 |
[% IF (latestserial.status42 ) %]<span>Missing (sold out)</span>[% END %] |
833 |
[% IF ( latestserial.status42 ) %]<span>Missing (sold out )</span>[% END %] |
798 |
[% IF (latestserial.status43 ) %]<span>Missing (damaged)</span>[% END %] |
834 |
[% IF ( latestserial.status43 ) %]<span>Missing (damaged )</span>[% END %] |
799 |
[% IF (latestserial.status44 ) %]<span>Missing (lost)</span>[% END %] |
835 |
[% IF ( latestserial.status44 ) %]<span>Missing (lost )</span>[% END %] |
800 |
[% IF (latestserial.status5 ) %]<span>Not issued</span>[% END %] |
836 |
[% IF (latestserial.status5 ) %]<span>Not issued</span>[% END %] |
801 |
[% IF (latestserial.status6 ) %]<span>Delete</span>[% END %] |
837 |
[% IF (latestserial.status6 ) %]<span>Delete</span>[% END %] |
802 |
[% IF (latestserial.status7 ) %]<span>Claimed</span>[% END %] |
838 |
[% IF (latestserial.status7 ) %]<span>Claimed</span>[% END %] |
803 |
[% IF (latestserial.status8 ) %]<span>Stopped</span>[% END %] |
839 |
[% IF (latestserial.status8 ) %]<span>Stopped</span>[% END %] |
804 |
</td> |
840 |
</td> |
805 |
<td class="serial_notes">[% latestserial.notes | html %]</td> |
841 |
<td class="serial_notes">[% latestserial.notes | html %]</td> |
806 |
</tr> |
842 |
</tr> |
807 |
[% END # / FOREACH latestserials %] |
843 |
[% END # / FOREACH latestserials %] |
808 |
</tbody> |
844 |
</tbody> |
809 |
</table> |
845 |
</table> |
810 |
[% END # / IF subscription.latestserials %] |
846 |
[% END # / IF subscription.latestserials %] |
811 |
[% END # / FOREACH subscriptions %] |
847 |
[% END # / FOREACH subscriptions %] |
812 |
<p class="subscription_moredetails"><a href="opac-serial-issues.pl?biblionumber=[% biblio.biblionumber | uri %]">More details</a></p> |
848 |
<p class="subscription_moredetails"><a href="opac-serial-issues.pl?biblionumber=[% biblio.biblionumber | uri %]">More details</a></p> |
813 |
</div> <!-- / #subscriptions --> |
849 |
</div><!-- / #subscriptions --> |
814 |
[% END # IF subscriptionsnumber %] |
850 |
[% END # IF subscriptionsnumber %] |
815 |
|
851 |
|
816 |
[% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %] |
852 |
[% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %] |
Lines 819-976
Link Here
|
819 |
<div class="content_set"> |
855 |
<div class="content_set"> |
820 |
<!-- Uncommenting this span makes the font smaller in the tab for LTFL --> |
856 |
<!-- Uncommenting this span makes the font smaller in the tab for LTFL --> |
821 |
<!-- but breaks Xhtml validation --> |
857 |
<!-- but breaks Xhtml validation --> |
822 |
<!-- <span class="results_summary">--> |
858 |
<!-- <span class="results_summary"> --> |
823 |
<div id="ltfl_related"></div> |
859 |
<div id="ltfl_related"></div> |
824 |
<div id="ltfl_similars"></div> |
860 |
<div id="ltfl_similars"></div> |
825 |
<!-- </span>--> |
861 |
<!-- </span>--> |
826 |
</div> |
862 |
</div> |
827 |
</div> |
863 |
</div> |
828 |
<div id="LTFLTagBrowse"> |
864 |
<div id="LTFLTagBrowse"> |
829 |
<div class="content_set"> |
865 |
<div class="content_set"> |
830 |
<!-- <span class="results_summary"> --> |
866 |
<!-- <span class="results_summary"> --> |
831 |
<div id="ltfl_tagbrowse" class="ltfl"></div> |
867 |
<div id="ltfl_tagbrowse" class="ltfl"></div> |
832 |
<!-- </span> --> |
868 |
<!-- </span> --> |
833 |
</div> |
869 |
</div> |
834 |
</div> |
870 |
</div> |
835 |
[% END # / IF LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView %] |
871 |
[% END # / IF LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView %] |
836 |
|
872 |
|
837 |
[% IF Koha.Preference( 'reviewson' ) == 1 %] |
873 |
[% IF Koha.Preference( 'reviewson' ) == 1 %] |
838 |
<div id="comments"> |
874 |
<div id="comments"> |
839 |
<div id="newcomment"></div> |
875 |
<div id="newcomment"></div> |
840 |
[% IF ( reviews ) %] |
876 |
[% IF ( reviews ) %] |
841 |
[% FOREACH review IN reviews %] |
877 |
[% FOREACH review IN reviews %] |
842 |
[% IF borrowernumber && review.borrowernumber == borrowernumber %] |
878 |
[% IF borrowernumber && review.borrowernumber == borrowernumber %] |
843 |
<div class="commentline yours" id="c[% review.reviewid | html %]"> |
879 |
<div class="commentline yours" id="c[% review.reviewid | html %]"> |
|
|
880 |
[% IF ( review.avatarurl ) %] |
881 |
<img class="avatar" src="[% review.avatarurl | html %]" height="80" width="80" alt="" /> |
882 |
[% END %] |
883 |
|
884 |
[% IF review.approved %] |
885 |
<h5>Your comment</h5> |
886 |
[% ELSE %] |
887 |
<h5>Your comment (preview, pending approval)</h5> |
888 |
[% END %] |
889 |
<small>[% review.datereviewed | $KohaDates %]</small> |
890 |
<p> |
891 |
[% FILTER html_break %] |
892 |
[% review.review | html %] |
893 |
[% END %] |
894 |
<a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber | uri %]&reviewid=[% review.reviewid | uri %]');">Edit</a> |
895 |
</p> |
896 |
</div> |
897 |
[% ELSE %] |
898 |
<div class="commentline"> |
899 |
[% IF ( ShowReviewer != "none" && review.patron) %] |
844 |
[% IF ( review.avatarurl ) %] |
900 |
[% IF ( review.avatarurl ) %] |
845 |
<img class="avatar" src="[% review.avatarurl | html %]" height="80" width="80" alt="" /> |
901 |
<img class="avatar" src="[% review.avatarurl | html %]" height="80" width="80" alt="" /> |
846 |
[% END %] |
902 |
[% END %] |
847 |
[% IF review.approved %] |
903 |
|
848 |
<h5>Your comment</h5> |
904 |
[% SWITCH ShowReviewer %] |
849 |
[% ELSE %] |
905 |
[% CASE 'full' %] |
850 |
<h5>Your comment (preview, pending approval)</h5> |
906 |
<h5>Comment by [% review.patron.title | html %][% review.patron.firstname | html %][% review.patron.surname | html %]</h5> |
|
|
907 |
[% CASE 'first' %] |
908 |
<h5>Comment by [% review.patron.firstname | html %]</h5> |
909 |
[% CASE 'surname' %] |
910 |
<h5>Comment by [% review.patron.surname | html %]</h5> |
911 |
[% CASE 'firstandinitial' %] |
912 |
<h5>Comment by [% review.patron.firstname | html %][% review.patron.surname|truncate(2, '.') | html %]</h5> |
913 |
[% CASE 'username' %] |
914 |
<h5>Comment by [% review.patron.userid | html %]</h5> |
851 |
[% END %] |
915 |
[% END %] |
|
|
916 |
|
852 |
<small>[% review.datereviewed | $KohaDates %]</small> |
917 |
<small>[% review.datereviewed | $KohaDates %]</small> |
853 |
<p> |
918 |
[% ELSE %] |
854 |
[% FILTER html_break %] |
919 |
<h5>Patron comment on [% review.datereviewed | $KohaDates %]</h5> |
855 |
[% review.review | html %] |
920 |
[% END # / IF ShowReviewer != "none" && review.patron %] |
856 |
[% END %] |
921 |
<p> |
857 |
<a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber | uri %]&reviewid=[% review.reviewid | uri %]');">Edit</a> |
922 |
[% FILTER html_break %] |
858 |
</p> |
923 |
[% review.review | html %] |
859 |
</div> |
924 |
[% END %] |
860 |
[% ELSE %] |
925 |
</p> |
861 |
<div class="commentline"> |
926 |
</div><!-- / .commentline --> |
862 |
[% IF ( ShowReviewer != "none" && review.patron) %] |
927 |
[% END %] |
863 |
|
928 |
[% END # / FOREACH reviews %] |
864 |
[% IF ( review.avatarurl ) %] |
929 |
[% ELSE %] |
865 |
<img class="avatar" src="[% review.avatarurl | html %]" height="80" width="80" alt="" /> |
930 |
<p>There are no comments for this item.</p> |
866 |
[% END %] |
931 |
[% END # / IF reviews %] |
867 |
[% SWITCH ShowReviewer %] |
932 |
|
868 |
[% CASE 'full' %] |
933 |
[% IF ( loggedinusername ) %] |
869 |
<h5>Comment by [% review.patron.title | html %] [% review.patron.firstname | html %] [% review.patron.surname | html %]</h5> |
934 |
[% UNLESS ( loggedincommenter ) %] |
870 |
[% CASE 'first' %] |
935 |
<div id="addcomment"> |
871 |
<h5>Comment by [% review.patron.firstname | html %]</h5> |
936 |
<a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% biblio.biblionumber | uri %]'); return false;">Post your comments on this item.</a> |
872 |
[% CASE 'surname' %] |
937 |
</div> |
873 |
<h5>Comment by [% review.patron.surname | html %]</h5> |
938 |
[% END %] |
874 |
[% CASE 'firstandinitial' %] |
939 |
[% ELSE %] |
875 |
<h5>Comment by [% review.patron.firstname | html %] [% review.patron.surname|truncate(2,'.') | html %]</h5> |
940 |
<div id="addcomment"> |
876 |
[% CASE 'username' %] |
941 |
<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. |
877 |
<h5>Comment by [% review.patron.userid | html %]</h5> |
942 |
</div> |
878 |
[% END %] |
943 |
[% END # / IF loggedinusername %] |
879 |
|
944 |
</div><!-- / #comments --> |
880 |
<small>[% review.datereviewed | $KohaDates %]</small> |
945 |
[% END # / IF reviewson %] |
881 |
[% ELSE %] |
946 |
|
882 |
<h5>Patron comment on [% review.datereviewed | $KohaDates %]</h5> |
947 |
[% IF ( OPACFRBRizeEditions && XISBNS ) %] |
883 |
[% END # / IF ShowReviewer != "none" && review.patron %] |
948 |
<div id="editions"> |
884 |
<p> |
949 |
<h4>Other editions of this work</h4> |
885 |
[% FILTER html_break %] |
950 |
<table class="table table-bordered table-striped"> |
886 |
[% review.review | html %] |
951 |
[% FOREACH XISBN IN XISBNS %] |
887 |
[% END %] |
952 |
<tr> |
888 |
</p> |
953 |
<td> |
889 |
</div> <!-- / .commentline --> |
954 |
[% IF ( OPACAmazonCoverImages ) %] |
|
|
955 |
<img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn | html %].01._AA75_PU_PU-5_.jpg" alt="" /> |
890 |
[% END %] |
956 |
[% END %] |
891 |
[% END # / FOREACH reviews %] |
|
|
892 |
[% ELSE %] |
893 |
<p>There are no comments for this item.</p> |
894 |
[% END # / IF reviews %] |
895 |
|
957 |
|
896 |
[% IF ( loggedinusername ) %] |
958 |
[% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %] |
897 |
[% UNLESS ( loggedincommenter ) %] |
959 |
[% IF ( XISBN.content_identifier_exists ) %] |
898 |
<div id="addcomment"> <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% biblio.biblionumber | uri %]'); return false;"> |
960 |
<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="" /> |
899 |
Post your comments on this item. |
961 |
[% ELSE %] |
900 |
</a></div> |
962 |
<span class="no-image">No cover image available</span> |
901 |
[% END %] |
963 |
[% END # / IF XISBN.content_identifier_exists %] |
902 |
[% ELSE %] |
964 |
[% END # / IF SyndeticsEnabled && SyndeticsCoverImages %] |
903 |
<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> |
965 |
</td> |
904 |
[% END # / IF loggedinusername %] |
|
|
905 |
</div> <!-- / #comments --> |
906 |
[% END # / IF reviewson %] |
907 |
|
966 |
|
908 |
[% IF ( OPACFRBRizeEditions && XISBNS ) %] |
967 |
[% UNLESS ( item_level_itypes ) %] |
909 |
<div id="editions"> |
968 |
<td>[% XISBN.description | html %]</td> |
910 |
<h4>Other editions of this work</h4> |
969 |
[% END %] |
911 |
<table class="table table-bordered table-striped"> |
970 |
<td> |
912 |
[% FOREACH XISBN IN XISBNS %] |
971 |
<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% XISBN.biblionumber | uri %]">[% XISBN.title | html %]</a> |
913 |
<tr> |
972 |
[% IF ( XISBN.author ) %]<span> by </span>[% XISBN.author | html %][% END %] |
914 |
<td> |
973 |
[% IF ( XISBN.copyrightdate ) %]<span> ©</span>[% XISBN.copyrightdate | html %][% END %] |
915 |
[% IF ( OPACAmazonCoverImages ) %] |
|
|
916 |
<img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn | html %].01._AA75_PU_PU-5_.jpg" alt="" /> |
917 |
[% END %] |
918 |
|
974 |
|
919 |
[% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %] |
975 |
[% IF ( XISBN.publishercode ) %] |
920 |
[% IF ( XISBN.content_identifier_exists ) %] |
976 |
<p>[% XISBN.publishercode | html %] |
921 |
<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="" /> |
977 |
[% IF ( XISBN.place ) %]([% XISBN.place | html %])[% END %] |
922 |
[% ELSE %] |
|
|
923 |
<span class="no-image">No cover image available</span> |
924 |
[% END # / IF XISBN.content_identifier_exists %] |
925 |
[% END # / IF SyndeticsEnabled && SyndeticsCoverImages %] |
926 |
</td> |
927 |
|
978 |
|
928 |
[% UNLESS ( item_level_itypes ) %] |
979 |
[% IF ( XISBN.publicationyear ) %][% ', ' _ XISBN.publicationyear | html %][% END %] |
929 |
<td>[% XISBN.description | html %]</td> |
980 |
|
|
|
981 |
[% IF ( XISBN.pages ) %][% XISBN.pages | html %][% XISBN.illus | html %][% XISBN.size | html %][% END %] |
982 |
</p> |
930 |
[% END %] |
983 |
[% END %] |
931 |
<td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% XISBN.biblionumber | uri %]">[% XISBN.title | html %]</a> |
984 |
</td> |
932 |
[% IF ( XISBN.author ) %]<span> by </span>[% XISBN.author | html %][% END %] |
985 |
</tr> |
933 |
[% IF ( XISBN.copyrightdate ) %]<span> ©</span>[% XISBN.copyrightdate | html %][% END %] |
986 |
[% END # / FOREACH XISBNS %] |
934 |
[% IF ( XISBN.publishercode ) %] |
987 |
</table> |
935 |
<p>[% XISBN.publishercode | html %] |
988 |
</div><!-- / #editions --> |
936 |
[% IF ( XISBN.place ) %]([% XISBN.place | html %])[% END %] |
989 |
[% END # / IF OPACFRBRizeEditions && XISBNS %] |
937 |
[% IF ( XISBN.publicationyear ) %][% ', ' _ XISBN.publicationyear | html %][% END %] |
990 |
|
938 |
[% IF ( XISBN.pages ) %][% XISBN.pages | html %] [% XISBN.illus | html %] [% XISBN.size | html %][% END %] |
991 |
[% IF ( HTML5MediaEnabled ) %] |
939 |
</p> |
992 |
<div id="html5media"> |
940 |
[% END %] |
993 |
[% FOREACH HTML5MediaSet IN HTML5MediaSets %] |
941 |
</td> |
|
|
942 |
</tr> |
943 |
[% END # / FOREACH XISBNS %] |
944 |
</table> |
945 |
</div> <!-- / #editions --> |
946 |
[% END # / IF OPACFRBRizeEditions && XISBNS %] |
947 |
|
948 |
[% IF ( HTML5MediaEnabled ) %] |
949 |
<div id="html5media"> |
950 |
[% FOREACH HTML5MediaSet IN HTML5MediaSets %] |
951 |
<p> |
994 |
<p> |
952 |
[% SET ctrl_preload = ' controls preload=none' #translatability %] |
995 |
[% SET ctrl_preload = ' controls preload=none' #translatability %] |
953 |
<[% HTML5MediaParent _ ctrl_preload | html %] > |
996 |
<[% HTML5MediaParent _ ctrl_preload | html %] > |
954 |
<[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | html %]" [% HTML5MediaSet.typeblock | html %] /> |
997 |
<[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | html %]" [% HTML5MediaSet.typeblock | html %] /> |
955 |
<span>[[% HTML5MediaParent | html %] tag not supported by your browser.]</span> |
998 |
<span>[[% HTML5MediaParent | html %] tag not supported by your browser.]</span> |
956 |
</[% HTML5MediaParent | html %]> |
999 |
</[% HTML5MediaParent | html %]> |
957 |
</p> |
1000 |
</p> |
958 |
[% END %] |
1001 |
[% END %] |
959 |
</div> |
1002 |
</div> |
960 |
[% END # / IF HTML5MediaEnabled %] |
1003 |
[% END # / IF HTML5MediaEnabled %] |
961 |
|
1004 |
|
962 |
[% IF ( OPACLocalCoverImages && localimages.size ) %] |
1005 |
[% IF ( OPACLocalCoverImages && localimages.size ) %] |
963 |
<div id="images"> |
1006 |
<div id="images"> |
964 |
<p>Click on an image to view it in the image viewer</p> |
1007 |
<p>Click on an image to view it in the image viewer</p> |
965 |
[% FOREACH image IN localimages %] |
1008 |
[% FOREACH image IN localimages %] |
966 |
[% IF image %] |
1009 |
[% IF image %] |
967 |
<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> |
1010 |
<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> |
968 |
[% END %] |
|
|
969 |
[% END %] |
1011 |
[% END %] |
970 |
</div><!-- / #images --> |
1012 |
[% END %] |
971 |
[% END # / IF OPACLocalCoverImages && localimages.size %] |
1013 |
</div><!-- / #images --> |
972 |
|
1014 |
[% END # / IF OPACLocalCoverImages && localimages.size %] |
973 |
</div> <!-- / #bibliodescriptions --> |
1015 |
</div><!-- / #bibliodescriptions --> |
974 |
|
1016 |
|
975 |
[% IF ( NovelistSelectProfile && NovelistSelectView == 'below' && ( normalized_isbn || normalized_upc ) ) %] |
1017 |
[% IF ( NovelistSelectProfile && NovelistSelectView == 'below' && ( normalized_isbn || normalized_upc ) ) %] |
976 |
<div id="NovelistSelect"> |
1018 |
<div id="NovelistSelect"> |
Lines 994-1122
Link Here
|
994 |
</div> |
1036 |
</div> |
995 |
[% END # / IF Babeltheque %] |
1037 |
[% END # / IF Babeltheque %] |
996 |
|
1038 |
|
997 |
[%# Following on one line due to translation issues %] |
1039 |
[% # Following on one line due to translation issues %] |
998 |
[% INCLUDE "openlibrary-readapi.inc" bib = { normalized_isbn => normalized_isbn,lccn => lccn, normalized_oclc => normalized_oclc } %] |
1040 |
[% INCLUDE "openlibrary-readapi.inc" bib = { normalized_isbn => normalized_isbn, lccn => lccn, normalized_oclc => normalized_oclc } %] |
999 |
|
|
|
1000 |
</div> <!-- /.span9 --> |
1001 |
|
1041 |
|
1002 |
<div class="span3"> |
1042 |
</div><!-- /.span9 --> |
1003 |
<div id="ulactioncontainer"> |
|
|
1004 |
|
1043 |
|
1005 |
[% IF ( Koha.Preference('OpacBrowseResults') && busc ) %] |
1044 |
<div class="span3"> |
1006 |
<div class="nav_results"> |
1045 |
<div id="ulactioncontainer"> |
1007 |
<div class="l_Results" style="display:none;"> |
1046 |
[% IF ( Koha.Preference('OpacBrowseResults') && busc ) %] |
1008 |
[% IF ( listResults ) %] |
1047 |
<div class="nav_results"> |
1009 |
<a href="#" id="a_listResults"><i class="fa fa-bars"></i> Browse results</a> |
1048 |
<div class="l_Results" style="display:none;"> |
1010 |
[% ELSE %] |
1049 |
[% IF ( listResults ) %] |
1011 |
<span><i class="fa fa-bars"></i> Browse results</span> |
1050 |
<a href="#" id="a_listResults"><i class="fa fa-bars"></i> Browse results</a> |
1012 |
[% END %] |
|
|
1013 |
<a href="#" class="close_pagination"><i class="fa fa-remove"></i> Close</a> |
1014 |
</div> |
1015 |
<ul class="pg_menu clearfix"> |
1016 |
<li class="left_results"> |
1017 |
[% IF ( previousBiblionumber ) %] |
1018 |
<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> |
1019 |
[% ELSE %] |
1051 |
[% ELSE %] |
1020 |
<span>Previous</span> |
1052 |
<span><i class="fa fa-bars"></i> Browse results</span> |
1021 |
[% END %] |
1053 |
[% END %] |
1022 |
</li> |
1054 |
<a href="#" class="close_pagination"><i class="fa fa-remove"></i> Close</a> |
1023 |
[%# busc is already URI encoded %] |
|
|
1024 |
<li class="back_results"><a href="opac-search.pl?[% busc | $raw %]" title="Back to the results search list">Back to results</a></li> |
1025 |
<li class="right_results"> |
1026 |
[% IF ( nextBiblionumber ) %] |
1027 |
<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> |
1028 |
[% ELSE %] |
1029 |
<span>Next</span> |
1030 |
[% END %] |
1031 |
</li> |
1032 |
</ul> |
1033 |
[% IF ( listResults ) %] |
1034 |
<div class="results-pagination"> |
1035 |
<div class="nav_pages"> |
1036 |
<ul id="listResults"> |
1037 |
[% FOREACH listitem IN listResults %] |
1038 |
[% IF ( listitem.biblionumber == biblionumber ) %] |
1039 |
<li class="li_pag_[% loop.count | html %] highlight"> |
1040 |
[% ELSE %] |
1041 |
<li class="li_pag_[% loop.count | html %]"> |
1042 |
[% END %] |
1043 |
<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> |
1044 |
[% END %] |
1045 |
</ul> |
1046 |
</div> |
1055 |
</div> |
1047 |
<div class="pagination_list"> |
1056 |
<ul class="pg_menu clearfix"> |
1048 |
<ul id="ul_pagination_lists"> |
1057 |
<li class="left_results"> |
1049 |
[% FOREACH listitem IN listResults %] |
1058 |
[% IF ( previousBiblionumber ) %] |
1050 |
[% IF ( listitem.biblionumber == biblionumber ) %] |
1059 |
<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> |
1051 |
<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> |
1060 |
[% ELSE %] |
1052 |
[% ELSE %] |
1061 |
<span>Previous</span> |
1053 |
<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> |
|
|
1054 |
[% END %] |
1055 |
[% END %] |
1062 |
[% END %] |
1056 |
</ul> |
1063 |
</li> |
|
|
1064 |
[%# busc is already URI encoded %] |
1065 |
<li class="back_results"><a href="opac-search.pl?[% busc | $raw %]" title="Back to the results search list">Back to results</a></li> |
1066 |
<li class="right_results"> |
1067 |
[% IF ( nextBiblionumber ) %] |
1068 |
<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> |
1069 |
[% ELSE %] |
1070 |
<span>Next</span> |
1071 |
[% END %] |
1072 |
</li> |
1073 |
</ul> |
1074 |
[% IF ( listResults ) %] |
1075 |
<div class="results-pagination"> |
1076 |
<div class="nav_pages"> |
1077 |
<ul id="listResults"> |
1078 |
[% FOREACH listitem IN listResults %] |
1079 |
[% IF ( listitem.biblionumber == biblionumber ) %] |
1080 |
<li class="li_pag_[% loop.count | html %] highlight"> |
1081 |
[% ELSE %] |
1082 |
<li class="li_pag_[% loop.count | html %]"> |
1083 |
[% END %] |
1084 |
<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> |
1085 |
[% END %] |
1086 |
</ul> |
1087 |
</div> |
1088 |
<div class="pagination_list"> |
1089 |
<ul id="ul_pagination_lists"> |
1090 |
[% FOREACH listitem IN listResults %] |
1091 |
[% IF ( listitem.biblionumber == biblionumber ) %] |
1092 |
<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> |
1093 |
[% ELSE %] |
1094 |
<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> |
1095 |
[% END %] |
1096 |
[% END %] |
1097 |
</ul> |
1098 |
</div> |
1099 |
</div> |
1100 |
[% END %] |
1101 |
<div class="pagination_footer"> |
1102 |
<a href="#" class="close_pagination"><i class="fa fa-remove"></i> Close</a> |
1057 |
</div> |
1103 |
</div> |
1058 |
</div> |
1104 |
</div> |
1059 |
[% END %] |
1105 |
[% END # / IF OpacBrowseResults && busc %] |
1060 |
<div class="pagination_footer"> |
|
|
1061 |
<a href="#" class="close_pagination"><i class="fa fa-remove"></i> Close</a> |
1062 |
</div> |
1063 |
</div> |
1064 |
[% END # / IF OpacBrowseResults && busc %] |
1065 |
|
1106 |
|
1066 |
[% INCLUDE 'opac-detail-sidebar.inc' %] |
1107 |
[% INCLUDE 'opac-detail-sidebar.inc' %] |
1067 |
|
1108 |
|
1068 |
[% IF ( NovelistSelectProfile && NovelistSelectView == 'right' && ( normalized_isbn || normalized_upc ) ) %] |
1109 |
[% IF ( NovelistSelectProfile && NovelistSelectView == 'right' && ( normalized_isbn || normalized_upc ) ) %] |
1069 |
<div id="NovelistSelect"> |
1110 |
<div id="NovelistSelect"> |
1070 |
<h4>Novelist Select</h4> |
1111 |
<h4>Novelist Select</h4> |
1071 |
<div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]></div> |
1112 |
<div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]></div> |
1072 |
</div> |
1113 |
</div> |
1073 |
[% END %] |
1114 |
[% END %] |
1074 |
|
1115 |
|
1075 |
[% IF ( Babeltheque ) %] |
1116 |
[% IF ( Babeltheque ) %] |
1076 |
<div class="babeltheque_adds"> |
1117 |
<div class="babeltheque_adds"> |
1077 |
<div id="BW_critiques_aj"></div> |
1118 |
<div id="BW_critiques_aj"></div> |
1078 |
<div id="BW_citations_aj"></div> |
1119 |
<div id="BW_citations_aj"></div> |
1079 |
</div> |
1120 |
</div> |
1080 |
[% END %] |
1121 |
[% END %] |
1081 |
|
1122 |
|
1082 |
[% IF ( Koha.Preference('SocialNetworks') ) %] |
1123 |
[% IF ( Koha.Preference('SocialNetworks') ) %] |
1083 |
<div id="social_networks" class="clearfix"> |
1124 |
<div id="social_networks" class="clearfix"> |
1084 |
<span>Share</span> |
1125 |
<span>Share</span> |
1085 |
[% SET SocialNetworks = Koha.Preference('SocialNetworks') %] |
1126 |
[% SET SocialNetworks = Koha.Preference('SocialNetworks') %] |
1086 |
[% FOREACH network IN SocialNetworks.split(",") %] |
1127 |
[% FOREACH network IN SocialNetworks.split(", ") %] |
1087 |
[% SWITCH network -%] |
1128 |
[% SWITCH network -%] |
1088 |
[% CASE "facebook" -%] |
1129 |
[% CASE "facebook" -%] |
1089 |
<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> |
1130 |
<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> |
1090 |
[% CASE "linkedin" -%] |
1131 |
[% CASE "linkedin" -%] |
1091 |
<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> |
1132 |
<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> |
1092 |
[% CASE "email" -%] |
1133 |
[% CASE "email" -%] |
1093 |
<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> |
1134 |
<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> |
1094 |
[% CASE "twitter" -%] |
1135 |
[% CASE "twitter" -%] |
1095 |
<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> |
1136 |
<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> |
1096 |
[% END -%] |
1137 |
[% END -%] |
1097 |
[% END %] |
1138 |
[% END %] |
1098 |
</div> |
1139 |
</div> |
1099 |
[% END # /IF SocialNetworks %] |
1140 |
[% END # / IF SocialNetworks %] |
1100 |
</div> <!-- / .ulactioncontainer --> |
1141 |
</div><!-- / .ulactioncontainer --> |
1101 |
</div> <!-- / .span4 --> |
1142 |
</div><!-- / .span4 --> |
1102 |
</div> <!-- / .row-fluid --> |
1143 |
</div><!-- / .row-fluid --> |
1103 |
<div class="row-fluid"> |
1144 |
<div class="row-fluid"> |
1104 |
[% IF ( LibraryThingForLibrariesID ) %] |
1145 |
[% IF ( LibraryThingForLibrariesID ) %] |
1105 |
<script src="https://ltfl.librarything.com/forlibraries/widget.js?systype=koha&id=[% LibraryThingForLibrariesID | html %]"></script> |
1146 |
<script src="https://ltfl.librarything.com/forlibraries/widget.js?systype=koha&id=[% LibraryThingForLibrariesID | html %]"></script> |
1106 |
<noscript>This page contains enriched content visible when JavaScript is enabled or by clicking |
1147 |
<noscript>This page contains enriched content visible when JavaScript is enabled or by clicking |
1107 |
<a href="https://www.librarything.com/forlibraries/noscript.php?id=[% LibraryThingForLibrariesID | uri %]&accessibility=1">here</a>.</noscript> |
1148 |
<a href="https://www.librarything.com/forlibraries/noscript.php?id=[% LibraryThingForLibrariesID | uri %]&accessibility=1">here</a>.</noscript> |
1108 |
[% END %] |
1149 |
[% END %] |
1109 |
|
1150 |
|
1110 |
[% IF ( NovelistSelectProfile && ( normalized_isbn || normalized_upc ) ) %] |
1151 |
[% IF ( NovelistSelectProfile && ( normalized_isbn || normalized_upc ) ) %] |
1111 |
<script src="https://imageserver.ebscohost.com/novelistselect/ns2init.js"></script> |
1152 |
<script src="https://imageserver.ebscohost.com/novelistselect/ns2init.js"></script> |
1112 |
[% END %] |
1153 |
[% END %] |
1113 |
|
1154 |
|
1114 |
[% IF ( Babeltheque ) %] |
1155 |
[% IF ( Babeltheque ) %] |
1115 |
<script src="[% Babeltheque_url_js | html %]"></script> |
1156 |
<script src="[% Babeltheque_url_js | html %]"></script> |
1116 |
[% END %] |
1157 |
[% END %] |
1117 |
</div> <!-- / .row-fluid --> |
1158 |
</div><!-- / .row-fluid --> |
1118 |
</div> <!-- / .container-fluid --> |
1159 |
</div><!-- / .container-fluid --> |
1119 |
</div> <!-- / .main --> |
1160 |
</div><!-- / .main --> |
1120 |
|
1161 |
|
1121 |
[% INCLUDE 'opac-bottom.inc' %] |
1162 |
[% INCLUDE 'opac-bottom.inc' %] |
1122 |
|
1163 |
|
Lines 1126-1160
Link Here
|
1126 |
<table class="table table-bordered table-striped" id="[% table_id | html %]"> |
1167 |
<table class="table table-bordered table-striped" id="[% table_id | html %]"> |
1127 |
<thead> |
1168 |
<thead> |
1128 |
<tr> |
1169 |
<tr> |
1129 |
[% IF ( item_level_itypes ) %] |
1170 |
[% IF ( item_level_itypes ) %] |
1130 |
<th id="item_itemtype" data-colname="item_itemtype" class="itype">Item type</th>[% END %] |
1171 |
<th id="item_itemtype" data-colname="item_itemtype" class="itype">Item type</th> |
1131 |
[% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %] |
1172 |
[% END %] |
1132 |
<th id="item_current_location" data-colname="item_current_location" class="item_location">Current location</th>[% END %] |
1173 |
|
1133 |
[% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %] |
1174 |
[% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %] |
1134 |
<th id="item_home_location" data-colname="item_home_location" class="item_location">Home library</th>[% END %] |
1175 |
<th id="item_current_location" data-colname="item_current_location" class="item_location">Current location</th> |
1135 |
[% IF ( itemdata_ccode ) %] |
1176 |
[% END %] |
1136 |
<th id="item_ccode" data-colname="item_ccode" class="collection">Collection</th>[% END %] |
1177 |
|
1137 |
[% IF ( Koha.Preference('OpacLocationOnDetail') == 'column' && itemdata_location ) %] |
1178 |
[% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %] |
1138 |
<th id="item_shelving_location" data-colname="item_shelving_location" class="shelving_location">Shelving location</th>[% END %] |
1179 |
<th id="item_home_location" data-colname="item_home_location" class="item_location">Home library</th> |
1139 |
<th id="item_callnumber" data-colname="item_callnumber" class="call_no">Call number</th> |
1180 |
[% END %] |
1140 |
[% IF ( itemdata_enumchron ) %] |
1181 |
|
1141 |
<th id="item_enumchron" data-colname="item_enumchron" class="vol_info">Vol info</th>[% END %] |
1182 |
[% IF ( itemdata_ccode ) %] |
1142 |
[% IF ( itemdata_uri ) %] |
1183 |
<th id="item_ccode" data-colname="item_ccode" class="collection">Collection</th> |
1143 |
<th id="item_url" data-colname="item_url" class="url">URL</th>[% END %] |
1184 |
[% END %] |
1144 |
[% IF ( itemdata_copynumber ) %] |
1185 |
|
1145 |
<th id="item_copy" data-colname="item_copy" class="copynumber">Copy number</th>[% END %] |
1186 |
[% IF ( Koha.Preference('OpacLocationOnDetail') == 'column' && itemdata_location ) %] |
1146 |
<th id="item_status" data-colname="item_status" class="status">Status</th> |
1187 |
<th id="item_shelving_location" data-colname="item_shelving_location" class="shelving_location">Shelving location</th> |
1147 |
[% IF ( itemdata_itemnotes ) %] |
1188 |
[% END %] |
1148 |
<th id="item_notes" data-colname="item_notes" class="notes">Notes</th>[% END %] |
1189 |
<th id="item_callnumber" data-colname="item_callnumber" class="call_no">Call number</th> |
1149 |
<th id="item_datedue" data-colname="item_datedue" class="date_due">Date due</th> |
1190 |
[% IF ( itemdata_enumchron ) %] |
1150 |
<th id="item_barcode" data-colname="item_barcode" class="barcode">Barcode</th> |
1191 |
<th id="item_enumchron" data-colname="item_enumchron" class="vol_info">Vol info</th> |
1151 |
[% IF holds_count.defined %] |
1192 |
[% END %] |
1152 |
<th id="item_holds" data-colname="item_holds">Item holds</th> |
1193 |
|
1153 |
[% ELSIF show_priority %] |
1194 |
[% IF ( itemdata_uri ) %] |
1154 |
<th id="item_priority" data-colname="item_priority">Item hold queue priority</th> |
1195 |
<th id="item_url" data-colname="item_url" class="url">URL</th> |
1155 |
[% END %] |
1196 |
[% END %] |
1156 |
[% IF ( ShowCourseReservesHeader ) %] |
1197 |
|
1157 |
<th id="item_coursereserves" data-colname="item_coursereserves">Course reserves</th>[% END %] |
1198 |
[% IF ( itemdata_copynumber ) %] |
|
|
1199 |
<th id="item_copy" data-colname="item_copy" class="copynumber">Copy number</th> |
1200 |
[% END %] |
1201 |
<th id="item_status" data-colname="item_status" class="status">Status</th> |
1202 |
[% IF ( itemdata_itemnotes ) %] |
1203 |
<th id="item_notes" data-colname="item_notes" class="notes">Notes</th> |
1204 |
[% END %] |
1205 |
<th id="item_datedue" data-colname="item_datedue" class="date_due">Date due</th> |
1206 |
<th id="item_barcode" data-colname="item_barcode" class="barcode">Barcode</th> |
1207 |
[% IF holds_count.defined %] |
1208 |
<th id="item_holds" data-colname="item_holds">Item holds</th> |
1209 |
[% ELSIF show_priority %] |
1210 |
<th id="item_priority" data-colname="item_priority">Item hold queue priority</th> |
1211 |
[% END %] |
1212 |
|
1213 |
[% IF ( ShowCourseReservesHeader ) %] |
1214 |
<th id="item_coursereserves" data-colname="item_coursereserves">Course reserves</th> |
1215 |
[% END %] |
1158 |
</tr> |
1216 |
</tr> |
1159 |
</thead> |
1217 |
</thead> |
1160 |
<tbody> |
1218 |
<tbody> |
Lines 1164-1169
Link Here
|
1164 |
[% ELSE %] |
1222 |
[% ELSE %] |
1165 |
<tr vocab="http://schema.org/" typeof="Offer"> |
1223 |
<tr vocab="http://schema.org/" typeof="Offer"> |
1166 |
[% END %] |
1224 |
[% END %] |
|
|
1225 |
|
1167 |
[% IF ( item_level_itypes ) %] |
1226 |
[% IF ( item_level_itypes ) %] |
1168 |
<td class="itype"> |
1227 |
<td class="itype"> |
1169 |
[% UNLESS ( Koha.Preference('OpacNoItemTypeImages') ) %] |
1228 |
[% UNLESS ( Koha.Preference('OpacNoItemTypeImages') ) %] |
Lines 1174-1179
Link Here
|
1174 |
[% ITEM_RESULT.description | html %] |
1233 |
[% ITEM_RESULT.description | html %] |
1175 |
</td> |
1234 |
</td> |
1176 |
[% END %] |
1235 |
[% END %] |
|
|
1236 |
|
1177 |
[% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %] |
1237 |
[% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %] |
1178 |
<td class="location" property="seller"> |
1238 |
<td class="location" property="seller"> |
1179 |
<link property="itemOffered" href="#record" /> |
1239 |
<link property="itemOffered" href="#record" /> |
Lines 1186-1196
Link Here
|
1186 |
[% END %] |
1246 |
[% END %] |
1187 |
</span> |
1247 |
</span> |
1188 |
<div class="branch-info-tooltip">[% ITEM_RESULT.holding_branch_opac_info | $raw %]</div> |
1248 |
<div class="branch-info-tooltip">[% ITEM_RESULT.holding_branch_opac_info | $raw %]</div> |
1189 |
|
|
|
1190 |
[% IF ( Koha.Preference('OpacLocationOnDetail') == 'holding' || Koha.Preference('OpacLocationOnDetail') == 'both' ) %] |
1249 |
[% IF ( Koha.Preference('OpacLocationOnDetail') == 'holding' || Koha.Preference('OpacLocationOnDetail') == 'both' ) %] |
1191 |
<span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span> |
1250 |
<span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span> |
1192 |
[% END %] |
1251 |
[% END %] |
1193 |
|
|
|
1194 |
</td> |
1252 |
</td> |
1195 |
[% END %] |
1253 |
[% END %] |
1196 |
|
1254 |
|
Lines 1211-1221
Link Here
|
1211 |
[% END %] |
1269 |
[% END %] |
1212 |
</span> |
1270 |
</span> |
1213 |
<div class="branch-info-tooltip">[% ITEM_RESULT.home_branch_opac_info | $raw %]</div> |
1271 |
<div class="branch-info-tooltip">[% ITEM_RESULT.home_branch_opac_info | $raw %]</div> |
1214 |
|
|
|
1215 |
[% IF ( Koha.Preference('OpacLocationOnDetail') == 'home' || Koha.Preference('OpacLocationOnDetail') == 'both' ) %] |
1272 |
[% IF ( Koha.Preference('OpacLocationOnDetail') == 'home' || Koha.Preference('OpacLocationOnDetail') == 'both' ) %] |
1216 |
<span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span> |
1273 |
<span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span> |
1217 |
[% END %] |
1274 |
[% END %] |
1218 |
|
|
|
1219 |
</td> |
1275 |
</td> |
1220 |
[% END %] |
1276 |
[% END %] |
1221 |
|
1277 |
|
Lines 1250-1282
Link Here
|
1250 |
[% ELSIF ITEM_RESULT.enumchron %] |
1306 |
[% ELSIF ITEM_RESULT.enumchron %] |
1251 |
<span class="enum">[% ITEM_RESULT.enumchron | html %]</span> |
1307 |
<span class="enum">[% ITEM_RESULT.enumchron | html %]</span> |
1252 |
[% ELSIF ITEM_RESULT.serialseq %] |
1308 |
[% ELSIF ITEM_RESULT.serialseq %] |
1253 |
<span class="serialseq">[% ITEM_RESULT.serialseq | html %]</span> |
1309 |
<span class="serialseq">[% ITEM_RESULT.serialseq | html %]</span> |
1254 |
[% END %] |
1310 |
[% END %] |
|
|
1311 |
|
1255 |
[% IF ( ITEM_RESULT.publisheddate ) %] |
1312 |
[% IF ( ITEM_RESULT.publisheddate ) %] |
1256 |
<span class="pubdate">([% ITEM_RESULT.publisheddate | $KohaDates %])</span> |
1313 |
<span class="pubdate">([% ITEM_RESULT.publisheddate | $KohaDates %])</span> |
1257 |
[% END %] |
1314 |
[% END %] |
1258 |
</td> |
1315 |
</td> |
1259 |
[% END %] |
1316 |
[% END %] |
|
|
1317 |
|
1260 |
[% IF ( itemdata_uri ) %] |
1318 |
[% IF ( itemdata_uri ) %] |
1261 |
<td class="url"> |
1319 |
<td class="url"> |
1262 |
[% IF ITEM_RESULT.uri %] |
1320 |
[% IF ITEM_RESULT.uri %] |
1263 |
[%# Initialize three helper vars %] |
1321 |
[%# Initialize three helper vars %] |
1264 |
[% SET target_attr = ''; SET rel_attr = ''; SET href_attr = '' %] |
1322 |
[% SET target_attr = ''; SET rel_attr = ''; SET href_attr = '' %] |
1265 |
[% IF Koha.Preference('OPACURLOpenInNewWindow') %][% SET target_attr = '_blank'; SET rel_attr = 'noreferrer' %][% END %] |
1323 |
[% IF Koha.Preference('OPACURLOpenInNewWindow') %][% SET target_attr = '_blank'; SET rel_attr = 'noreferrer' %][% END %] |
1266 |
|
1324 |
|
1267 |
[%# Check if there are multiple URIs; in the single case we only use pref URLLinkText or Link to resource %] |
1325 |
[%# Check if there are multiple URIs; in the single case we only use pref URLLinkText or Link to resource %] |
1268 |
[% IF ITEM_RESULT.uri.split(' \| ').size > 1 %] |
1326 |
[% IF ITEM_RESULT.uri.split(' \| ').size > 1 %] |
1269 |
[% FOREACH uri IN ITEM_RESULT.uri.split(' \| ') %] |
1327 |
[% FOREACH uri IN ITEM_RESULT.uri.split(' \| ') %] |
1270 |
[% IF trackclicks == 'track' || trackclicks == 'anonymous' %][% SET href_attr = "/cgi-bin/koha/tracklinks.pl?uri=" _ uri _ "&biblionumber=" _ biblio.biblionumber _ "&itemnumber=" _ ITEM_RESULT.itemnumber %] [% ELSE %][% SET href_attr = uri %][% END %] |
1328 |
[% IF trackclicks == 'track' || trackclicks == 'anonymous' %][% SET href_attr = "/cgi-bin/koha/tracklinks.pl?uri=" _ uri _ "&biblionumber=" _ biblio.biblionumber _ "&itemnumber=" _ ITEM_RESULT.itemnumber %][% ELSE %][% SET href_attr = uri %][% END %] |
1271 |
<a target="[% target_attr | html %]" rel="[% rel_attr | html %]" href="[% href_attr | url %]" property="url">[% uri | html %]</a><br> |
1329 |
<a target="[% target_attr | html %]" rel="[% rel_attr | html %]" href="[% href_attr | url %]" property="url">[% uri | html %]</a><br> |
|
|
1330 |
[% END %] |
1331 |
[% ELSE %] |
1332 |
[% IF trackclicks == 'track' || trackclicks == 'anonymous' %][% SET href_attr = "/cgi-bin/koha/tracklinks.pl?uri=" _ ITEM_RESULT.uri _ "&biblionumber=" _ biblio.biblionumber _ "&itemnumber=" _ ITEM_RESULT.itemnumber %][% ELSE %][% SET href_attr = ITEM_RESULT.uri %][% END %] |
1333 |
<a target="[% target_attr | html %]" rel="[% rel_attr | html %]" href="[% href_attr | url %]" property="url">[% IF Koha.Preference('URLLinkText') %][% Koha.Preference('URLLinkText') | html %][% ELSE %]Link to resource[% END %]</a> |
1272 |
[% END %] |
1334 |
[% END %] |
1273 |
[% ELSE %] |
|
|
1274 |
[% IF trackclicks == 'track' || trackclicks == 'anonymous' %][% SET href_attr = "/cgi-bin/koha/tracklinks.pl?uri=" _ ITEM_RESULT.uri _ "&biblionumber=" _ biblio.biblionumber _ "&itemnumber=" _ ITEM_RESULT.itemnumber %] [% ELSE %][% SET href_attr = ITEM_RESULT.uri %][% END %] |
1275 |
<a target="[% target_attr | html %]" rel="[% rel_attr | html %]" href="[% href_attr | url %]" property="url">[% IF Koha.Preference('URLLinkText') %][% Koha.Preference('URLLinkText') | html %][% ELSE %]Link to resource[% END %]</a> |
1276 |
[% END %] |
1335 |
[% END %] |
1277 |
[% END %] |
|
|
1278 |
</td> |
1336 |
</td> |
1279 |
[% END %] |
1337 |
[% END %] |
|
|
1338 |
|
1280 |
[% IF ( itemdata_copynumber ) %]<td class="copynumber">[% ITEM_RESULT.copynumber | html %]</td>[% END %] |
1339 |
[% IF ( itemdata_copynumber ) %]<td class="copynumber">[% ITEM_RESULT.copynumber | html %]</td>[% END %] |
1281 |
<td class="status">[% INCLUDE 'item-status-schema-org.inc' item = ITEM_RESULT %][% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td> |
1340 |
<td class="status">[% INCLUDE 'item-status-schema-org.inc' item = ITEM_RESULT %][% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td> |
1282 |
[% IF ( itemdata_itemnotes ) %]<td class="notes" property="description">[% ITEM_RESULT.itemnotes | $raw %]</td>[% END %] |
1341 |
[% IF ( itemdata_itemnotes ) %]<td class="notes" property="description">[% ITEM_RESULT.itemnotes | $raw %]</td>[% END %] |
Lines 1284-1290
Link Here
|
1284 |
<td class="barcode" property="serialNumber">[% ITEM_RESULT.barcode | html %]</td> |
1343 |
<td class="barcode" property="serialNumber">[% ITEM_RESULT.barcode | html %]</td> |
1285 |
[% IF holds_count.defined || show_priority %] |
1344 |
[% IF holds_count.defined || show_priority %] |
1286 |
<td class="holds_count"> |
1345 |
<td class="holds_count"> |
1287 |
[% IF holds_count.defined %] [% ITEM_RESULT.holds_count | html %] [% END %] |
1346 |
[% IF holds_count.defined %][% ITEM_RESULT.holds_count | html %][% END %] |
|
|
1347 |
|
1288 |
[% IF ITEM_RESULT.priority %] |
1348 |
[% IF ITEM_RESULT.priority %] |
1289 |
[% IF holds_count.defined %] |
1349 |
[% IF holds_count.defined %] |
1290 |
<span>(priority [% ITEM_RESULT.priority | html %])</span> |
1350 |
<span>(priority [% ITEM_RESULT.priority | html %])</span> |
Lines 1294-1299
Link Here
|
1294 |
[% END %] |
1354 |
[% END %] |
1295 |
</td> |
1355 |
</td> |
1296 |
[% END %] |
1356 |
[% END %] |
|
|
1357 |
|
1297 |
[% IF ShowCourseReservesHeader %] |
1358 |
[% IF ShowCourseReservesHeader %] |
1298 |
<td> |
1359 |
<td> |
1299 |
[% IF ITEM_RESULT.course_reserves %] |
1360 |
[% IF ITEM_RESULT.course_reserves %] |
Lines 1302-1317
Link Here
|
1302 |
<p> |
1363 |
<p> |
1303 |
<a href="opac-course-details.pl?course_id=[% r.course.course_id | uri %]"> |
1364 |
<a href="opac-course-details.pl?course_id=[% r.course.course_id | uri %]"> |
1304 |
[% r.course.course_name | html %] |
1365 |
[% r.course.course_name | html %] |
1305 |
<!--[% IF r.course.course_number %] [% r.course.course_number | html %] [% END %]--> |
1366 |
<!--[% IF r.course.course_number %][% r.course.course_number | html %][% END %]--> |
1306 |
[% IF r.course.section %] [% r.course.section | html %] [% END %] |
1367 |
[% IF r.course.section %][% r.course.section | html %][% END %] |
1307 |
[% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term, 1 ) | html %] [% END %] |
1368 |
|
|
|
1369 |
[% IF r.course.term %][% AuthorisedValues.GetByCode( 'TERM', r.course.term, 1 ) | html %][% END %] |
1308 |
</a> |
1370 |
</a> |
1309 |
</p> |
1371 |
</p> |
1310 |
[% END %] |
1372 |
[% END %] |
1311 |
[% END %] |
1373 |
[% END %] |
1312 |
[% END %] |
1374 |
[% END %] |
1313 |
</td> |
1375 |
</td> |
1314 |
[% END # /IF ShowCourseReservesHeader %] |
1376 |
[% END # / IF ShowCourseReservesHeader %] |
1315 |
</tr> |
1377 |
</tr> |
1316 |
[% END %] |
1378 |
[% END %] |
1317 |
</tbody> |
1379 |
</tbody> |
Lines 1328-1334
Link Here
|
1328 |
<h3 id="multiSearchLabel">Select the item(s) to search</h3> |
1390 |
<h3 id="multiSearchLabel">Select the item(s) to search</h3> |
1329 |
</div> |
1391 |
</div> |
1330 |
<div class="modal-body"> |
1392 |
<div class="modal-body"> |
1331 |
<a href="#" class="check_all"><i class="fa fa-check"></i> Select all</a> <span class="sep">|</span> |
1393 |
<a href="#" class="check_all"><i class="fa fa-check"></i> Select all</a><span class="sep">|</span> |
1332 |
<a href="#" class="check_none"><i class="fa fa-remove"></i> Select none</a> |
1394 |
<a href="#" class="check_none"><i class="fa fa-remove"></i> Select none</a> |
1333 |
<ul id="termsList"> |
1395 |
<ul id="termsList"> |
1334 |
</ul> |
1396 |
</ul> |
Lines 1337-1515
Link Here
|
1337 |
<a id="validMultiSearch" href="#" class="btn btn-primary">Search</a> |
1399 |
<a id="validMultiSearch" href="#" class="btn btn-primary">Search</a> |
1338 |
<a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a> |
1400 |
<a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a> |
1339 |
</div> |
1401 |
</div> |
1340 |
</div> <!-- /.modal-content --> |
1402 |
</div><!-- /.modal-content --> |
1341 |
</div> <!-- /.modal-dialog --> |
1403 |
</div><!-- /.modal-dialog --> |
1342 |
</div> <!-- /#myModal --> |
1404 |
</div><!-- /#myModal --> |
1343 |
[% END %] |
1405 |
[% END %] |
1344 |
|
1406 |
|
1345 |
[% BLOCK jsinclude %] |
1407 |
[% BLOCK jsinclude %] |
1346 |
[% INCLUDE 'datatables.inc' %] |
1408 |
[% INCLUDE 'datatables.inc' %] |
1347 |
[% INCLUDE 'columns_settings.inc' %] |
1409 |
[% INCLUDE 'columns_settings.inc' %] |
1348 |
[% INCLUDE greybox.inc %] |
1410 |
[% INCLUDE greybox.inc %] |
1349 |
[% IF ( SocialNetworks ) %] |
1411 |
[% IF ( SocialNetworks ) %]<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>[% END %] |
1350 |
<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> |
1412 |
[% IF ( OpacStarRatings != 'disable' ) %][% Asset.js("lib/jquery/plugins/jquery.barrating.min.js") | $raw %][% END %] |
1351 |
[% END %] |
1413 |
[% IF ( OpacHighlightedWords ) %][% Asset.js("lib/jquery/plugins/jquery.highlight-3.js") | $raw %][% END %] |
1352 |
[% IF ( OpacStarRatings != 'disable' ) %][% Asset.js("lib/jquery/plugins/jquery.barrating.min.js") | $raw %][% END %] |
1414 |
[% IF ( Koha.Preference('OPACDetailQRCode') ) %][% Asset.js("lib/kjua/kjua.min.js") | $raw %][% END %] |
1353 |
|
1415 |
|
1354 |
[% IF ( OpacHighlightedWords ) %][% Asset.js("lib/jquery/plugins/jquery.highlight-3.js") | $raw %][% END %] |
1416 |
[% IF ( Koha.Preference('OPACShowMusicalInscripts') ) %] |
1355 |
[% IF ( Koha.Preference('OPACDetailQRCode') ) %] |
1417 |
<script> |
1356 |
[% Asset.js("lib/kjua/kjua.min.js") | $raw %] |
1418 |
var interface = "[% interface | html %]"; |
1357 |
[% END %] |
1419 |
var PREF_OPACPlayMusicalInscripts = "[% Koha.Preference('OPACPlayMusicalInscripts') | html %]"; |
|
|
1420 |
</script> |
1421 |
[% Asset.js("js/verovio.js") | $raw %] |
1422 |
[% END %] |
1358 |
|
1423 |
|
1359 |
[% IF ( Koha.Preference('OPACShowMusicalInscripts') ) %] |
|
|
1360 |
<script> |
1424 |
<script> |
1361 |
var interface = "[% interface | html %]"; |
1425 |
var OPACPopupAuthorsSearch = "[% Koha.Preference('OPACPopupAuthorsSearch') | html %]"; |
1362 |
var PREF_OPACPlayMusicalInscripts = "[% Koha.Preference('OPACPlayMusicalInscripts') | html %]"; |
1426 |
[% IF ( OpacHighlightedWords ) %] |
1363 |
</script> |
1427 |
var q_array = new Array(); // holds search terms if available |
1364 |
[% Asset.js("js/verovio.js") | $raw %] |
|
|
1365 |
[% END %] |
1366 |
|
1428 |
|
1367 |
<script> |
1429 |
function highlightOff() { |
1368 |
var OPACPopupAuthorsSearch = "[% Koha.Preference('OPACPopupAuthorsSearch') | html %]"; |
1430 |
$("#catalogue_detail_biblio").removeHighlight(); |
1369 |
[% IF ( OpacHighlightedWords ) %] |
1431 |
$(".highlight_toggle").toggle(); |
1370 |
var q_array = new Array(); // holds search terms if available |
1432 |
} |
1371 |
|
1433 |
|
1372 |
function highlightOff() { |
1434 |
function highlightOn() { |
1373 |
$("#catalogue_detail_biblio").removeHighlight(); |
1435 |
var x; |
1374 |
$(".highlight_toggle").toggle(); |
1436 |
for (x in q_array) { |
1375 |
} |
1437 |
if ( q_array[x].length > 0 ) { |
1376 |
function highlightOn() { |
1438 |
q_array[x] = q_array[x].replace(/\w*:([\w])/, "$1"); |
1377 |
var x; |
1439 |
q_array[x] = q_array[x].toLowerCase(); |
1378 |
for (x in q_array) { |
1440 |
var myStopwords = "[% Koha.Preference('NotHighlightedWords') | html %]".toLowerCase().split('|'); |
1379 |
if ( q_array[x].length > 0 ) { |
1441 |
if( $.inArray(q_array[x], myStopwords) == -1 ) { |
1380 |
q_array[x] = q_array[x].replace(/\w*:([\w])/, "$1"); |
1442 |
$(".title").highlight(q_array[x]); |
1381 |
q_array[x] = q_array[x].toLowerCase(); |
1443 |
$(".author").highlight(q_array[x]); |
1382 |
var myStopwords = "[% Koha.Preference('NotHighlightedWords') | html %]".toLowerCase().split('|'); |
1444 |
$(".results_summary").highlight(q_array[x]); |
1383 |
if( $.inArray(q_array[x], myStopwords) == -1 ) { |
1445 |
} |
1384 |
$(".title").highlight(q_array[x]); |
|
|
1385 |
$(".author").highlight(q_array[x]); |
1386 |
$(".results_summary").highlight(q_array[x]); |
1387 |
} |
1446 |
} |
1388 |
} |
1447 |
} |
|
|
1448 |
$(".highlight_toggle").toggle(); |
1389 |
} |
1449 |
} |
1390 |
$(".highlight_toggle").toggle(); |
1450 |
[% END %] |
1391 |
} |
|
|
1392 |
[% END %] |
1393 |
|
1451 |
|
1394 |
$(document).ready(function() { |
1452 |
$(document).ready(function() { |
|
|
1453 |
[% IF ( Koha.Preference('OPACDetailQRCode') ) %] |
1454 |
var qrcode = kjua({ |
1455 |
ecLevel: "H", |
1456 |
render: "canvas", |
1457 |
rounded: 100, |
1458 |
size: 150, |
1459 |
text: location.href, |
1460 |
}); |
1395 |
|
1461 |
|
1396 |
[% IF ( Koha.Preference('OPACDetailQRCode') ) %] |
1462 |
if (qrcode) { |
|
|
1463 |
document.getElementById("qrcode").appendChild( qrcode ); |
1464 |
} |
1397 |
|
1465 |
|
1398 |
var qrcode = kjua({ |
1466 |
$(".show_qrcode").on("click", function(){ |
1399 |
ecLevel: "H", |
1467 |
var qrcodeImg = $("#qrcode"); |
1400 |
render: "canvas", |
1468 |
if( qrcodeImg.hasClass("hidden") ){ |
1401 |
rounded: 100, |
1469 |
qrcodeImg.removeClass("hidden"); |
1402 |
size: 150, |
1470 |
} else { |
1403 |
text: location.href, |
1471 |
qrcodeImg.addClass("hidden"); |
1404 |
}); |
1472 |
} |
1405 |
if (qrcode) { |
1473 |
}); |
1406 |
document.getElementById("qrcode").appendChild( qrcode ); |
1474 |
[% END %] |
1407 |
} |
|
|
1408 |
|
1475 |
|
1409 |
$(".show_qrcode").on("click", function(){ |
1476 |
$('#bibliodescriptions').tabs(); |
1410 |
var qrcodeImg = $("#qrcode"); |
1477 |
$(".branch-info-tooltip-trigger").uitooltip({ |
1411 |
if( qrcodeImg.hasClass("hidden") ){ |
1478 |
position: { my: "left+15 center", at: "right center" }, |
1412 |
qrcodeImg.removeClass("hidden"); |
1479 |
show: 50, |
1413 |
} else { |
1480 |
hide: 50, |
1414 |
qrcodeImg.addClass("hidden"); |
1481 |
content: function(){ |
|
|
1482 |
var element = $(this).next("div"); |
1483 |
return element.html(); |
1415 |
} |
1484 |
} |
1416 |
}); |
1485 |
}); |
1417 |
[% END %] |
|
|
1418 |
|
1486 |
|
1419 |
$('#bibliodescriptions').tabs(); |
1487 |
[% IF ( Koha.Preference('OpacBrowseResults') && busc ) %] |
1420 |
$(".branch-info-tooltip-trigger").uitooltip({ |
1488 |
$(".l_Results").show(); |
1421 |
position: { my: "left+15 center", at: "right center" }, |
1489 |
$("#a_listResults").on("click", function(e){ |
1422 |
show: 50, |
1490 |
e.preventDefault(); |
1423 |
hide: 50, |
1491 |
$(".results-pagination, .close_pagination, .pg_menu").toggle(); |
1424 |
content: function(){ |
1492 |
}); |
1425 |
var element = $(this).next("div"); |
|
|
1426 |
return element.html(); |
1427 |
} |
1428 |
}); |
1429 |
|
1493 |
|
1430 |
[% IF ( Koha.Preference('OpacBrowseResults') && busc ) %] |
1494 |
$(".close_pagination").on("click", function(e){ |
1431 |
$(".l_Results").show(); |
1495 |
e.preventDefault(); |
1432 |
$("#a_listResults").on("click", function(e){ |
1496 |
$(".results-pagination, .close_pagination, .pg_menu").toggle(); |
1433 |
e.preventDefault(); |
1497 |
}); |
1434 |
$(".results-pagination, .close_pagination, .pg_menu").toggle(); |
1498 |
[% END %] |
1435 |
}); |
|
|
1436 |
|
1499 |
|
1437 |
$(".close_pagination").on("click", function(e){ |
1500 |
var columns_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'holdingst', 'json' ) | $raw %]; |
1438 |
e.preventDefault(); |
1501 |
|
1439 |
$(".results-pagination, .close_pagination, .pg_menu").toggle(); |
1502 |
KohaTable("#holdingst", { |
|
|
1503 |
dom: '<"clearfix">t', |
1504 |
"columnDefs": [ |
1505 |
{ "targets": [ -1 ], "sortable": false, "searchable": false }, |
1506 |
{ "type": "title-string", "targets" : [ "title-string" ] } |
1507 |
], |
1508 |
"bKohaColumnsUseNames": true, |
1509 |
"autoWidth": false |
1510 |
}, columns_settings); |
1511 |
|
1512 |
KohaTable("#otherholdingst", { |
1513 |
dom: '<"clearfix">t', |
1514 |
"columnDefs": [ |
1515 |
{ "targets": [ -1 ], "sortable": false, "searchable": false }, |
1516 |
{ "type": "title-string", "targets" : [ "title-string" ] } |
1517 |
], |
1518 |
"bKohaColumnsUseNames": true, |
1519 |
"autoWidth": false |
1520 |
}, columns_settings); |
1521 |
|
1522 |
var serial_column_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %]; |
1523 |
|
1524 |
KohaTable("#subscriptionst", { |
1525 |
dom: '<"clearfix">t', |
1526 |
"sorting": [[ 1, "desc" ]], |
1527 |
"columnDefs": [ |
1528 |
{ "type": "title-string", "targets" : [ "title-string" ] } |
1529 |
], |
1530 |
"autoWidth": false, |
1531 |
"bKohaColumnsUseNames": true |
1532 |
}, serial_column_settings); |
1533 |
|
1534 |
[% IF ( TagsInputEnabled && loggedinusername ) %] |
1535 |
$(".tag_add").click(function(){ |
1536 |
var thisid = $(this).attr("id"); |
1537 |
thisid = thisid.replace("tag_add", ""); |
1538 |
$(this).hide(); |
1539 |
$("#tagform"+thisid).show(); |
1540 |
$("#newtag"+thisid).focus(); |
1541 |
$("#newtag"+thisid+"_status").empty().hide(); |
1542 |
return false; |
1440 |
}); |
1543 |
}); |
1441 |
[% END %] |
1544 |
$(".cancel_tag_add").click(function(){ |
1442 |
|
1545 |
var thisid = $(this).attr("id"); |
1443 |
var columns_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'holdingst', 'json' ) | $raw %]; |
1546 |
thisid = thisid.replace("cancel", ""); |
1444 |
|
1547 |
$("#tagform"+thisid).hide(); |
1445 |
KohaTable("#holdingst", { |
1548 |
$("#tag_add"+thisid).show(); |
1446 |
dom: '<"clearfix">t', |
1549 |
$("#newtag"+thisid).val(""); |
1447 |
"columnDefs": [ |
1550 |
$("#newtag"+thisid+"_status").empty().hide(); |
1448 |
{ "targets": [ -1 ], "sortable": false, "searchable": false }, |
|
|
1449 |
{ "type": "title-string", "targets" : [ "title-string" ] } |
1450 |
], |
1451 |
"bKohaColumnsUseNames": true, |
1452 |
"autoWidth": false |
1453 |
}, columns_settings); |
1454 |
|
1455 |
KohaTable("#otherholdingst", { |
1456 |
dom: '<"clearfix">t', |
1457 |
"columnDefs": [ |
1458 |
{ "targets": [ -1 ], "sortable": false, "searchable": false }, |
1459 |
{ "type": "title-string", "targets" : [ "title-string" ] } |
1460 |
], |
1461 |
"bKohaColumnsUseNames": true, |
1462 |
"autoWidth": false |
1463 |
}, columns_settings); |
1464 |
|
1465 |
var serial_column_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %]; |
1466 |
|
1467 |
KohaTable("#subscriptionst", { |
1468 |
dom: '<"clearfix">t', |
1469 |
"sorting": [[ 1, "desc" ]], |
1470 |
"columnDefs": [ |
1471 |
{ "type": "title-string", "targets" : [ "title-string" ] } |
1472 |
], |
1473 |
"autoWidth": false, |
1474 |
"bKohaColumnsUseNames": true |
1475 |
}, serial_column_settings); |
1476 |
|
1477 |
[% IF ( TagsInputEnabled && loggedinusername ) %] |
1478 |
$(".tag_add").click(function(){ |
1479 |
var thisid = $(this).attr("id"); |
1480 |
thisid = thisid.replace("tag_add",""); |
1481 |
$(this).hide(); |
1482 |
$("#tagform"+thisid).show(); |
1483 |
$("#newtag"+thisid).focus(); |
1484 |
$("#newtag"+thisid+"_status").empty().hide(); |
1485 |
return false; |
1486 |
}); |
1487 |
$(".cancel_tag_add").click(function(){ |
1488 |
var thisid = $(this).attr("id"); |
1489 |
thisid = thisid.replace("cancel",""); |
1490 |
$("#tagform"+thisid).hide(); |
1491 |
$("#tag_add"+thisid).show(); |
1492 |
$("#newtag"+thisid).val(""); |
1493 |
$("#newtag"+thisid+"_status").empty().hide(); |
1494 |
return false; |
1495 |
}); |
1496 |
$(".tagbutton").click(function(){ |
1497 |
var thisid = $(this).attr("title"); |
1498 |
var tag = $("#newtag"+thisid).val(); |
1499 |
if (!tag || (tag == "")) { |
1500 |
alert(MSG_NO_TAG_SPECIFIED); |
1501 |
return false; |
1551 |
return false; |
1502 |
} |
1552 |
}); |
1503 |
KOHA.Tags.add_tag_button(thisid, tag); |
1553 |
$(".tagbutton").click(function(){ |
1504 |
return false; |
1554 |
var thisid = $(this).attr("title"); |
1505 |
}); |
1555 |
var tag = $("#newtag"+thisid).val(); |
1506 |
[% END %] |
1556 |
if (!tag || (tag == "")) { |
|
|
1557 |
alert(MSG_NO_TAG_SPECIFIED); |
1558 |
return false; |
1559 |
} |
1560 |
KOHA.Tags.add_tag_button(thisid, tag); |
1561 |
return false; |
1562 |
}); |
1563 |
[% END %] |
1507 |
|
1564 |
|
1508 |
[%# Note that there is no way atm to target a column with its class name to set it as the default sort order %] |
1565 |
[% # Note that there is no way atm to target a column with its class name to set it as the default sort order %] |
1509 |
[% IF Koha.Preference('OpacLocationBranchToDisplay') == 'home' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND item_level_itypes |
1566 |
[% IF Koha.Preference('OpacLocationBranchToDisplay') == 'home' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND item_level_itypes |
1510 |
OR Koha.Preference('OpacLocationBranchToDisplay') == 'holding' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'holdingbranch' AND item_level_itypes |
1567 |
OR Koha.Preference('OpacLocationBranchToDisplay') == 'holding' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'holdingbranch' AND item_level_itypes |
1511 |
OR Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND NOT item_level_itypes |
1568 |
OR Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND NOT item_level_itypes |
1512 |
OR Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'holdingbranch' AND item_level_itypes %] |
1569 |
OR Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'holdingbranch' AND item_level_itypes %] |
1513 |
var default_order_index = 1; |
1570 |
var default_order_index = 1; |
1514 |
[% ELSIF Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND item_level_itypes %] |
1571 |
[% ELSIF Koha.Preference('OpacLocationBranchToDisplay') == 'both' AND Koha.Preference('OPACHoldingsDefaultSortField') == 'homebranch' AND item_level_itypes %] |
1515 |
var default_order_index = 2; |
1572 |
var default_order_index = 2; |
Lines 1517-1543
Link Here
|
1517 |
var default_order_index = 0; |
1574 |
var default_order_index = 0; |
1518 |
[% END %] |
1575 |
[% END %] |
1519 |
|
1576 |
|
1520 |
[% IF ( query_desc ) %][% IF ( OpacHighlightedWords ) %]var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') | html %]"; |
1577 |
[% IF ( query_desc ) %] |
1521 |
q_array = query_desc.split(" "); |
1578 |
[% IF ( OpacHighlightedWords ) %]var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') | html %]"; |
1522 |
q_array = q_array.filter(function(n){ return n }); // Remove empty strings |
1579 |
q_array = query_desc.split(" "); |
1523 |
highlightOn(); |
1580 |
q_array = q_array.filter(function(n){ return n }); // Remove empty strings |
1524 |
$("#highlight_toggle_on" ).hide().click(function() {highlightOn() ; return false;}); |
1581 |
highlightOn(); |
1525 |
$("#highlight_toggle_off").show().click(function() {highlightOff(); return false;});[% END %][% END %] |
1582 |
$("#highlight_toggle_on" ).hide().click(function() {highlightOn() ; return false;}); |
1526 |
[% IF ( GoogleJackets ) %] |
1583 |
$("#highlight_toggle_off").show().click(function() {highlightOff(); return false;}); |
1527 |
KOHA.Google.GetCoverFromIsbn([% covernewwindow | html %]); |
1584 |
[% END %] |
1528 |
[% END %] |
1585 |
[% END %] |
1529 |
[% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %] |
|
|
1530 |
KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]',[% covernewwindow | html %]); |
1531 |
[% END %] |
1532 |
|
1586 |
|
1533 |
[% IF OpenLibraryCovers %] |
1587 |
[% IF ( GoogleJackets ) %] |
1534 |
KOHA.OpenLibrary.GetCoverFromIsbn(); |
1588 |
KOHA.Google.GetCoverFromIsbn([% covernewwindow | html %]); |
1535 |
[% END %] |
1589 |
[% END %] |
1536 |
[% IF OPACLocalCoverImages %] |
1590 |
|
1537 |
KOHA.LocalCover.GetCoverFromBibnumber(true); |
1591 |
[% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %] |
1538 |
[% END %] |
1592 |
KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]', [% covernewwindow | html %]); |
1539 |
[% IF ( NovelistSelectProfile && ( normalized_isbn || normalized_upc ) ) %] |
1593 |
[% END %] |
1540 |
novSelect.loadContentForQuery( |
1594 |
|
|
|
1595 |
[% IF OpenLibraryCovers %] |
1596 |
KOHA.OpenLibrary.GetCoverFromIsbn(); |
1597 |
[% END %] |
1598 |
|
1599 |
[% IF OPACLocalCoverImages %] |
1600 |
KOHA.LocalCover.GetCoverFromBibnumber(true); |
1601 |
[% END %] |
1602 |
|
1603 |
[% IF ( NovelistSelectProfile && ( normalized_isbn || normalized_upc ) ) %] |
1604 |
novSelect.loadContentForQuery( |
1541 |
{ |
1605 |
{ |
1542 |
ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]', |
1606 |
ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]', |
1543 |
ISBN : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]', |
1607 |
ISBN : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]', |
Lines 1550-1664
Link Here
|
1550 |
$(".NovelistSelect").show(); |
1614 |
$(".NovelistSelect").show(); |
1551 |
} |
1615 |
} |
1552 |
}); |
1616 |
}); |
1553 |
[% END %] |
1617 |
[% END %] |
1554 |
|
1618 |
|
1555 |
[% IF ( OPACShelfBrowser ) %] |
1619 |
[% IF ( OPACShelfBrowser ) %] |
|
|
1620 |
(function prepareShelfBrowser(){ |
1556 |
|
1621 |
|
1557 |
(function prepareShelfBrowser(){ |
1622 |
$(".main").on("click", ".close_shelf", function(e){ |
|
|
1623 |
e.preventDefault(); |
1624 |
$("#shelfbrowser").toggle(); |
1625 |
}); |
1558 |
|
1626 |
|
1559 |
$(".main").on("click",".close_shelf",function(e){ |
1627 |
$(".main").on("click", "#browser_previous a", function(e){ |
1560 |
e.preventDefault(); |
1628 |
e.preventDefault(); |
1561 |
$("#shelfbrowser").toggle(); |
1629 |
$.ajax({ |
1562 |
}); |
1630 |
url: "/cgi-bin/koha/svc/shelfbrowser.pl", |
1563 |
$(".main").on("click", "#browser_previous a", function(e){ |
1631 |
type: "POST", |
1564 |
e.preventDefault(); |
1632 |
data: { |
1565 |
$.ajax({ |
1633 |
"shelfbrowse_itemnumber": $("#browser_previous a").data( "prev-itemnumber" ) |
1566 |
url: "/cgi-bin/koha/svc/shelfbrowser.pl", |
1634 |
}, |
1567 |
type: "POST", |
1635 |
success: function(data){ |
1568 |
data: { |
1636 |
$("#shelfbrowser").replaceWith(data); |
1569 |
"shelfbrowse_itemnumber": $("#browser_previous a").data( "prev-itemnumber" ) |
1637 |
[% IF ( GoogleJackets ) %] |
1570 |
}, |
1638 |
KOHA.Google.GetCoverFromIsbn([% covernewwindow | html %]); |
1571 |
success: function(data){ |
1639 |
[% END %] |
1572 |
$("#shelfbrowser").replaceWith(data); |
|
|
1573 |
[% IF ( GoogleJackets ) %] |
1574 |
KOHA.Google.GetCoverFromIsbn([% covernewwindow | html %]); |
1575 |
[% END %] |
1576 |
[% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %] |
1577 |
KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]',[% covernewwindow | html %]); |
1578 |
[% END %] |
1579 |
[% IF OpenLibraryCovers %] |
1580 |
KOHA.OpenLibrary.GetCoverFromIsbn(); |
1581 |
[% END %] |
1582 |
[% IF OPACLocalCoverImages %] |
1583 |
KOHA.LocalCover.GetCoverFromBibnumber(true); |
1584 |
[% END %] |
1585 |
} |
1586 |
}); |
1587 |
}); |
1588 |
|
1640 |
|
1589 |
$(".main").on("click", "#browser_next a", function(e){ |
1641 |
[% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %] |
1590 |
e.preventDefault(); |
1642 |
KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]', [% covernewwindow | html %]); |
1591 |
$.ajax({ |
1643 |
[% END %] |
1592 |
url: "/cgi-bin/koha/svc/shelfbrowser.pl", |
1644 |
|
1593 |
type: "POST", |
1645 |
[% IF OpenLibraryCovers %] |
1594 |
data: { |
1646 |
KOHA.OpenLibrary.GetCoverFromIsbn(); |
1595 |
"shelfbrowse_itemnumber": $("#browser_next a").data( "next-itemnumber" ) |
1647 |
[% END %] |
1596 |
}, |
1648 |
|
1597 |
success: function(data){ |
1649 |
[% IF OPACLocalCoverImages %] |
1598 |
$("#shelfbrowser").replaceWith(data); |
1650 |
KOHA.LocalCover.GetCoverFromBibnumber(true); |
1599 |
[% IF ( GoogleJackets ) %] |
1651 |
[% END %] |
1600 |
KOHA.Google.GetCoverFromIsbn([% covernewwindow | html %]); |
1652 |
} |
1601 |
[% END %] |
1653 |
}); |
1602 |
[% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %] |
1654 |
}); |
1603 |
KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]',[% covernewwindow | html %]); |
1655 |
|
1604 |
[% END %] |
1656 |
$(".main").on("click", "#browser_next a", function(e){ |
1605 |
[% IF OpenLibraryCovers %] |
1657 |
e.preventDefault(); |
1606 |
KOHA.OpenLibrary.GetCoverFromIsbn(); |
1658 |
$.ajax({ |
1607 |
[% END %] |
1659 |
url: "/cgi-bin/koha/svc/shelfbrowser.pl", |
1608 |
[% IF OPACLocalCoverImages %] |
1660 |
type: "POST", |
1609 |
KOHA.LocalCover.GetCoverFromBibnumber(true); |
1661 |
data: { |
1610 |
[% END %] |
1662 |
"shelfbrowse_itemnumber": $("#browser_next a").data( "next-itemnumber" ) |
|
|
1663 |
}, |
1664 |
success: function(data){ |
1665 |
$("#shelfbrowser").replaceWith(data); |
1666 |
[% IF ( GoogleJackets ) %] |
1667 |
KOHA.Google.GetCoverFromIsbn([% covernewwindow | html %]); |
1668 |
[% END %] |
1669 |
|
1670 |
[% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %] |
1671 |
KOHA.coce.getURL('[% Koha.Preference('CoceHost') | html %]', '[% Koha.Preference('CoceProviders') | html %]', [% covernewwindow | html %]); |
1672 |
[% END %] |
1673 |
|
1674 |
[% IF OpenLibraryCovers %] |
1675 |
KOHA.OpenLibrary.GetCoverFromIsbn(); |
1676 |
[% END %] |
1677 |
|
1678 |
[% IF OPACLocalCoverImages %] |
1679 |
KOHA.LocalCover.GetCoverFromBibnumber(true); |
1680 |
[% END %] |
1681 |
} |
1682 |
}); |
1683 |
}); |
1684 |
}()); |
1685 |
[% END %] |
1686 |
|
1687 |
[% IF ( OpacStarRatings != 'disable' ) %] |
1688 |
// ----------------------------------------------------- |
1689 |
// star-ratings code |
1690 |
// ----------------------------------------------------- |
1691 |
// hide 'rate' button if javascript enabled |
1692 |
|
1693 |
$('input[name="rate_button"]').remove(); |
1694 |
|
1695 |
var rating_enabled = ( $("#star_rating").data("rating-enabled") == "1" ) ? false : true; |
1696 |
$('#star_rating').barrating({ |
1697 |
theme: 'fontawesome-stars', |
1698 |
showSelectedRating: false, |
1699 |
allowEmpty: true, |
1700 |
deselectable: false, |
1701 |
readonly: rating_enabled, |
1702 |
onSelect: function(value, text) { |
1703 |
$("#rating-loading").show(); |
1704 |
$.post("/cgi-bin/koha/opac-ratings-ajax.pl", { |
1705 |
rating_old_value: $("#rating_value").attr("value"), |
1706 |
borrowernumber: "[% borrowernumber | html %]", |
1707 |
biblionumber: "[% biblio.biblionumber | html %]", |
1708 |
rating_value: value, |
1709 |
auth_error: value |
1710 |
}, function (data) { |
1711 |
$("#rating_value").val(data.rating_value); |
1712 |
if (data.rating_value) { |
1713 |
$("#rating_value_text").text(_("Your rating: %s, ").format(data.rating_value)); |
1714 |
$("#cancel_rating_text").show(); |
1715 |
} else { |
1716 |
$("#rating_value_text").text(''); |
1717 |
$("#cancel_rating_text").hide(); |
1718 |
} |
1719 |
$("#rating_text").text(_("Average rating: %s (%s votes)").format(data.rating_avg, data.rating_total)); |
1720 |
$("#rating-loading").hide(); |
1721 |
}, "json"); |
1611 |
} |
1722 |
} |
1612 |
}); |
1723 |
}); |
1613 |
}); |
|
|
1614 |
}()); |
1615 |
[% END %] |
1616 |
[% IF ( OpacStarRatings != 'disable' ) %] |
1617 |
// ----------------------------------------------------- |
1618 |
// star-ratings code |
1619 |
// ----------------------------------------------------- |
1620 |
// hide 'rate' button if javascript enabled |
1621 |
|
1622 |
$('input[name="rate_button"]').remove(); |
1623 |
|
1624 |
var rating_enabled = ( $("#star_rating").data("rating-enabled") == "1" ) ? false : true; |
1625 |
$('#star_rating').barrating({ |
1626 |
theme: 'fontawesome-stars', |
1627 |
showSelectedRating: false, |
1628 |
allowEmpty: true, |
1629 |
deselectable: false, |
1630 |
readonly: rating_enabled, |
1631 |
onSelect: function(value, text) { |
1632 |
$("#rating-loading").show(); |
1633 |
$.post("/cgi-bin/koha/opac-ratings-ajax.pl", { |
1634 |
rating_old_value: $("#rating_value").attr("value"), |
1635 |
borrowernumber: "[% borrowernumber | html %]", |
1636 |
biblionumber: "[% biblio.biblionumber | html %]", |
1637 |
rating_value: value, |
1638 |
auth_error: value |
1639 |
}, function (data) { |
1640 |
$("#rating_value").val(data.rating_value); |
1641 |
if (data.rating_value) { |
1642 |
$("#rating_value_text").text(_("Your rating: %s, ").format(data.rating_value)); |
1643 |
$("#cancel_rating_text").show(); |
1644 |
} else { |
1645 |
$("#rating_value_text").text(''); |
1646 |
$("#cancel_rating_text").hide(); |
1647 |
} |
1648 |
$("#rating_text").text(_("Average rating: %s (%s votes)").format(data.rating_avg, data.rating_total)); |
1649 |
$("#rating-loading").hide(); |
1650 |
}, "json"); |
1651 |
} |
1652 |
}); |
1653 |
|
1724 |
|
1654 |
$("#cancel_rating_text a").on("click", function(e){ |
1725 |
$("#cancel_rating_text a").on("click", function(e){ |
1655 |
e.preventDefault(); |
1726 |
e.preventDefault(); |
1656 |
$("#star_rating").barrating("set", ""); |
1727 |
$("#star_rating").barrating("set", ""); |
1657 |
}); |
1728 |
}); |
1658 |
|
1729 |
|
1659 |
[% END # / IF ( OpacStarRatings != 'disable' )%] |
1730 |
[% END # / IF ( OpacStarRatings != 'disable' ) %] |
1660 |
|
1731 |
|
1661 |
}); |
1732 |
}); |
1662 |
|
1733 |
|
1663 |
$(document).ready(function() { |
1734 |
$(document).ready(function() { |
1664 |
if( OPACPopupAuthorsSearch == "1" ){ |
1735 |
if( OPACPopupAuthorsSearch == "1" ){ |
Lines 1672-1678
Link Here
|
1672 |
"keyword_search" : "su:", |
1743 |
"keyword_search" : "su:", |
1673 |
} |
1744 |
} |
1674 |
} |
1745 |
} |
1675 |
$(".contributors,.subject").on("click", function(e){ |
1746 |
$(".contributors, .subject").on("click", function(e){ |
1676 |
e.preventDefault(); |
1747 |
e.preventDefault(); |
1677 |
var term = $(this).attr("class"); |
1748 |
var term = $(this).attr("class"); |
1678 |
var selected_term = $(this).text(); |
1749 |
var selected_term = $(this).text(); |
1679 |
- |
|
|