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 5-10 Link Here
5
[% USE AuthorisedValues %]
5
[% USE AuthorisedValues %]
6
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
6
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
7
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
7
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
8
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
9
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
8
10
9
[% ShowCourseReservesHeader = 0 %]
11
[% ShowCourseReservesHeader = 0 %]
10
[% IF Koha.Preference( 'UseCourseReserves' ) == 1 %]
12
[% IF Koha.Preference( 'UseCourseReserves' ) == 1 %]
Lines 53-58 Link Here
53
                    [% IF ( OPACLocalCoverImages ) %]
55
                    [% IF ( OPACLocalCoverImages ) %]
54
                        <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
56
                        <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
55
                    [% END %]
57
                    [% END %]
58
59
                    [% IF ( AdlibrisEnabled && normalized_isbn ) %]
60
                        <a href="[% AdlibrisURL %]?isbn=[% normalized_isbn %]"><img src="[% AdlibrisURL %]?isbn=[% normalized_isbn %]" alt="Cover image" class="adlibris-cover-big" /></a>
61
                    [% END %]
62
56
                    [% IF ( OPACAmazonCoverImages ) %]
63
                    [% IF ( OPACAmazonCoverImages ) %]
57
                        [% IF ( OPACURLOpenInNewWindow ) %]
64
                        [% IF ( OPACURLOpenInNewWindow ) %]
58
                            <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link" target="_blank" rel="noreferrer">
65
                            <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link" target="_blank" rel="noreferrer">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt (+6 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-42 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 %]/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% ELSE %][% IF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %][% OPACBaseURL %]/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% ELSE %][% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% END %][% END %]</link>
41
       <link>[% IF ( SEARCH_RESULT.BiblioDefaultViewmarc ) %][% OPACBaseURL %]/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% ELSE %][% IF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %][% OPACBaseURL %]/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% ELSE %][% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% END %][% END %]</link>
39
       <description><![CDATA[
42
       <description><![CDATA[
43
[% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %]
44
    <img src="[% AdlibrisURL %]?isbn=[% SEARCH_RESULT.normalized_isbn %]" 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 %].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 %].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 %]/SC.GIF&amp;client=[% SEARCH_RESULT.SyndeticsClientCode %]&amp;type=xw10[% IF ( SEARCH_RESULT.normalized_upc ) %]&amp;upc=[% SEARCH_RESULT.normalized_upc %][% END %][% IF ( SEARCH_RESULT.normalized_oclc ) %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc %][% 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 %]/SC.GIF&amp;client=[% SEARCH_RESULT.SyndeticsClientCode %]&amp;type=xw10[% IF ( SEARCH_RESULT.normalized_upc ) %]&amp;upc=[% SEARCH_RESULT.normalized_upc %][% END %][% IF ( SEARCH_RESULT.normalized_oclc ) %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc %][% END %]" alt="" />
42
[% ELSE %]
48
[% ELSE %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt (+12 lines)
Lines 9-14 Link Here
9
</head>
9
</head>
10
[% INCLUDE 'bodytag.inc' bodyid='opac-readingrecord' %]
10
[% INCLUDE 'bodytag.inc' bodyid='opac-readingrecord' %]
11
[% INCLUDE 'masthead.inc' %]
11
[% INCLUDE 'masthead.inc' %]
12
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
13
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
12
14
13
<div class="main">
15
<div class="main">
14
    <ul class="breadcrumb">
16
    <ul class="breadcrumb">
Lines 86-91 Link Here
86
                                                      [% issuetype %]
88
                                                      [% issuetype %]
87
                                                    </td>
89
                                                    </td>
88
                                                <td>
90
                                                <td>
91
                                                    [% IF ( AdlibrisEnabled && issue.normalized_isbn ) %]
92
                                                        [% IF issue.BiblioDefaultViewmarc %]
93
                                                            <a href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% issue.biblionumber |url %]">
94
                                                        [% ELSIF issue.BiblioDefaultViewisbd %]
95
                                                            <a href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% issue.biblionumber |url %]">
96
                                                        [% ELSE %]
97
                                                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% issue.biblionumber |url %]">
98
                                                        [% END %]
99
                                                        <img src="[% AdlibrisURL %]?isbn=[% issue.normalized_isbn %]" class="adlibris-cover" alt="Adlibris cover image" /></a>
100
                                                    [% END %]
89
                                                    [% IF  OPACAmazonCoverImages %]
101
                                                    [% IF  OPACAmazonCoverImages %]
90
                                                        [% IF  issue.normalized_isbn %]
102
                                                        [% IF  issue.normalized_isbn %]
