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 2-7 Link Here
2
[% USE KohaDates %]
2
[% USE KohaDates %]
3
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
6
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
5
7
6
[% ShowCourseReserves = 0 %]
8
[% ShowCourseReserves = 0 %]
7
[% IF UseCourseReserves %]
9
[% IF UseCourseReserves %]
Lines 380-390 function verify_images() { Link Here
380
        <span id="catalogue_detail_marc_preview" class="results_summary"><span class="label">MARC Preview:</span> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]&amp;viewas=html" title="MARC" class="previewMARC">Show</a></span>
382
        <span id="catalogue_detail_marc_preview" class="results_summary"><span class="label">MARC Preview:</span> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]&amp;viewas=html" title="MARC" class="previewMARC">Show</a></span>
381
        [% IF ( holdcount ) %]<span class="results_summary"><span class="label">Holds:</span> <span class="holdcount"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a></span></span>[% ELSE %][% END %]
383
        [% IF ( holdcount ) %]<span class="results_summary"><span class="label">Holds:</span> <span class="holdcount"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a></span></span>[% ELSE %][% END %]
382
384
383
        [% IF ( AmazonCoverImages  || LocalCoverImages ) %]
385
        [% IF ( AmazonCoverImages  || LocalCoverImages || AdlibrisEnabled ) %]
384
        </div><div class="yui-u" id="bookcoverimg">
386
        </div><div class="yui-u" id="bookcoverimg">
385
        [% IF ( LocalCoverImages ) %]
387
        [% IF ( LocalCoverImages ) %]
386
            <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
388
            <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
387
        [% END %]
389
        [% END %]
390
        [% IF ( AdlibrisEnabled && normalized_isbn ) %]
391
            <a href="[% AdlibrisURL %]?isbn=[% normalized_isbn %]"><img src="[% AdlibrisURL %]?isbn=[% normalized_isbn %]" class="adlibris-cover-big" alt="Adlibris cover image" /></a>
392
        [% END %]
388
        [% IF ( AmazonCoverImages ) %]
393
        [% IF ( AmazonCoverImages ) %]
389
            <div id="amazon-bookcoverimg">
394
            <div id="amazon-bookcoverimg">
390
            <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link">
395
            <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 (-3 / +7 lines)
Lines 1-4 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
3
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
2
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
3
<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
<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>
4
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
Lines 437-456 var holdForPatron = function () { Link Here
437
                    <!-- TABLE RESULTS START -->
439
                    <!-- TABLE RESULTS START -->
438
                <table>
440
                <table>
439
                    <tr>
441
                    <tr>
440
                        [% IF ( AmazonCoverImages || LocalCoverImages ) %]<th>&nbsp;</th>[% END %]
442
                        [% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled ) %]<th>&nbsp;</th>[% END %]
441
                        <th colspan="2">Results</th>
443
                        <th colspan="2">Results</th>
442
                        <th>Location</th>
444
                        <th>Location</th>
443
                    </tr>
445
                    </tr>
444
                        <!-- Actual Search Results -->
446
                        <!-- Actual Search Results -->
445
                        [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
447
                        [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
446
                         [% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
448
                         [% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
447
                            [% IF ( AmazonCoverImages || LocalCoverImages ) %]
449
                            [% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled ) %]
448
                                <td>
450
                                <td>
449
                                    [% IF ( LocalCoverImages) %]
451
                                    [% IF ( LocalCoverImages) %]
450
                                        <a class="p1" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
452
                                        <a class="p1" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
451
                                        <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></span>
453
                                        <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></span>
452
                                        </a>
454
                                        </a>
453
                                    [% END %]
455
                                    [% END %]
456
                                    [% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %]
457
                                        <a href="[% AdlibrisURL %]?isbn=[% SEARCH_RESULT.normalized_isbn %]"><img src="[% AdlibrisURL %]?isbn=[% SEARCH_RESULT.normalized_isbn %]" class="adlibris-cover" alt="Adlibris cover image" /></a>
458
                                    [% END %]
454
                                    [% IF ( AmazonCoverImages ) %]
459
                                    [% IF ( AmazonCoverImages ) %]
455
                                        [% IF ( SEARCH_RESULT.normalized_isbn ) %]
460
                                        [% IF ( SEARCH_RESULT.normalized_isbn ) %]
456
                                            <a class="p1" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
461
                                            <a class="p1" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber |url %]">
457
- 

Return to bug 8630