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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (+7 lines)
Lines 13-18 Link Here
13
[% ELSE %]
13
[% ELSE %]
14
    [% AmazonAssocTag = '' | html %]
14
    [% AmazonAssocTag = '' | html %]
15
[% END %]
15
[% END %]
16
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
17
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
16
18
17
[% ShowCourseReservesHeader = 0 | html %]
19
[% ShowCourseReservesHeader = 0 | html %]
18
[% IF Koha.Preference( 'UseCourseReserves' ) == 1 %]
20
[% IF Koha.Preference( 'UseCourseReserves' ) == 1 %]
Lines 57-62 Link Here
57
                    [% IF ( OPACLocalCoverImages ) %]
59
                    [% IF ( OPACLocalCoverImages ) %]
58
                        <div title="[% biblio.biblionumber | html %]" class="[% biblio.biblionumber | html %]" id="local-thumbnail-preview"></div>
60
                        <div title="[% biblio.biblionumber | html %]" class="[% biblio.biblionumber | html %]" id="local-thumbnail-preview"></div>
59
                    [% END %]
61
                    [% END %]
62
63
                    [% IF ( AdlibrisEnabled && normalized_isbn ) %]
64
                        <a href="[% AdlibrisURL | html %]?isbn=[% normalized_isbn | html %]"><img src="[% AdlibrisURL | html %]?isbn=[% normalized_isbn | html %]" alt="Cover image" class="adlibris-cover-big" /></a>
65
                    [% END %]
66
60
                    [% IF ( OPACAmazonCoverImages ) %]
67
                    [% IF ( OPACAmazonCoverImages ) %]
61
                        [% IF ( OPACURLOpenInNewWindow ) %]
68
                        [% IF ( OPACURLOpenInNewWindow ) %]
62
                            <a href="http://www.amazon[% AmazonTld | html %]/gp/reader/[% normalized_isbn | html %][% AmazonAssocTag | html %]#reader-link" target="_blank" rel="noreferrer">
69
                            <a href="http://www.amazon[% AmazonTld | html %]/gp/reader/[% normalized_isbn | html %][% AmazonAssocTag | html %]#reader-link" target="_blank" rel="noreferrer">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt (+7 lines)
Lines 1-5 Link Here
1
<?xml version='1.0' encoding='utf-8'  ?>
1
<?xml version='1.0' encoding='utf-8'  ?>
2
[% USE Koha %]
2
[% USE Koha %]
3
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
4
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
5
3
[% IF ( opensearchdescription ) %]
6
[% IF ( opensearchdescription ) %]
4
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
7
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
5
   <ShortName>[% LibraryName | html %] Search</ShortName>
8
   <ShortName>[% LibraryName | html %] Search</ShortName>
Lines 37-44 Link Here
37
       <dc:identifier>ISBN [% SEARCH_RESULT.isbn | html %]</dc:identifier>
40
       <dc:identifier>ISBN [% SEARCH_RESULT.isbn | html %]</dc:identifier>
38
       <link>[% IF ( SEARCH_RESULT.BiblioDefaultViewmarc ) %][% OPACBaseURL | html %]/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% ELSE %][% IF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %][% OPACBaseURL | html %]/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% ELSE %][% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% END %][% END %]</link>
41
       <link>[% IF ( SEARCH_RESULT.BiblioDefaultViewmarc ) %][% OPACBaseURL | html %]/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% ELSE %][% IF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %][% OPACBaseURL | html %]/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% ELSE %][% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% END %][% END %]</link>
