[Koha-bugs] [Bug 15888] New: Syndetics Reviews preference should not enable LibraryThing reviews

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 23 21:14:34 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15888

            Bug ID: 15888
           Summary: Syndetics Reviews preference should not enable
                    LibraryThing reviews
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

On opac-detail.pl the code below attempts to retrieve LibraryThing content when
SyndeticsReviews are enabled even if the librarything prefs are not turned on

 564    [% IF ( SyndeticsReviews && SYNDETICS_REVIEWS ) %]
 565        <li id="tab_reviews"> <a href="#reviews">Reviews</a></li>
 566        <li id="tab_LTFLreviews">
 567            [% IF ( using_https ) %]
 568               <script
src="https://www.librarything.com/forlibraries/widget.js?id=[%
LibraryThingForLibrariesID %]" type="text/javascript"></script>
 569               <noscript>This page contains enriched content visible when
JavaScript is enabled or by clicking <a
href="https://www.librarything.com/forlibraries/noscript.php?id=[%
LibraryThingForLibrariesID %]&accessibility=1">here</a>.</noscript>
 570            [% ELSE %]
 571               <script
src="http://www.librarything.com/forlibraries/widget.js?id=[%
LibraryThingForLibrariesID %]" type="text/javascript"></script>
 572               <noscript>This page contains enriched content visible when
JavaScript is enabled or by clicking <a
href="http://www.librarything.com/forlibraries/noscript.php?id=[%
LibraryThingForLibrariesID %]&accessibility=1">here</a>.</noscript>
 573            [% END %]
 57        </li>
 575     [% END %]

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list