91
                                                            <a href="http://www.amazon.com/gp/reader/[% issue.normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% issue.normalized_isbn %].01.THUMBZZZ.jpg" alt="" class="item-thumbnail" /></a>
103
                                                            <a href="http://www.amazon.com/gp/reader/[% issue.normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% issue.normalized_isbn %].01.THUMBZZZ.jpg" alt="" class="item-thumbnail" /></a>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt (+5 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>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;
4
[% IF ( searchdesc ) %]
6
[% IF ( searchdesc ) %]
Lines 156-161 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
156
                                                        <tr>
158
                                                        <tr>
157
                                                    [% END %]
159
                                                    [% END %]
158
                                                        <td>
160
                                                        <td>
161
                                                            [% IF ( AdlibrisEnabled && GROUP_RESULT.normalized_isbn ) %]
162
                                                                <img src="[% AdlibrisURL %]?isbn=[% GROUP_RESULT.normalized_isbn %]" class="adlibris-cover" alt="Adlibris cover image" />
163
                                                            [% END %]
159
                                                            [% IF ( OPACAmazonCoverImages ) %]
164
                                                            [% IF ( OPACAmazonCoverImages ) %]
160
                                                                <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 %].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 %]
165
                                                                <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 %].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 %]
161
                                                            </a>
166
                                                            </a>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (+9 lines)
Lines 1-6 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnList ) %]
2
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnList ) %]
3
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnList ) %]
3
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnList ) %]
4
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
5
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
4
6
5
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
6
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;
8
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo;
Lines 227-232 Link Here
227
                                                        [% IF ( OPACLocalCoverImages ) %]
229
                                                        [% IF ( OPACLocalCoverImages ) %]
228
                                                            <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></span>
230
                                                            <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></span>
229
                                                        [% END %]
231
                                                        [% END %]
232
233
                                                        [% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %]
234
                                                            <span title="[% SEARCH_RESULT.biblionumber %]" id="adlibris-thumbnail[% loop.count %]">
235
                                                                <img src="[% AdlibrisURL %]?isbn=[% SEARCH_RESULT.normalized_isbn %]"
236
                                                                     alt="Adlibris thumbnail for ISBN: [% SEARCH_RESULT.normalized_isbn %]" class="adlibris-cover" />
237
                                                            </span>
238
                                                        [% END %]
230
                                                        [% IF ( OPACAmazonCoverImages ) %]
239
                                                        [% IF ( OPACAmazonCoverImages ) %]
231
                                                            [% IF ( SEARCH_RESULT.normalized_isbn ) %]
240
                                                            [% IF ( SEARCH_RESULT.normalized_isbn ) %]
232
                                                                    <span title="[% SEARCH_RESULT.biblionumber %]" id="amazon-thumbnail[% loop.count %]"><img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="item-thumbnail" /></span>
241
                                                                    <span title="[% SEARCH_RESULT.biblionumber %]" id="amazon-thumbnail[% loop.count %]"><img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="item-thumbnail" /></span>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-1 / +5 lines)