39
       <description><![CDATA[
42
       <description><![CDATA[
43
[% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %]
44
    <img src="[% AdlibrisURL | html %]?isbn=[% SEARCH_RESULT.normalized_isbn | html %]" alt="Adlibris cover image" />
45
[% END %]
40
[% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %]
46
[% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %]
41
[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( SEARCH_RESULT.content_identifier_exists ) %]<img src="http://www.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn | html %]/SC.GIF&amp;client=[% SEARCH_RESULT.SyndeticsClientCode | html %]&amp;type=xw10[% IF ( SEARCH_RESULT.normalized_upc ) %]&amp;upc=[% SEARCH_RESULT.normalized_upc | html %][% END %][% IF ( SEARCH_RESULT.normalized_oclc ) %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc | html %][% END %]" alt="" />
47
[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( SEARCH_RESULT.content_identifier_exists ) %]<img src="http://www.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn | html %]/SC.GIF&amp;client=[% SEARCH_RESULT.SyndeticsClientCode | html %]&amp;type=xw10[% IF ( SEARCH_RESULT.normalized_upc ) %]&amp;upc=[% SEARCH_RESULT.normalized_upc | html %][% END %][% IF ( SEARCH_RESULT.normalized_oclc ) %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc | html %][% END %]" alt="" />
48
42
[% ELSE %]
49
[% ELSE %]
43
<img src="http://www.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="" />
50
<img src="http://www.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="" />
44
[% END %][% END %][% END %]
51
[% END %][% END %][% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt (+12 lines)
Lines 10-15 Link Here
10
</head>
10
</head>
11
[% INCLUDE 'bodytag.inc' bodyid='opac-readingrecord' %]
11
[% INCLUDE 'bodytag.inc' bodyid='opac-readingrecord' %]
12
[% INCLUDE 'masthead.inc' %]
12
[% INCLUDE 'masthead.inc' %]
13
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
14
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
13
15
14
[% IF Koha.Preference('AmazonAssocTag') %]
16
[% IF Koha.Preference('AmazonAssocTag') %]
15
    [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') | html %]
17
    [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') | html %]
Lines 94-99 Link Here
94
                                                      [% issuetype | html %]
96
                                                      [% issuetype | html %]
95
                                                    </td>
97
                                                    </td>
96
                                                <td>
98
                                                <td>
99
                                                    [% IF ( AdlibrisEnabled && issue.normalized_isbn ) %]
100
                                                        [% IF issue.BiblioDefaultViewmarc %]
101
                                                            <a href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% issue.biblionumber |url %]">
102
                                                        [% ELSIF issue.BiblioDefaultViewisbd %]
103
                                                            <a href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% issue.biblionumber |url %]">
104
                                                        [% ELSE %]
105
                                                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% issue.biblionumber |url %]">
106
                                                        [% END %]
107
                                                        <img src="[% AdlibrisURL | html %]?isbn=[% issue.normalized_isbn | html %]" class="adlibris-cover" alt="Adlibris cover image" /></a>
108
                                                    [% END %]
97
                                                    [% IF  OPACAmazonCoverImages %]
109
                                                    [% IF  OPACAmazonCoverImages %]
98
                                                        [% IF  issue.normalized_isbn %]
110
                                                        [% IF  issue.normalized_isbn %]
99
                                                            <a href="http://www.amazon.com/gp/reader/[% issue.normalized_isbn | html %][% AmazonAssocTag | html %]#reader-link"><img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% issue.normalized_isbn | html %].01.THUMBZZZ.jpg" alt="" class="item-thumbnail" /></a>
111
                                                            <a href="http://www.amazon.com/gp/reader/[% issue.normalized_isbn | html %][% AmazonAssocTag | html %]#reader-link"><img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% issue.normalized_isbn | html %].01.THUMBZZZ.jpg" alt="" class="item-thumbnail" /></a>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt (+5 lines)
Lines 1-6 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Koha %]
3
[% USE Koha %]
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>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog &rsaquo;
7
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog &rsaquo;
6
[% IF ( searchdesc ) %]
8
[% IF ( searchdesc ) %]
Lines 158-163 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi | html %][% limit_cgi | html %]" /> Link Here
158
                                                        <tr>
160
                                                        <tr>
159
                                                    [% END %]
161
                                                    [% END %]
160
                                                        <td>
162
                                                        <td>
163
                                                            [% IF ( AdlibrisEnabled && GROUP_RESULT.normalized_isbn ) %]
