View | Details | Raw Unified | Return to bug 24740
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-7 / +12 lines)
Lines 250-268 Link Here
250
                                            <td class="bibliocol">
250
                                            <td class="bibliocol">
251
                                                <div class="coverimages itemtype_[% SEARCH_RESULT.itemtype | html %]">
251
                                                <div class="coverimages itemtype_[% SEARCH_RESULT.itemtype | html %]">
252
                                                    <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">
252
                                                    <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">
253
                                                        [% IF ( SEARCH_RESULT.title ) %]
254
								[% img_title = SEARCH_RESULT.title | html %]
255
                                                        [% ELSE %]
256
								[% img_title = SEARCH_RESULT.biblionumber |url  %]
257
                                                        [% END %]
253
                                                        [% IF ( OPACLocalCoverImages ) %]
258
                                                        [% IF ( OPACLocalCoverImages ) %]
254
                                                            <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span>
259
                                                            <span title="[% img_title %]" class="[% SEARCH_RESULT.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span>
255
                                                        [% END %]
260
                                                        [% END %]
256
261
257
                                                        [% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %]
262
                                                        [% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %]
258
                                                            <span title="[% SEARCH_RESULT.biblionumber | html %]" id="adlibris-thumbnail[% loop.count | html %]">
263
                                                            <span title="[% img_title %]" id="adlibris-thumbnail[% loop.count | html %]">
259
                                                                <img src="[% AdlibrisURL | html %]?isbn=[% SEARCH_RESULT.normalized_isbn | html %]"
264
                                                                <img src="[% AdlibrisURL | html %]?isbn=[% SEARCH_RESULT.normalized_isbn | html %]"
260
                                                                     alt="Adlibris thumbnail for ISBN: [% SEARCH_RESULT.normalized_isbn | html %]" class="adlibris-cover" />
265
                                                                     alt="Adlibris thumbnail for ISBN: [% SEARCH_RESULT.normalized_isbn | html %]" class="adlibris-cover" />
261
                                                            </span>
266
                                                            </span>
262
                                                        [% END %]
267
                                                        [% END %]
263
                                                        [% IF ( OPACAmazonCoverImages ) %]
268
                                                        [% IF ( OPACAmazonCoverImages ) %]
264
                                                            [% IF ( SEARCH_RESULT.normalized_isbn ) %]
269
                                                            [% IF ( SEARCH_RESULT.normalized_isbn ) %]
265
                                                                    <span title="[% SEARCH_RESULT.biblionumber | html %]" id="amazon-thumbnail[% loop.count | html %]"><img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" class="item-thumbnail" /></span>
270
                                                                    <span title="[% img_title %]" id="amazon-thumbnail[% loop.count | html %]"><img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" class="item-thumbnail" /></span>
266
                                                            [% ELSE %]
271
                                                            [% ELSE %]
267
                                                                <span class="no-image">No cover image available</span>
272
                                                                <span class="no-image">No cover image available</span>
268
                                                            [% END %]
273
                                                            [% END %]
Lines 270-276 Link Here
270
275
271
                                                        [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
276
                                                        [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
272
                                                            [% IF ( SEARCH_RESULT.normalized_isbn || SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_oclc ) %]
277
                                                            [% IF ( SEARCH_RESULT.normalized_isbn || SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_oclc ) %]
273
                                                                    <span title="[% SEARCH_RESULT.biblionumber | html %]" id="syndetics-thumbnail[% loop.count | html %]"><img src="https://secure.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn | html %]/SC.GIF&amp;client=[% SyndeticsClientCode | html %]&amp;type=xw10&amp;upc=[% SEARCH_RESULT.normalized_upc | html %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc | html %]" alt="" class="item-thumbnail" /></span>
278
                                                                    <span title="[% img_title %]" id="syndetics-thumbnail[% loop.count | html %]"><img src="https://secure.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn | html %]/SC.GIF&amp;client=[% SyndeticsClientCode | html %]&amp;type=xw10&amp;upc=[% SEARCH_RESULT.normalized_upc | html %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc | html %]" alt="" class="item-thumbnail" /></span>
274
                                                            [% ELSE %]
279
                                                            [% ELSE %]
275
                                                                <span class="no-image">No cover image available</span>
280
                                                                <span class="no-image">No cover image available</span>
276
                                                            [% END %]
281
                                                            [% END %]
Lines 278-284 Link Here
278
283
279
                                                        [% IF ( GoogleJackets ) %]
284
                                                        [% IF ( GoogleJackets ) %]
280
                                                            [% IF ( SEARCH_RESULT.normalized_isbn ) %]
285
                                                            [% IF ( SEARCH_RESULT.normalized_isbn ) %]
281
                                                                <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.normalized_isbn | html %]" id="gbs-thumbnail[% loop.count | html %]"></span>
286
                                                                <span title="[% img_title %]" class="[% SEARCH_RESULT.normalized_isbn | html %]" id="gbs-thumbnail[% loop.count | html %]"></span>
282
                                                            [% ELSE %]
287
                                                            [% ELSE %]
283
                                                                <span class="no-image">No cover image available</span>
288
                                                                <span class="no-image">No cover image available</span>
284
                                                            [% END %]
289
                                                            [% END %]
Lines 287-293 Link Here
287
                                                        [% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %]
292
                                                        [% IF ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) %]
