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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +6 lines)
Lines 3-8 Link Here
3
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% USE Biblio %]
5
[% USE Biblio %]
6
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
7
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
6
8
7
[% ShowCourseReserves = 0 %]
9
[% ShowCourseReserves = 0 %]
8
[% IF UseCourseReserves %]
10
[% IF UseCourseReserves %]
Lines 427-437 function verify_images() { Link Here
427
            </span>
429
            </span>
428
        [% END %]
430
        [% END %]
429
431
430
        [% IF ( AmazonCoverImages  || LocalCoverImages ) %]
432
        [% IF ( AmazonCoverImages  || LocalCoverImages || AdlibrisEnabled ) %]
431
        </div><div class="yui-u" id="bookcoverimg">
433
        </div><div class="yui-u" id="bookcoverimg">
432
        [% IF ( LocalCoverImages ) %]
434
        [% IF ( LocalCoverImages ) %]
433
            <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
435
            <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
434
        [% END %]
436
        [% END %]
437
        [% IF ( AdlibrisEnabled && normalized_isbn ) %]
438
            <a href="[% AdlibrisURL %]?isbn=[% normalized_isbn %]"><img src="[% AdlibrisURL %]?isbn=[% normalized_isbn %]" class="adlibris-cover-big" alt="Adlibris cover image" /></a>
439
        [% END %]
435
        [% IF ( AmazonCoverImages ) %]
440
        [% IF ( AmazonCoverImages ) %]
436
            <div id="amazon-bookcoverimg">
441
            <div id="amazon-bookcoverimg">
437
            <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link">
442
            <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-4 / +8 lines)
Lines 1-5 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE Biblio %]
2
[% USE Biblio %]
3
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
4
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
3
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Catalog &rsaquo; [% IF ( searchdesc ) %]Results of search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %][% ELSE %]You did not specify any search criteria[% END %]</title>
6
<title>Koha &rsaquo; Catalog &rsaquo; [% IF ( searchdesc ) %]Results of search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %][% ELSE %]You did not specify any search criteria[% END %]</title>
5
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
Lines 497-517 var holdForPatron = function () { Link Here
497
                    <!-- TABLE RESULTS START -->
499
                    <!-- TABLE RESULTS START -->
498
                <table>
500
                <table>
499
                    <tr>
501
                    <tr>
500
                        [% IF ( AmazonCoverImages || LocalCoverImages ) %]<th>&nbsp;</th>[% END %]
502
                        [% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled ) %]<th>&nbsp;</th>[% END %]
501
                        <th colspan="2">Results</th>
503
                        <th colspan="2">Results</th>
502
                        <th>Location</th>
504
                        <th>Location</th>
503
                    </tr>
505
                    </tr>
504
                        <!-- Actual Search Results -->
506
                        <!-- Actual Search Results -->
505
                        [% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %]
507
                        [% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %]
506
                        [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
508
                        [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
507
                            <tr>
509
                         [% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
508
                            [% IF ( AmazonCoverImages || LocalCoverImages ) %]
510
                            [% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled ) %]
509
                                <td>
511
                                <td>
510
                                    [% IF ( LocalCoverImages) %]
512
                                    [% IF ( LocalCoverImages) %]
511
                                        <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
513
                                        <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
512
                                        <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></span>
514
                                        <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></span>
513
                                        </a>
515
                                        </a>
514
                                    [% END %]
516
                                    [% END %]
517
                                    [% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %]
518
                                        <a href="[% AdlibrisURL %]?isbn=[% SEARCH_RESULT.normalized_isbn %]"><img src="[% AdlibrisURL %]?isbn=[% SEARCH_RESULT.normalized_isbn %]" class="adlibris-cover" alt="Adlibris cover image" /></a>
519
                                    [% END %]
515
                                    [% IF ( AmazonCoverImages ) %]
520
                                    [% IF ( AmazonCoverImages ) %]
516
                                        [% IF ( SEARCH_RESULT.normalized_isbn ) %]
521
                                        [% IF ( SEARCH_RESULT.normalized_isbn ) %]
517
                                            <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
522
                                            <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
518
- 

Return to bug 8630