164
                                                                <img src="[% AdlibrisURL | html %]?isbn=[% GROUP_RESULT.normalized_isbn | html %]" class="adlibris-cover" alt="Adlibris cover image" />
165
                                                            [% END %]
161
                                                            [% IF ( OPACAmazonCoverImages ) %]
166
                                                            [% IF ( OPACAmazonCoverImages ) %]
162
                                                                <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% GROUP_RESULT.biblionumber |url %]">[% IF ( GROUP_RESULT.isbn ) %]<img src="https://images-na.ssl-images-amazon.com/images/P/[% GROUP_RESULT.isbn | html %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />[% ELSE %]<img src="http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif" alt="" class="thumbnail" />[% END %]
167
                                                                <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% GROUP_RESULT.biblionumber |url %]">[% IF ( GROUP_RESULT.isbn ) %]<img src="https://images-na.ssl-images-amazon.com/images/P/[% GROUP_RESULT.isbn | html %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />[% ELSE %]<img src="http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif" alt="" class="thumbnail" />[% END %]
163
                                                            </a>
168
                                                            </a>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (+9 lines)
Lines 3-8 Link Here
3
[% USE Koha %]
3
[% USE Koha %]
4
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnList ) %]
4
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnList ) %]
5
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnList ) %]
5
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnList ) %]
6
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
7
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
6
8
7
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
8
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog &rsaquo;
10
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog &rsaquo;
Lines 229-234 Link Here
229
                                                        [% IF ( OPACLocalCoverImages ) %]
231
                                                        [% IF ( OPACLocalCoverImages ) %]
230
                                                            <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span>
232
                                                            <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span>
231
                                                        [% END %]
233
                                                        [% END %]
234
235
                                                        [% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %]
236
                                                            <span title="[% SEARCH_RESULT.biblionumber | html %]" id="adlibris-thumbnail[% loop.count | html %]">
237
                                                                <img src="[% AdlibrisURL | html %]?isbn=[% SEARCH_RESULT.normalized_isbn | html %]"
238
                                                                     alt="Adlibris thumbnail for ISBN: [% SEARCH_RESULT.normalized_isbn | html %]" class="adlibris-cover" />
239
                                                            </span>
240
                                                        [% END %]
232
                                                        [% IF ( OPACAmazonCoverImages ) %]
241
                                                        [% IF ( OPACAmazonCoverImages ) %]
233
                                                            [% IF ( SEARCH_RESULT.normalized_isbn ) %]
242
                                                            [% IF ( SEARCH_RESULT.normalized_isbn ) %]
234
                                                                    <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>
243
                                                                    <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>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-1 / +5 lines)
Lines 5-10 Link Here
5
[% SET PUBLIC = 2 %]
5
[% SET PUBLIC = 2 %]
6
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsShowOnList') ) %]
6
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsShowOnList') ) %]
7
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsInputOnList') ) %]
7
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsInputOnList') ) %]
8
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
9
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
8
10
9
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
10
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog &rsaquo;   [% IF op == 'view' %]Contents of [% shelf.shelfname | html %][% ELSE %]Your lists[% END %]</title>[% INCLUDE 'doc-head-close.inc' %]
12
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog &rsaquo;   [% IF op == 'view' %]Contents of [% shelf.shelfname | html %][% ELSE %]Your lists[% END %]</title>[% INCLUDE 'doc-head-close.inc' %]
Lines 306-312 Link Here
306
                                                            [% IF ( OPACLocalCoverImages ) %]
308
                                                            [% IF ( OPACLocalCoverImages ) %]
307
                                                                <span title="[% itemsloo.biblionumber |url %]" class="[% itemsloo.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span>
309
                                                                <span title="[% itemsloo.biblionumber |url %]" class="[% itemsloo.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span>
308
                                                            [% END %]
310
                                                            [% END %]
309
311
                                                            [% IF ( AdlibrisEnabled && itemsloo.normalized_isbn ) %]
