Lines 1-8
Link Here
|
1 |
[% USE raw %] |
1 |
[% USE raw %] |
2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
3 |
[% USE Koha %] |
3 |
[% USE Koha %] |
|
|
4 |
[% USE KohaPlugins %] |
5 |
[% USE To %] |
4 |
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnList ) %] |
6 |
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnList ) %] |
5 |
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnList ) %] |
7 |
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnList ) %] |
|
|
8 |
[% SET CoverImagePlugins = KohaPlugins.get_plugins_intranet_cover_images %] |
6 |
|
9 |
|
7 |
[% IF firstPage %] |
10 |
[% IF firstPage %] |
8 |
[% SET OverDriveEnabled = Koha.Preference('OverDriveLibraryID') && Koha.Preference('OverDriveClientKey') && Koha.Preference('OverDriveClientSecret') %] |
11 |
[% SET OverDriveEnabled = Koha.Preference('OverDriveLibraryID') && Koha.Preference('OverDriveClientKey') && Koha.Preference('OverDriveClientSecret') %] |
Lines 341-353
Link Here
|
341 |
|
344 |
|
342 |
[% # Cell 4: Search result details and controls %] |
345 |
[% # Cell 4: Search result details and controls %] |
343 |
<td class="bibliocol"> |
346 |
<td class="bibliocol"> |
344 |
<div class="coverimages itemtype_[% SEARCH_RESULT.itemtype | html %]"> |
347 |
[% IF ( SEARCH_RESULT.title ) %] |
|
|
348 |
[% img_title = SEARCH_RESULT.title %] |
349 |
[% ELSE %] |
350 |
[% img_title = SEARCH_RESULT.biblionumber %] |
351 |
[% END %] |
352 |
<div class="coverimages cover-slides itemtype_[% SEARCH_RESULT.itemtype | html %]" data-isbn="[% To.json(SEARCH_RESULT.normalized_isbn) | $raw %]" data-imgtitle="[% img_title | html %]"> |
345 |
<a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]"> |
353 |
<a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]"> |
346 |
[% IF ( SEARCH_RESULT.title ) %] |
354 |
|
347 |
[% img_title = SEARCH_RESULT.title %] |
|
|
348 |
[% ELSE %] |
349 |
[% img_title = SEARCH_RESULT.biblionumber %] |
350 |
[% END %] |
351 |
[% IF ( OPACLocalCoverImages ) %] |
355 |
[% IF ( OPACLocalCoverImages ) %] |
352 |
<span title="[% img_title | html %]" class="[% SEARCH_RESULT.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span> |
356 |
<span title="[% img_title | html %]" class="[% SEARCH_RESULT.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span> |
353 |
[% END %] |
357 |
[% END %] |
Lines 587-593
Link Here
|
587 |
[% IF OpenLibraryCovers || OpenLibrarySearch %] |
591 |
[% IF OpenLibraryCovers || OpenLibrarySearch %] |
588 |
[% Asset.js("js/openlibrary.js") | $raw %] |
592 |
[% Asset.js("js/openlibrary.js") | $raw %] |
589 |
[% END %] |
593 |
[% END %] |
590 |
|
594 |
[% IF ( CoverImagePlugins ) %] |
|
|
595 |
[% KohaPlugins.get_plugins_opac_cover_images | $raw %] |
596 |
[% END %] |
591 |
<script> |
597 |
<script> |
592 |
[% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'OPACHoldRequests' ) == 1 ) %] |
598 |
[% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'OPACHoldRequests' ) == 1 ) %] |
593 |
function holdMultiple() { |
599 |
function holdMultiple() { |
594 |
- |
|
|