288
                                                          [% coce_id = SEARCH_RESULT.normalized_ean || SEARCH_RESULT.normalized_isbn | html %]
293
                                                          [% coce_id = SEARCH_RESULT.normalized_ean || SEARCH_RESULT.normalized_isbn | html %]
289
                                                          [% IF ( coce_id ) %]
294
                                                          [% IF ( coce_id ) %]
290
                                                            <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% coce_id | html %]" id="coce-thumbnail[% loop.count | html %]"></span>
295
                                                            <span title="[% img_title %]" class="[% coce_id | html %]" id="coce-thumbnail[% loop.count | html %]"></span>
291
                                                          [% ELSE %]
296
                                                          [% ELSE %]
292
                                                            <span class="no-image">No cover image available</span>
297
                                                            <span class="no-image">No cover image available</span>
293
                                                          [% END %]
298
                                                          [% END %]
Lines 295-301 Link Here
295
300
296
                                                        [% IF OpenLibraryCovers %]
301
                                                        [% IF OpenLibraryCovers %]
297
                                                            [% IF SEARCH_RESULT.normalized_isbn %]
302
                                                            [% IF SEARCH_RESULT.normalized_isbn %]
298
                                                                <span title="[% SEARCH_RESULT.biblionumber | html %]" class="[% SEARCH_RESULT.normalized_isbn | html %]" id="openlibrary-thumbnail[% loop.count | html %]"></span>
303
                                                                <span title="[% img_title %]" class="[% SEARCH_RESULT.normalized_isbn | html %]" id="openlibrary-thumbnail[% loop.count | html %]"></span>
299
                                                            [% ELSE %]
304
                                                            [% ELSE %]
300
                                                                <span class="no-image">No cover image available</span>
305
                                                                <span class="no-image">No cover image available</span>
301
                                                            [% END %]
306
                                                            [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-7 / +12 lines)
Lines 323-349 Link Here
323
                                                <td>
323
                                                <td>
324
                                                    <div class="coverimages">
324
                                                    <div class="coverimages">
325
                                                        <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% itemsloo.biblionumber | html %]">
325
                                                        <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% itemsloo.biblionumber | html %]">
326
                                                            [% IF ( itemsloo.title ) %]
327
								[% img_title = itemsloo.title | html %]
328
                                                            [% ELSE %]
329
								[% img_title = itemsloo.biblionumber |url  %]
330
                                                            [% END %]
331
326
                                                            [% IF ( OPACLocalCoverImages ) %]
332
                                                            [% IF ( OPACLocalCoverImages ) %]
327
                                                                <span title="[% itemsloo.biblionumber |url %]" class="[% itemsloo.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span>
333
                                                                <span title="[% img_title %]" class="[% itemsloo.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span>
328
                                                            [% END %]
334
                                                            [% END %]
329
                                                            [% IF ( AdlibrisEnabled && itemsloo.normalized_isbn ) %]
335
                                                            [% IF ( AdlibrisEnabled && itemsloo.normalized_isbn ) %]
330
                                                                <img src="[% AdlibrisURL | html %]?isbn=[% itemsloo.normalized_isbn | html %]" class="adlibris-cover" alt="Adlibris cover image" />
336
                                                                <img src="[% AdlibrisURL | html %]?isbn=[% itemsloo.normalized_isbn | html %]" class="adlibris-cover" alt="Adlibris cover image" />
331
                                                            [% END %]
337
                                                            [% END %]
332
                                                            [% IF ( OPACAmazonCoverImages ) %]
338
                                                            [% IF ( OPACAmazonCoverImages ) %]
333
                                                                [% IF ( itemsloo.normalized_isbn ) %]
339
                                                                [% IF ( itemsloo.normalized_isbn ) %]