312
                                                                <img src="[% AdlibrisURL | html %]?isbn=[% itemsloo.normalized_isbn | html %]" class="adlibris-cover" alt="Adlibris cover image" />
313
                                                            [% END %]
310
                                                            [% IF ( OPACAmazonCoverImages ) %]
314
                                                            [% IF ( OPACAmazonCoverImages ) %]
311
                                                                [% IF ( itemsloo.normalized_isbn ) %]
315
                                                                [% IF ( itemsloo.normalized_isbn ) %]
312
                                                                    <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>
316
                                                                    <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>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt (-1 / +6 lines)
Lines 1-4 Link Here
1
[% USE KohaDates # XML declaration should have no white space before it %]<?xml version="1.0" encoding="utf-8"?>
1
[% USE KohaDates # XML declaration should have no white space before it %][% USE Koha %]<?xml version="1.0" encoding="utf-8"?>
2
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
2
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
3
<channel>
3
<channel>
4
     <title><![CDATA[[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] Catalog Recent Comments]]></title>
4
     <title><![CDATA[[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] Catalog Recent Comments]]></title>
Lines 6-16 Link Here
6
     <description><![CDATA[ The most recent comments from [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] Catalog. Comments can be made by logged in users and are moderated by library staff.]]></description>
6
     <description><![CDATA[ The most recent comments from [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] Catalog. Comments can be made by logged in users and are moderated by library staff.]]></description>
7
     <atom:link href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-showreviews.pl&amp;format=rss2" rel="self" type="application/rss+xml" />
7
     <atom:link href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-showreviews.pl&amp;format=rss2" rel="self" type="application/rss+xml" />
8
     <lastBuildDate>[% timestamp | html %]</lastBuildDate>
8
     <lastBuildDate>[% timestamp | html %]</lastBuildDate>
9
     [% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
10
     [% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
9
	 [% FOREACH review IN reviews %]
11
	 [% FOREACH review IN reviews %]
10
     <item>
12
     <item>
11
       <title>New comment on [% review.title | html %] [% FOREACH subtitl IN review.subtitle %], [% subtitl.subfield | html %][% END %]</title>
13
       <title>New comment on [% review.title | html %] [% FOREACH subtitl IN review.subtitle %], [% subtitl.subfield | html %][% END %]</title>
12
       <link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber | html %]#comments</link>
14
       <link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber | html %]#comments</link>
13
       <description><![CDATA[
15
       <description><![CDATA[
16
[% IF ( AdlibrisEnabled && review.normalized_isbn ) %]
17
    <img src="[% AdlibrisURL | html %]?isbn=[% review.normalized_isbn | html %]" alt="Adlibris cover image" />
18
[% END %]
14
[% IF ( OPACAmazonCoverImages ) %][% IF ( review.normalized_isbn ) %]<img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %]
19
[% IF ( OPACAmazonCoverImages ) %][% IF ( review.normalized_isbn ) %]<img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %]
15
20
16
[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( review.content_identifier_exists ) %]<img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn | html %]/SC.GIF&amp;client=[% SyndeticsClientCode | html %]&amp;type=xw10&amp;upc=[% review.normalized_upc | html %]&amp;oclc=[% review.normalized_oclc | html %]" alt="" />
21
[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( review.content_identifier_exists ) %]<img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn | html %]/SC.GIF&amp;client=[% SyndeticsClientCode | html %]&amp;type=xw10&amp;upc=[% review.normalized_upc | html %]&amp;oclc=[% review.normalized_oclc | html %]" alt="" />
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt (-2 / +8 lines)
Lines 31-36 Link Here
31
                   <div id="showreviews" class="searchresults maincontent">
31
                   <div id="showreviews" class="searchresults maincontent">
32
                        <h3>Recent comments <a href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-showreviews.pl?format=rss" class="rsssearchlink"><img src="[% interface | html %]/[% theme | html %]/images/feed-icon-16x16.png" alt="Subscribe to recent comments" title="Subscribe to recent comments" border="0" class="rsssearchicon"/></a></h3>
32
                        <h3>Recent comments <a href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-showreviews.pl?format=rss" class="rsssearchlink"><img src="[% interface | html %]/[% theme | html %]/images/feed-icon-16x16.png" alt="Subscribe to recent comments" title="Subscribe to recent comments" border="0" class="rsssearchicon"/></a></h3>
33
                        <table class="table table-striped">
33
                        <table class="table table-striped">
34
                            [% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
35
                            [% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
34
                            [% FOREACH review IN reviews %]
36
                            [% FOREACH review IN reviews %]
35
                                <tr>
37
                                <tr>
36
                                    <td>
38
                                    <td>
Lines 116-122 Link Here
116
                                                <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
118
                                                <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
117
                                            [% END %]
119
                                            [% END %]
118
                                        [% END %]
120
                                        [% END %]
119
121
                                        [% IF ( AdlibrisEnabled && review.normalized_isbn ) %]
122
                                            <img src="[% AdlibrisURL | html %]?isbn=[% review.normalized_isbn | html %]" class="adlibris-cover" alt="Adlibris cover image" />
123
                                        [% END %]
120
                                        [% IF ( OPACAmazonCoverImages ) %]
124
                                        [% IF ( OPACAmazonCoverImages ) %]
121
                                            [% IF ( review.normalized_isbn ) %]
125
                                            [% IF ( review.normalized_isbn ) %]
122
                                                <img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />
126
                                                <img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />
Lines 124-130 Link Here
124
                                                <span class="no-image">No cover image available</span>
128
                                                <span class="no-image">No cover image available</span>
125
                                            [% END %]
129
                                            [% END %]
126
                                        [% END %]
130
                                        [% END %]
127
131
                                        [% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %]
132
                                            <img src="[% AdlibrisURL | html %]?isbn=[% SEARCH_RESULT.normalized_isbn | html %]" alt="Adlibris cover image" />
133
                                        [% END %]
128
                                        [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
134
                                        [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
129
                                            <img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn | html %]/SC.GIF&amp;client=[% SyndeticsClientCode | html %]&amp;type=xw10&amp;upc=[% review.normalized_upc | html %]&amp;oclc=[% review.normalized_oclc | html %]" alt="" class="thumbnail" />
135
                                            <img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn | html %]/SC.GIF&amp;client=[% SyndeticsClientCode | html %]&amp;type=xw10&amp;upc=[% review.normalized_upc | html %]&amp;oclc=[% review.normalized_oclc | html %]" alt="" class="thumbnail" />
130
                                        [% END %]
136
                                        [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-6 / +9 lines)
Lines 5-10 Link Here
5
[% USE Branches %]
5
[% USE Branches %]
6
[% USE ItemTypes %]
6
[% USE ItemTypes %]
7
[% USE Price %]
7
[% USE Price %]
8
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
9
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
8
10
9
[% SET borrower_club_enrollments =  logged_in_user.get_club_enrollments(1) %]
11
[% SET borrower_club_enrollments =  logged_in_user.get_club_enrollments(1) %]
10
[% SET borrower_enrollable_clubs = logged_in_user.get_enrollable_clubs(1,1) %]
12
[% SET borrower_enrollable_clubs = logged_in_user.get_enrollable_clubs(1,1) %]
Lines 181-187 Link Here
181
                                        <caption>[% issues_count | html %] Item(s) checked out</caption>
183
                                        <caption>[% issues_count | html %] Item(s) checked out</caption>
182
                                        <thead>
184
                                        <thead>
183
                                            <tr>
185
                                            <tr>
184
                                                [% IF ( JacketImages ) %]<th class="nosort">&nbsp;</th>[% END %]
186
                                                [% IF ( JacketImages || AdlibrisEnabled ) %]<th class="nosort">&nbsp;</th>[% END %]
185
                                                <th class="anti-the">Title</th>
187
                                                <th class="anti-the">Title</th>
186
                                                <th>Author</th>
188
                                                <th>Author</th>
187
                                                <th class="title-string psort">Due</th>
189
                                                <th class="title-string psort">Due</th>
Lines 209-216 Link Here
209
                                        <tbody>
211
                                        <tbody>
210
                                            [% FOREACH ISSUE IN ISSUES %]
212
                                            [% FOREACH ISSUE IN ISSUES %]
211
                                                [% IF ( ISSUE.overdue ) %]<tr class="overdue">[% ELSE %]<tr>[% END %]
213
                                                [% IF ( ISSUE.overdue ) %]<tr class="overdue">[% ELSE %]<tr>[% END %]
212
                                                [% IF ( JacketImages ) %]<td class="jacketcell">
214
                                                [% IF ( JacketImages || AdlibrisEnabled ) %]<td class="jacketcell">
213
215
                                                    [% IF ( AdlibrisEnabled && ISSUE.normalized_isbn ) %]
216
                                                        <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber | html %]"><img src="[% AdlibrisURL | html %]?isbn=[% issue.normalized_isbn | html %]" class="adlibris-cover" alt="Adlibris cover image" /></a>
217
                                                    [% END %]
214
                                                    [% IF ( OPACAmazonCoverImages ) %]
218
                                                    [% IF ( OPACAmazonCoverImages ) %]
215
                                                        [% IF ( ISSUE.normalized_isbn ) %]
219
                                                        [% IF ( ISSUE.normalized_isbn ) %]
216
                                                            <a href="http://www.amazon.com/gp/reader/[% ISSUE.normalized_isbn | html %][% AmazonAssocTag | html %]#reader-link" title="View on Amazon.com"><img src="https://images-na.ssl-images-amazon.com/images/P/[% ISSUE.normalized_isbn | html %].01.THUMBZZZ.jpg" alt="View on Amazon.com" class="item-thumbnail"/></a>
220
                                                            <a href="http://www.amazon.com/gp/reader/[% ISSUE.normalized_isbn | html %][% AmazonAssocTag | html %]#reader-link" title="View on Amazon.com"><img src="https://images-na.ssl-images-amazon.com/images/P/[% ISSUE.normalized_isbn | html %].01.THUMBZZZ.jpg" alt="View on Amazon.com" class="item-thumbnail"/></a>
Lines 467-473 Link Here
467
                                    <!-- OVERDUES TABLE ROWS -->
471
                                    <!-- OVERDUES TABLE ROWS -->
468
                                    <thead>
472
                                    <thead>
469
                                        <tr>
473
                                        <tr>
470
                                            [% IF ( JacketImages ) %]<th class="nosort">&nbsp;</th>[% END %]
474
                                            [% IF ( JacketImages || AdlibrisEnabled ) %]<th class="nosort">&nbsp;</th>[% END %]
471
                                            <th class="anti-the">Title</th>
475
                                            <th class="anti-the">Title</th>
472
                                            [% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %]
476
                                            [% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %]
473
                                            [% IF ( show_barcode ) %]<th>Barcode</th>[% END %]
477
                                            [% IF ( show_barcode ) %]<th>Barcode</th>[% END %]
Lines 484-490 Link Here
484
                                    <tbody>
488
                                    <tbody>
485
                                        [% FOREACH OVERDUE IN OVERDUES %]
489
                                        [% FOREACH OVERDUE IN OVERDUES %]
486
                                            <tr>
490
                                            <tr>
487
                                                [% IF ( JacketImages ) %]
491
                                                [% IF ( JacketImages || AdlibrisEnabled ) %]
488
                                                    <td class="jacketcell">
492
                                                    <td class="jacketcell">
489
                                                    [% IF ( OPACAmazonCoverImages ) %]
493
                                                    [% IF ( OPACAmazonCoverImages ) %]
490
                                                        [% IF ( OVERDUE.normalized_isbn ) %]
494
                                                        [% IF ( OVERDUE.normalized_isbn ) %]
491
- 

Return to bug 8630