Lines 3-8 Link Here
3
[% SET PUBLIC = 2 %]
3
[% SET PUBLIC = 2 %]
4
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsShowOnList') ) %]
4
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsShowOnList') ) %]
5
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsInputOnList') ) %]
5
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('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 %][% ELSE %]Koha online[% END %] catalog &rsaquo;   [% IF op == 'view' %]Contents of [% shelf.shelfname |html %][% ELSE %]Your lists[% END %]</title>[% INCLUDE 'doc-head-close.inc' %]
10
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% 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 305-311 Link Here
305
                                                            [% IF ( OPACLocalCoverImages ) %]
307
                                                            [% IF ( OPACLocalCoverImages ) %]
306
                                                                <span title="[% itemsloo.biblionumber |url %]" class="[% itemsloo.biblionumber %]" id="local-thumbnail[% loop.count %]"></span>
308
                                                                <span title="[% itemsloo.biblionumber |url %]" class="[% itemsloo.biblionumber %]" id="local-thumbnail[% loop.count %]"></span>
307
                                                            [% END %]
309
                                                            [% END %]
308
310
                                                            [% IF ( AdlibrisEnabled && itemsloo.normalized_isbn ) %]
311
                                                                <img src="[% AdlibrisURL %]?isbn=[% itemsloo.normalized_isbn %]" class="adlibris-cover" alt="Adlibris cover image" />
312
                                                            [% END %]
309
                                                            [% IF ( OPACAmazonCoverImages ) %]
313
                                                            [% IF ( OPACAmazonCoverImages ) %]
310
                                                                [% IF ( itemsloo.normalized_isbn ) %]
314
                                                                [% IF ( itemsloo.normalized_isbn ) %]
311
                                                                    <span title="[% SEARCH_RESULT.biblionumber %]" id="amazon-thumbnail[% loop.count %]"><img src="https://images-na.ssl-images-amazon.com/images/P/[% itemsloo.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" /></span>
315
                                                                    <span title="[% SEARCH_RESULT.biblionumber %]" id="amazon-thumbnail[% loop.count %]"><img src="https://images-na.ssl-images-amazon.com/images/P/[% itemsloo.normalized_isbn %].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 %][% ELSE %]Koha online[% END %] Catalog Recent Comments]]></title>
4
     <title><![CDATA[[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] Catalog Recent Comments]]></title>
Lines 6-16 Link Here
6
     <description><![CDATA[ The most recent comments from [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% 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 %][% 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 %]/cgi-bin/koha/opac-showreviews.pl&amp;format=rss2" rel="self" type="application/rss+xml" />
7
     <atom:link href="[% OPACBaseURL %]/cgi-bin/koha/opac-showreviews.pl&amp;format=rss2" rel="self" type="application/rss+xml" />
8
     <lastBuildDate>[% timestamp %]</lastBuildDate>
8
     <lastBuildDate>[% timestamp %]</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 %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber %]#comments</link>
14
       <link>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber %]#comments</link>
13
       <description><![CDATA[
15
       <description><![CDATA[
16
[% IF ( AdlibrisEnabled && review.normalized_isbn ) %]
17
    <img src="[% AdlibrisURL %]?isbn=[% review.normalized_isbn %]" 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 %].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 %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %]
15
20
16
[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( review.content_identifier_exists ) %][% IF ( using_https ) %]<img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% review.normalized_upc %]&amp;oclc=[% review.normalized_oclc %]" alt="" />
21
[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( review.content_identifier_exists ) %][% IF ( using_https ) %]<img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% review.normalized_upc %]&amp;oclc=[% review.normalized_oclc %]" 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 %]/cgi-bin/koha/opac-showreviews.pl?format=rss" class="rsssearchlink"><img src="[% interface %]/[% theme %]/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 %]/cgi-bin/koha/opac-showreviews.pl?format=rss" class="rsssearchlink"><img src="[% interface %]/[% theme %]/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 112-118 Link Here
112
                                                <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
114
                                                <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
113
                                            [% END %]
115
                                            [% END %]
114
                                        [% END %]
116
                                        [% END %]
115
117
                                        [% IF ( AdlibrisEnabled && review.normalized_isbn ) %]
118
                                            <img src="[% AdlibrisURL %]?isbn=[% review.normalized_isbn %]" class="adlibris-cover" alt="Adlibris cover image" />
119
                                        [% END %]
116
                                        [% IF ( OPACAmazonCoverImages ) %]
120
                                        [% IF ( OPACAmazonCoverImages ) %]
117
                                            [% IF ( review.normalized_isbn ) %]
121
                                            [% IF ( review.normalized_isbn ) %]
118
                                                <img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />
122
                                                <img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />
Lines 120-126 Link Here
120
                                                <span class="no-image">No cover image available</span>
124
                                                <span class="no-image">No cover image available</span>
121
                                            [% END %]
125
                                            [% END %]
122
                                        [% END %]
126
                                        [% END %]
123
127
                                        [% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %]
128
                                            <img src="[% AdlibrisURL %]?isbn=[% SEARCH_RESULT.normalized_isbn %]" alt="Adlibris cover image" />
129
                                        [% END %]
124
                                        [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
130
                                        [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
125
                                            [% IF ( using_https ) %]
131
                                            [% IF ( using_https ) %]
126
                                                <img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% review.normalized_upc %]&amp;oclc=[% review.normalized_oclc %]" alt="" class="thumbnail" />
132
                                                <img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %]&amp;type=xw10&amp;upc=[% review.normalized_upc %]&amp;oclc=[% review.normalized_oclc %]" alt="" class="thumbnail" />
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-6 / +9 lines)
Lines 3-8 Link Here
3
[% USE Branches %]
3
[% USE Branches %]
4
[% USE ItemTypes %]
4
[% USE ItemTypes %]
5
[% USE Price %]
5
[% USE Price %]
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 %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your library home</title>
10
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your library home</title>
Lines 146-152 Using this account is not recommended because some parts of Koha will not functi Link Here
146
                                        <caption>[% issues_count %] Item(s) checked out</caption>
