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
[% IF Koha.Preference('AmazonAssocTag') %]
9
[% IF Koha.Preference('AmazonAssocTag') %]
8
    [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
10
    [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
Lines 433-443 function verify_images() { Link Here
433
            </span>
435
            </span>
434
        [% END %]
436
        [% END %]
435
437
436
        [% IF ( AmazonCoverImages  || LocalCoverImages ) %]
438
        [% IF ( AmazonCoverImages  || LocalCoverImages || AdlibrisEnabled ) %]
437
        </div><div class="yui-u" id="bookcoverimg">
439
        </div><div class="yui-u" id="bookcoverimg">
438
        [% IF ( LocalCoverImages ) %]
440
        [% IF ( LocalCoverImages ) %]
439
            <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
441
            <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
440
        [% END %]
442
        [% END %]
443
        [% IF ( AdlibrisEnabled && normalized_isbn ) %]
444
            <a href="[% AdlibrisURL %]?isbn=[% normalized_isbn %]"><img src="[% AdlibrisURL %]?isbn=[% normalized_isbn %]" class="adlibris-cover-big" alt="Adlibris cover image" /></a>
445
        [% END %]
441
        [% IF ( AmazonCoverImages ) %]
446
        [% IF ( AmazonCoverImages ) %]
442
            <div id="amazon-bookcoverimg">
447
            <div id="amazon-bookcoverimg">
443
            <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %][% AmazonAssocTag %]#reader-link">
448
            <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %][% AmazonAssocTag %]#reader-link">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-4 / +8 lines)
Lines 1-6 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE Biblio %]
2
[% USE Biblio %]
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
5
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
4
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
5
<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>
7
<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
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
Lines 498-518 var holdForPatron = function () { Link Here
498
                    <!-- TABLE RESULTS START -->
500
                    <!-- TABLE RESULTS START -->
499
                <table>
501
                <table>
500
                    <tr>
502
                    <tr>
501
                        [% IF ( AmazonCoverImages || LocalCoverImages ) %]<th>&nbsp;</th>[% END %]
503
                        [% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled ) %]<th>&nbsp;</th>[% END %]
502
                        <th colspan="2">Results</th>
504
                        <th colspan="2">Results</th>
503
                        <th>Location</th>
505
                        <th>Location</th>
504
                    </tr>
506
                    </tr>
505
                        <!-- Actual Search Results -->
507
                        <!-- Actual Search Results -->
506
                        [% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %]
508
                        [% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %]
507
                        [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
509
                        [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
508
                            <tr>
510
                         [% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
509
                            [% IF ( AmazonCoverImages || LocalCoverImages ) %]
511
                            [% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled ) %]
510
                                <td>
512
                                <td>
511
                                    [% IF ( LocalCoverImages) %]
513
                                    [% IF ( LocalCoverImages) %]
512
                                        <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
514
                                        <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
513
                                        <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></span>
515
                                        <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></span>
514
                                        </a>
516
                                        </a>
515
                                    [% END %]
517
                                    [% END %]
518
                                    [% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %]
519
                                        <a href="[% AdlibrisURL %]?isbn=[% SEARCH_RESULT.normalized_isbn %]"><img src="[% AdlibrisURL %]?isbn=[% SEARCH_RESULT.normalized_isbn %]" class="adlibris-cover" alt="Adlibris cover image" /></a>
520
                                    [% END %]
516
                                    [% IF ( AmazonCoverImages ) %]
521
                                    [% IF ( AmazonCoverImages ) %]
517
                                        [% IF ( SEARCH_RESULT.normalized_isbn ) %]
522
                                        [% IF ( SEARCH_RESULT.normalized_isbn ) %]
518
                                            <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
523
                                            <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
519
- 

Return to bug 8630