Bugzilla – Attachment 126504 Details for
Bug 29200
Remove Adlibris cover service
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29200: Remove Adlibris cover service
Bug-29200-Remove-Adlibris-cover-service.patch (text/plain), 32.73 KB, created by
Martin Renvoize (ashimema)
on 2021-10-19 14:05:01 UTC
(
hide
)
Description:
Bug 29200: Remove Adlibris cover service
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-10-19 14:05:01 UTC
Size:
32.73 KB
patch
obsolete
>From 294caee3aab6f6cb1f8e12faca96e2f27a825da9 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 12 Oct 2021 15:31:46 +0000 >Subject: [PATCH] Bug 29200: Remove Adlibris cover service > >This patch removes integration of the Adlibris cover service which has >been discontinued. > >To test, apply the patch and rebuild the OPAC and staff interface CSS: >(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client). > >- Run the database update. >- Go to Administration -> System preferences -> Enhanced content. You > should see no Adlibris-related preferences. >- Perform a catalog search and confirm that the search result and detail > pages look correct. >- Enable one or more other cover image services and test that search > results and detail page look correct. >- Perform the same test in the OPAC including these pages: > - Catalog search results > - Bibliographic detail page > - Lists > - Comments > - User summary > - User reading history > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > installer/data/mysql/atomicupdate/bug-29200.pl | 14 ++++++++++++++ > installer/data/mysql/mandatory/sysprefs.sql | 2 -- > .../prog/css/src/staff-global.scss | 8 -------- > .../admin/preferences/enhanced_content.pref | 16 ---------------- > .../prog/en/modules/catalogue/detail.tt | 17 ++--------------- > .../prog/en/modules/catalogue/results.tt | 15 +++------------ > koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 8 -------- > .../bootstrap/en/modules/opac-detail.tt | 6 ------ > .../bootstrap/en/modules/opac-opensearch.tt | 5 ----- > .../bootstrap/en/modules/opac-readingrecord.tt | 12 ------------ > .../bootstrap/en/modules/opac-results.tt | 8 -------- > .../bootstrap/en/modules/opac-shelves.tt | 6 +----- > .../en/modules/opac-showreviews-rss.tt | 5 ----- > .../bootstrap/en/modules/opac-showreviews.tt | 5 ----- > .../opac-tmpl/bootstrap/en/modules/opac-user.tt | 16 ++++------------ > 15 files changed, 24 insertions(+), 119 deletions(-) > create mode 100755 installer/data/mysql/atomicupdate/bug-29200.pl > >diff --git a/installer/data/mysql/atomicupdate/bug-29200.pl b/installer/data/mysql/atomicupdate/bug-29200.pl >new file mode 100755 >index 0000000000..550aaec800 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug-29200.pl >@@ -0,0 +1,14 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "29200", >+ description => "Remove Adlibris cover service integration", >+ up => sub { >+ my ($args) = @_; >+ my ($dbh, $out) = @$args{qw(dbh out)}; >+ # Do you stuffs here >+ $dbh->do(q{DELETE FROM systempreferences WHERE variable LIKE 'AdlibrisCovers%'}); >+ # Print useful stuff here >+ say $out "AdlibrisCoversEnabled and AdlibrisCoversURL preferences removed."; >+ }, >+} >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index 5339382c27..dd2f184931 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -13,8 +13,6 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('AdditionalFieldsInZ3950ResultSearch', '', NULL, 'Determines which MARC field/subfields are displayed in -Additional field- column in the result of a search Z3950', 'Free'), > ('AddressForFailedOverdueNotices', '', NULL, 'Destination email for failed overdue notices. If left empty then it will fallback to the first defined address in the following list: Library ReplyTo, Library Email, ReplytoDefault and KohaAdminEmailAddress', 'free'), > ('AddressFormat','us','us|de|fr','Choose format to display postal addresses', 'Choice'), >-('AdlibrisCoversEnabled','0',NULL,'Display cover images in OPAC results and detail listing from Swedish retailer Adlibris.','YesNo'), >-('AdlibrisCoversURL','http://www.adlibris.com/se/organisationer/showimagesafe.aspx',NULL,'Base URL for Adlibris cover image web service.','Free'), > ('advancedMARCeditor','0','','If ON, the MARC editor won\'t display field/subfield descriptions','YesNo'), > ('AdvancedSearchLanguages','','','ISO 639-2 codes of languages you wish to see appear as an Advanced search option. Example: eng|fre|ita','Textarea'), > ('AdvancedSearchTypes','itemtypes','itemtypes|ccode','Select which set of fields comprise the Type limit in the advanced search','Choice'), >diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >index ac1a68a940..b59fe6a067 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -4326,14 +4326,6 @@ input.renew { > } > } > >-.adlibris-cover { >- max-height: 120px; >-} >- >-.adlibris-cover-big { >- max-height: 200px; >-} >- > #tools_holidays { > .radio, > .checkbox { >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref >index d87f0487c9..33edeb64e5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref >@@ -1,20 +1,4 @@ > Enhanced content: >- Adlibris: >- - >- - <strong>NOTE:</strong> Using resources such as external images might leak sensitive data to third parties. >- - >- - pref: AdlibrisCoversEnabled >- default: 0 >- choices: >- 0: "Don't show" >- 1: "Show" >- - cover images in OPAC results and detail listing from Swedish retailer <a href="https://www.adlibris.com/se">Adlibris</a>. >- - >- - "Use base URL: " >- - pref: AdlibrisCoversURL >- class: url >- default: "http://www.adlibris.com/se/organisationer/showimagesafe.aspx" >- - for the <a href="https://www.adlibris.com/se">Adlibris</a> cover service. > All: > - > - <strong>NOTE:</strong> you can only choose one source of cover images from below, otherwise Koha will show the images from all sources selected. >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index 7c2b961d6c..7aec8b8881 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -9,8 +9,6 @@ > [% USE Price %] > [% USE TablesSettings %] > [% PROCESS 'i18n.inc' %] >-[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >-[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] > > [% IF Koha.Preference('AmazonAssocTag') %] > [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %] >@@ -106,7 +104,7 @@ > <span class="Z3988" title="[% ocoins | html %]"></span> > [% END %] > >- [% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled || IntranetCoce || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] >+ [% IF ( AmazonCoverImages || LocalCoverImages || IntranetCoce || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] > <div id="catalogue_detail_biblio" class="col-xs-9"> > [% ELSE %] > <div id="catalogue_detail_biblio" class="col-xs-12"> >@@ -194,7 +192,7 @@ > </span> > [% END %] > >- [% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled || IntranetCoce || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] >+ [% IF ( AmazonCoverImages || LocalCoverImages || IntranetCoce || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] > </div> > <div class="col-xs-3 bookcoverimg"> > <div id="biblio-cover-slider" class="cover-slider"> >@@ -211,15 +209,6 @@ > [% END %] > [% END %] > >- [% IF ( AdlibrisEnabled && normalized_isbn ) %] >- <div class="cover-image" id="adlibris-coverimg"> >- <a href="[% AdlibrisURL | url %]?isbn=[% normalized_isbn | uri %]" title="Addlibris cover image"> >- <img src="[% AdlibrisURL | url %]?isbn=[% normalized_isbn | uri %]" class="adlibris-cover-big" alt="Adlibris cover image" data-link="[% AdlibrisURL | url %]?isbn=[% normalized_isbn | uri %]" /> >- </a> >- <div class="hint">Image from Adlibris</div> >- </div> >- [% END %] >- > [% IF ( AmazonCoverImages && normalized_isbn) %] > <div class="cover-image" id="amazon-bookcoverimg"> > <a href="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn | uri %].01.LZZZZZZZ.jpg" title="Amazon cover image"> >@@ -1078,8 +1067,6 @@ Note that permanent location is a code, and location may be an authval. > } > div.find(".hint").html(coce_description); > lightbox_descriptions.push(coce_description); >- } else if ( div.attr("id") == "adlibris-coverimg" ){ >- lightbox_descriptions.push(_("Image from Adlibris (<a href='%s'>see the original image</a>)").format($(img).data('link'))); > } else if ( div.attr("class") == "cover-image local-coverimg" ) { > lightbox_descriptions.push(_("Local cover image (<a href='%s'>edit</a>)").format($(img).data('link'))); > } else { >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >index 0fbbc1b8fe..4115ddacf7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >@@ -7,8 +7,6 @@ > [% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% USE AuthorisedValues %] >-[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >-[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] > [% IF BiblioDefaultViewmarc %] > [% SET DetailPage="MARCdetail.pl" %] > [% ELSIF BiblioDefaultViewlabeled_marc %] >@@ -425,7 +423,7 @@ > <!-- TABLE RESULTS START --> > <table> > <tr> >- [% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] >+ [% IF ( AmazonCoverImages || LocalCoverImages || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] > <th> </th> > [% END %] > <th colspan="2">Results</th> >@@ -435,7 +433,7 @@ > [% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %] > [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] > <tr id="row[% SEARCH_RESULT.biblionumber | html %]"> >- [% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled || IntranetCoce || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] >+ [% IF ( AmazonCoverImages || LocalCoverImages || IntranetCoce || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL')) ) %] > <td class="bookcoverimg"> > <div id="cover-slides-[% SEARCH_RESULT.biblionumber | html %]" class="cover-slides" data-biblionumber="[% SEARCH_RESULT.biblionumber | html %]"> > [% IF ( LocalCoverImages ) %][% SEARCH_RESULT.localimage | html %] >@@ -447,13 +445,6 @@ > </div> > [% END %] > >- [% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %] >- <div id="adlibris-coverimg-[% SEARCH_RESULT.biblionumber | html %]" class="cover-image adlibris-coverimg"> >- <a href="[% AdlibrisURL | url %]?isbn=[% SEARCH_RESULT.normalized_isbn | uri %]"><img src="[% AdlibrisURL | url %]?isbn=[% SEARCH_RESULT.normalized_isbn | uri %]" class="adlibris-cover" alt="Adlibris cover image" /></a> >- <div class="hint">Adlibris cover image</div> >- </div> >- [% END %] >- > [% IF ( AmazonCoverImages && SEARCH_RESULT.normalized_isbn ) %] > <div id="amazon-bookcoverimg-[% SEARCH_RESULT.biblionumber | html %]" class="cover-image amazon-bookcoverimg"> > <a class="p1" href="/cgi-bin/koha/catalogue/[% DetailPage | html %]?biblionumber=[% SEARCH_RESULT.biblionumber |url %]"> >@@ -488,7 +479,7 @@ > [% END %] > </div> > </td> >-[% END # /IF( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled || IntranetCoce )%] >+[% END # /IF( AmazonCoverImages || LocalCoverImages || IntranetCoce )%] > > <td> > <input type="checkbox" class="selection" id="bib[% SEARCH_RESULT.biblionumber | html %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber | html %]" style="display:none" /> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >index e2f246f373..746674515b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >+++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss >@@ -2449,14 +2449,6 @@ nav { > } > } > >-.adlibris-cover { >- max-height: 120px; >-} >- >-.adlibris-cover-big { >- max-height: 200px; >-} >- > /* jQuery Bar Rating plugin for star ratings */ > > $star-default: #D2D2D2; >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index 0d417a7771..05266aa1ae 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -13,8 +13,6 @@ > [% ELSE %] > [% AmazonAssocTag = '' %] > [% END %] >-[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >-[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] > > [% ShowCourseReservesHeader = 0 %] > [% IF Koha.Preference( 'UseCourseReserves' ) == 1 %] >@@ -69,10 +67,6 @@ > <div title="[% img_title | html %]" class="[% biblio.biblionumber | html %]" id="local-thumbnail-preview"></div> > [% END %] > >- [% IF ( AdlibrisEnabled && normalized_isbn ) %] >- <a href="[% AdlibrisURL | url %]?isbn=[% normalized_isbn | uri %]"><img src="[% AdlibrisURL | url %]?isbn=[% normalized_isbn | uri %]" alt="Cover image" class="adlibris-cover-big" /></a> >- [% END %] >- > [% IF ( OPACAmazonCoverImages ) %] > [% IF ( OPACURLOpenInNewWindow ) %] > <a href="http://www.amazon[% AmazonTld | uri %]/gp/reader/[% normalized_isbn | uri %][% AmazonAssocTag | uri %]#reader-link" target="_blank" rel="noreferrer"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt >index 6d65b32a28..3d3ac81ed5 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt >@@ -1,8 +1,6 @@ > <?xml version='1.0' encoding='utf-8' ?> > [%- USE raw -%] > [%- USE Koha -%] >-[%- SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') -%] >-[%- SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') -%] > > [% IF ( opensearchdescription ) %] > <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> >@@ -52,9 +50,6 @@ > <link>[% OPACBaseURL | url %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]</link> > [% END %] > <description><![CDATA[ >-[% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %] >- <img src="[% AdlibrisURL | url %]?isbn=[% SEARCH_RESULT.normalized_isbn | uri %]" alt="Adlibris cover image" /> >-[% END %] > [% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<img src="https://images-na.ssl-images-amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn | uri %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %] > [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( SEARCH_RESULT.content_identifier_exists ) %]<img src="http://www.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn | uri %]/SC.GIF&client=[% SEARCH_RESULT.SyndeticsClientCode | uri %]&type=xw10[% IF ( SEARCH_RESULT.normalized_upc ) %]&upc=[% SEARCH_RESULT.normalized_upc | uri %][% END %][% IF ( SEARCH_RESULT.normalized_oclc ) %]&oclc=[% SEARCH_RESULT.normalized_oclc | uri %][% END %]" alt="" /> > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >index fdbaf8285d..7c39e5cb93 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt >@@ -11,8 +11,6 @@ > </head> > [% INCLUDE 'bodytag.inc' bodyid='opac-readingrecord' %] > [% INCLUDE 'masthead.inc' %] >-[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >-[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] > > [% IF Koha.Preference('AmazonAssocTag') %] > [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %] >@@ -108,16 +106,6 @@ > [% issuetype | html %] > </td> > <td> >- [% IF ( AdlibrisEnabled && issue.normalized_isbn ) %] >- [% IF issue.BiblioDefaultViewmarc %] >- <a href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% issue.biblionumber |url %]"> >- [% ELSIF issue.BiblioDefaultViewisbd %] >- <a href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% issue.biblionumber |url %]"> >- [% ELSE %] >- <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% issue.biblionumber |url %]"> >- [% END %] >- <img src="[% AdlibrisURL | html %]?isbn=[% issue.normalized_isbn | html %]" class="adlibris-cover" alt="Adlibris cover image" /></a> >- [% END %] > [% IF OPACAmazonCoverImages %] > [% IF issue.normalized_isbn %] > <a href="http://www.amazon.com/gp/reader/[% issue.normalized_isbn | uri %][% AmazonAssocTag | uri %]#reader-link"><img src="https://images-na.ssl-images-amazon.com/images/P/[% issue.normalized_isbn | html %].01.THUMBZZZ.jpg" alt="" class="item-thumbnail" /></a> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >index 3a9be017dc..5e19a66947 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -3,8 +3,6 @@ > [% USE Koha %] > [% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnList ) %] > [% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnList ) %] >-[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >-[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] > > [% IF firstPage %] > [% SET OverDriveEnabled = Koha.Preference('OverDriveLibraryID') && Koha.Preference('OverDriveClientKey') && Koha.Preference('OverDriveClientSecret') %] >@@ -362,12 +360,6 @@ > <span title="[% img_title | html %]" class="[% SEARCH_RESULT.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span> > [% END %] > >- [% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %] >- <span title="[% img_title | html %]" id="adlibris-thumbnail[% loop.count | html %]"> >- <img src="[% AdlibrisURL | html %]?isbn=[% SEARCH_RESULT.normalized_isbn | html %]" >- alt="Adlibris thumbnail for ISBN: [% SEARCH_RESULT.normalized_isbn | html %]" class="adlibris-cover" /> >- </span> >- [% END %] > [% IF ( OPACAmazonCoverImages ) %] > [% IF ( SEARCH_RESULT.normalized_isbn ) %] > <span title="[% img_title | 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> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >index e1191095d7..4c19a94e4f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >@@ -5,8 +5,6 @@ > [% SET PUBLIC = 2 %] > [% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsShowOnList') ) %] > [% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && Koha.Preference('TagsInputOnList') ) %] >-[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >-[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] > > [% BLOCK delete_shelf %] > <form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="deleteshelf[% shelf.shelfnumber | html %]" class="d-inline"> >@@ -401,9 +399,7 @@ > [% IF ( OPACLocalCoverImages ) %] > <span title="[% img_title | html %]" class="[% itemsloo.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span> > [% END %] >- [% IF ( AdlibrisEnabled && itemsloo.normalized_isbn ) %] >- <img src="[% AdlibrisURL | html %]?isbn=[% itemsloo.normalized_isbn | html %]" class="adlibris-cover" alt="Adlibris cover image" /> >- [% END %] >+ > [% IF ( OPACAmazonCoverImages ) %] > [% IF ( itemsloo.normalized_isbn ) %] > <span title="[% img_title | 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> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt >index 6fc5a12973..e615310834 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt >@@ -6,16 +6,11 @@ > <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> > <atom:link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-showreviews.pl&format=rss2" rel="self" type="application/rss+xml" /> > <lastBuildDate>[% timestamp | html %]</lastBuildDate> >- [% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >- [% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] > [% FOREACH review IN reviews %] > <item> > <title>New comment on [% INCLUDE 'biblio-title-head.inc' biblio=review %]</title> > <link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber | html %]#comments</link> > <description><![CDATA[ >-[% IF ( AdlibrisEnabled && review.normalized_isbn ) %] >- <img src="[% AdlibrisURL | html %]?isbn=[% review.normalized_isbn | html %]" alt="Adlibris cover image" /> >-[% END %] > [% 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 %] > > [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( review.content_identifier_exists ) %]<img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn | html %]/SC.GIF&client=[% SyndeticsClientCode | html %]&type=xw10&upc=[% review.normalized_upc | html %]&oclc=[% review.normalized_oclc | html %]" alt="" /> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt >index 4ce6b3093a..f1059b6e81 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt >@@ -38,8 +38,6 @@ > <h1>Recent comments <a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-showreviews.pl?format=rss" class="rsssearchlink" aria-label="Subscribe to recent comments"><i class="fa fa-rss rsssearchicon" aria-hidden="true" title="Subscribe to recent comments"></i></a></h1> > <table class="table table-striped"> > <caption class="sr-only">Comments</caption> >- [% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >- [% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] > [% FOREACH review IN reviews %] > <tr> > <td> >@@ -127,9 +125,6 @@ > <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title"> > [% END %] > [% END %] >- [% IF ( AdlibrisEnabled && review.normalized_isbn ) %] >- <img src="[% AdlibrisURL | html %]?isbn=[% review.normalized_isbn | html %]" class="adlibris-cover" alt="Adlibris cover image" /> >- [% END %] > [% 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="" class="thumbnail" /> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index 545a64d50d..3aa40ab079 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -6,8 +6,6 @@ > [% USE ItemTypes %] > [% USE Price %] > [% USE AuthorisedValues %] >-[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] >-[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] > > [% SET borrower_club_enrollments = logged_in_user.get_club_enrollments(1) %] > [% SET borrower_enrollable_clubs = logged_in_user.get_enrollable_clubs(1,1) %] >@@ -253,7 +251,7 @@ > <caption>[% issues_count | html %] Item(s) checked out</caption> > <thead> > <tr> >- [% IF ( JacketImages || AdlibrisEnabled ) %]<th class="nosort"> </th>[% END %] >+ [% IF ( JacketImages ) %]<th class="nosort"> </th>[% END %] > <th class="anti-the">Title</th> > <th>Author</th> > <th class="psort">Due</th> >@@ -282,10 +280,7 @@ > <tbody> > [% FOREACH ISSUE IN ISSUES %] > [% IF ( ISSUE.overdue ) %]<tr class="overdue">[% ELSE %]<tr>[% END %] >- [% IF ( JacketImages || AdlibrisEnabled ) %]<td class="jacketcell"> >- [% IF ( AdlibrisEnabled && ISSUE.normalized_isbn ) %] >- <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber | uri %]"><img src="[% AdlibrisURL | url %]?isbn=[% ISSUE.normalized_isbn | uri %]" class="adlibris-cover" alt="Adlibris cover image" /></a> >- [% END %] >+ [% IF ( JacketImages ) %]<td class="jacketcell"> > [% IF ( OPACAmazonCoverImages ) %] > [% IF ( ISSUE.normalized_isbn ) %] > <a href="http://www.amazon.com/gp/reader/[% ISSUE.normalized_isbn | uri %][% AmazonAssocTag | uri %]#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> >@@ -642,7 +637,7 @@ > <!-- OVERDUES TABLE ROWS --> > <thead> > <tr> >- [% IF ( JacketImages || AdlibrisEnabled ) %]<th class="nosort"> </th>[% END %] >+ [% IF ( JacketImages ) %]<th class="nosort"> </th>[% END %] > <th class="anti-the">Title</th> > [% UNLESS ( item_level_itypes ) %]<th>Item type</th> [% END %] > [% IF ( show_barcode ) %]<th>Barcode</th>[% END %] >@@ -659,11 +654,8 @@ > <tbody> > [% FOREACH OVERDUE IN OVERDUES %] > <tr> >- [% IF ( JacketImages || AdlibrisEnabled ) %] >+ [% IF ( JacketImages ) %] > <td class="jacketcell"> >- [% IF ( AdlibrisEnabled && OVERDUE.normalized_isbn ) %] >- <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% OVERDUE.biblionumber | uri %]"><img src="[% AdlibrisURL | url %]?isbn=[% OVERDUE.normalized_isbn | uri %]" class="adlibris-cover" alt="Adlibris cover image" /></a> >- [% END %] > [% IF ( OPACAmazonCoverImages ) %] > [% IF ( OVERDUE.normalized_isbn ) %] > <a href="http://www.amazon.com/gp/reader/[% OVERDUE.normalized_isbn | uri %][% AmazonAssocTag | uri %]#reader-link" title="View on Amazon.com"><img src="https://images-na.ssl-images-amazon.com/images/P/[% OVERDUE.normalized_isbn | html %].01.THUMBZZZ.jpg" alt="View on Amazon.com" class="item-thumbnail" /></a> >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29200
:
126102
|
126234
| 126504