148
                                        <caption>[% issues_count %] Item(s) checked out</caption>
147
                                        <thead>
149
                                        <thead>
148
                                            <tr>
150
                                            <tr>
149
                                                [% IF ( JacketImages ) %]<th class="nosort">&nbsp;</th>[% END %]
151
                                                [% IF ( JacketImages || AdlibrisEnabled ) %]<th class="nosort">&nbsp;</th>[% END %]
150
                                                <th class="anti-the">Title</th>
152
                                                <th class="anti-the">Title</th>
151
                                                <th class="title-string psort">Due</th>
153
                                                <th class="title-string psort">Due</th>
152
                                                [% UNLESS ( item_level_itypes ) %]
154
                                                [% UNLESS ( item_level_itypes ) %]
Lines 170-177 Using this account is not recommended because some parts of Koha will not functi Link Here
170
                                        <tbody>
172
                                        <tbody>
171
                                            [% FOREACH ISSUE IN ISSUES %]
173
                                            [% FOREACH ISSUE IN ISSUES %]
172
                                                [% IF ( ISSUE.overdue ) %]<tr class="overdue">[% ELSE %]<tr>[% END %]
174
                                                [% IF ( ISSUE.overdue ) %]<tr class="overdue">[% ELSE %]<tr>[% END %]
173
                                                [% IF ( JacketImages ) %]<td class="jacketcell">
175
                                                [% IF ( JacketImages || AdlibrisEnabled ) %]<td class="jacketcell">
174
176
                                                    [% IF ( AdlibrisEnabled && ISSUE.normalized_isbn ) %]
177
                                                        <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber %]"><img src="[% AdlibrisURL %]?isbn=[% ISSUE.normalized_isbn %]" class="adlibris-cover" alt="Adlibris cover image" /></a>
178
                                                    [% END %]
175
                                                    [% IF ( OPACAmazonCoverImages ) %]
179
                                                    [% IF ( OPACAmazonCoverImages ) %]
176
                                                        [% IF ( ISSUE.normalized_isbn ) %]
180
                                                        [% IF ( ISSUE.normalized_isbn ) %]
177
                                                            <a href="http://www.amazon.com/gp/reader/[% ISSUE.normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link" title="View on Amazon.com"><img src="https://images-na.ssl-images-amazon.com/images/P/[% ISSUE.normalized_isbn %].01.THUMBZZZ.jpg" alt="View on Amazon.com" class="item-thumbnail"/></a>
181
                                                            <a href="http://www.amazon.com/gp/reader/[% ISSUE.normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link" title="View on Amazon.com"><img src="https://images-na.ssl-images-amazon.com/images/P/[% ISSUE.normalized_isbn %].01.THUMBZZZ.jpg" alt="View on Amazon.com" class="item-thumbnail"/></a>
Lines 407-413 Using this account is not recommended because some parts of Koha will not functi Link Here
407
                                    <!-- OVERDUES TABLE ROWS -->
411
                                    <!-- OVERDUES TABLE ROWS -->
408
                                    <thead>
412
                                    <thead>
409
                                        <tr>
413
                                        <tr>
410
                                            [% IF ( JacketImages ) %]<th class="nosort">&nbsp;</th>[% END %]
414
                                            [% IF ( JacketImages || AdlibrisEnabled ) %]<th class="nosort">&nbsp;</th>[% END %]
411
                                            <th class="anti-the">Title</th>
415
                                            <th class="anti-the">Title</th>
412
                                            [% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %]
416
                                            [% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %]
413
                                            [% IF ( show_barcode ) %]<th>Barcode</th>[% END %]
417
                                            [% IF ( show_barcode ) %]<th>Barcode</th>[% END %]
Lines 424-430 Using this account is not recommended because some parts of Koha will not functi Link Here
424
                                    <tbody>
428
                                    <tbody>
425
                                        [% FOREACH OVERDUE IN OVERDUES %]
429
                                        [% FOREACH OVERDUE IN OVERDUES %]
426
                                            <tr>
430
                                            <tr>
427
                                                [% IF ( JacketImages ) %]
431
                                                [% IF ( JacketImages || AdlibrisEnabled ) %]
428
                                                    <td class="jacketcell">
432
                                                    <td class="jacketcell">
429
                                                    [% IF ( OPACAmazonCoverImages ) %]
433
                                                    [% IF ( OPACAmazonCoverImages ) %]
430
                                                        [% IF ( OVERDUE.normalized_isbn ) %]
434
                                                        [% IF ( OVERDUE.normalized_isbn ) %]
431
- 

Return to bug 8630