@@ -, +, @@ --- .../admin/preferences/enhanced_content.pref | 6 +++--- .../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 6 +++--- .../opac-tmpl/bootstrap/en/modules/opac-results.tt | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref @@ -147,19 +147,19 @@ Enhanced Content: choices: yes: Add no: "Don't add" - - a tab on the OPAC details with book reviews from critics aggregated by IDreamBooks.com. + - a tab on the OPAC details with book reviews from critics aggregated by IDreamBooks.com. - - pref: IDreamBooksReadometer choices: yes: Add no: "Don't add" - - a "Readometer" that summarizes the reviews gathered by IDreamBooks.com to the OPAC details page. + - a "Readometer" that summarizes the reviews gathered by IDreamBooks.com to the OPAC details page. - - pref: IDreamBooksResults choices: yes: Add no: "Don't add" - - the rating from IDreamBooks.com to OPAC search results. + - the rating from IDreamBooks.com to OPAC search results. OCLC: - - pref: XISBN --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -1612,7 +1612,7 @@ if ($.browser.msie && parseInt($.browser.version, 10) >= 8 && window.XDomainRequest) { // Use Microsoft XDR for IE version 8 or above var xdr = new XDomainRequest(); - xdr.open("get", "http://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e"); + xdr.open("get", "https://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e"); xdr.onload = function() { json = 'json = '+xdr.responseText; // the string now looks like.. json = { ... }; eval(json); // json is now a regular JSON object @@ -1620,7 +1620,7 @@ } xdr.send(); } else { - $.getJSON("http://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e", function(json){ + $.getJSON("https://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e", function(json){ parseIDBJSON(json); }); } @@ -1635,7 +1635,7 @@ isbn = isbn.replace(/-/, ''); [% IF ( IDreamBooksReadometer ) %] - $(".title").append(''+json.book.title+' by '+json.book.author+''); + $(".title").append(''+json.book.title+' by '+json.book.author+''); [% END %] [% IF ( IDreamBooksReviews ) %] --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -711,7 +711,7 @@ $(document).ready(function(){ if ($.browser.msie && parseInt($.browser.version, 10) >= 8 && window.XDomainRequest) { // Use Microsoft XDR for IE version 8 or above var xdr = new XDomainRequest(); - xdr.open("get", "http://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e"); + xdr.open("get", "https://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e"); xdr.onload = function() { json = 'json = '+xdr.responseText; // the string now looks like.. json = { ... }; eval(json); // json is now a regular JSON object @@ -724,7 +724,7 @@ $(document).ready(function(){ } xdr.send(); } else { - $.getJSON("http://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e", function(json){ + $.getJSON("https://idreambooks.com/newbooks/api.json?q="+encodeURIComponent(isbn)+"&key=8bf66516232d1b72f3e47df939653e1e", function(json){ if(json.total_results > 0 && json.book.rating > 0){ $(element).children('a').html(""+json.book.title+" by "+json.book.author+""+json.book.rating+"%"); $(element).show(); --