334
                                                                    <span title="[% itemsloo.biblionumber | html %]" id="amazon-thumbnail[% loop.count | html %]"><img src="https://images-na.ssl-images-amazon.com/images/P/[% itemsloo.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" /></span>
340
                                                                    <span title="[% img_title %]" id="amazon-thumbnail[% loop.count | html %]"><img src="https://images-na.ssl-images-amazon.com/images/P/[% itemsloo.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" /></span>
335
                                                                [% ELSE %]
341
                                                                [% ELSE %]
336
                                                                    <span class="no-image">No cover image available</span>
342
                                                                    <span class="no-image">No cover image available</span>
337
                                                                [% END %]
343
                                                                [% END %]
338
                                                            [% END %]
344
                                                            [% END %]
339
345
340
                                                            [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
346
                                                            [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
341
                                                                <span title="[% itemsloo.biblionumber | html %]" id="syndetics-thumbnail[% loop.count | html %]"><img src="https://secure.syndetics.com/index.aspx?isbn=[% itemsloo.normalized_isbn | html %]/SC.GIF&amp;client=[% SyndeticsClientCode | html %]&amp;type=xw10&amp;upc=[% itemsloo.normalized_upc | html %]&amp;oclc=[% itemsloo.normalized_oclc | html %]" alt="" /></span>
347
                                                                <span title="[% img_title %]" id="syndetics-thumbnail[% loop.count | html %]"><img src="https://secure.syndetics.com/index.aspx?isbn=[% itemsloo.normalized_isbn | html %]/SC.GIF&amp;client=[% SyndeticsClientCode | html %]&amp;type=xw10&amp;upc=[% itemsloo.normalized_upc | html %]&amp;oclc=[% itemsloo.normalized_oclc | html %]" alt="" /></span>
342
                                                            [% END %]
348
                                                            [% END %]
343
349
344
                                                            [% IF ( GoogleJackets ) %]
350
                                                            [% IF ( GoogleJackets ) %]
345
                                                                [% IF ( itemsloo.normalized_isbn ) %]
351
                                                                [% IF ( itemsloo.normalized_isbn ) %]
346
                                                                    <div title="[% itemsloo.biblionumber |url %]" class="[% itemsloo.normalized_isbn | html %]" id="gbs-thumbnail[% loop.count | html %]"></div>
352
                                                                    <div title="[% img_title %]" class="[% itemsloo.normalized_isbn | html %]" id="gbs-thumbnail[% loop.count | html %]"></div>
347
                                                                [% ELSE %]
353
                                                                [% ELSE %]
348
                                                                    <span class="no-image">No cover image available</span>
354
                                                                    <span class="no-image">No cover image available</span>
349
                                                                [% END %]
355
                                                                [% END %]
Lines 352-358 Link Here
352
                                                            [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
358
                                                            [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
353
                                                                [% coce_id = itemsloo.normalized_ean || itemsloo.normalized_isbn %]
359
                                                                [% coce_id = itemsloo.normalized_ean || itemsloo.normalized_isbn %]
354
                                                                [% IF ( coce_id ) %]
360
                                                                [% IF ( coce_id ) %]
355
                                                                    <span title="[% itemsloo.biblionumber |url %]" class="[% coce_id | html %]" id="coce-thumbnail[% loop.count | html %]"></span>
361
                                                                    <span title="[% img_title %]" class="[% coce_id | html %]" id="coce-thumbnail[% loop.count | html %]"></span>
356
                                                                [% ELSE %]
362
                                                                [% ELSE %]
357
                                                                    <span class="no-image">No cover image available</span>
363
                                                                    <span class="no-image">No cover image available</span>
358
                                                                [% END %]
364
                                                                [% END %]
Lines 361-367 Link Here
361
367
362
                                                            [% IF OpenLibraryCovers %]
368
                                                            [% IF OpenLibraryCovers %]
363
                                                                [% IF itemsloo.normalized_isbn %]
369
                                                                [% IF itemsloo.normalized_isbn %]
364
                                                                    <span title="[% itemsloo.biblionumber | html %]" class="[% itemsloo.normalized_isbn | html %]" id="openlibrary-thumbnail[% loop.count | html %]"></span>
370
                                                                    <span title="[% img_title %]" class="[% itemsloo.normalized_isbn | html %]" id="openlibrary-thumbnail[% loop.count | html %]"></span>
365
                                                                [% ELSE %]
371
                                                                [% ELSE %]
366
                                                                    <span class="no-image">No cover image available</span>
372
                                                                    <span class="no-image">No cover image available</span>
367
                                                                [% END %]
373
                                                                [% END %]
368
- 

Return to bug 24740