http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9580
--- Comment #23 from M. Tompsett <[email protected]> --- Comment on attachment 32795 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32795 Bug 9580 Cover images from Coce, a remote image URL cache Review of attachment 32795: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=9580&attachment=32795) ----------------------------------------------------------------- ::: C4/Auth.pm @@ +351,5 @@ > "BiblioDefaultView".C4::Context->preference("BiblioDefaultView") > => 1, > EnhancedMessagingPreferences => > C4::Context->preference('EnhancedMessagingPreferences'), > GoogleJackets => > C4::Context->preference("GoogleJackets"), > + CoceHost => > C4::Context->preference("CoceHost"), > + CoceProviders => > C4::Context->preference("CoceProviders"), Rather than add more parameters, why not modify the template to have: [%- USE Koha -%] And then use the plugin function to grab it directly. Less modifications are good. :) ::: koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc @@ +113,5 @@ > </script> > [% END %] > +[% IF CoceProviders %] > +<script type="text/javascript" src="[% themelang %]/js/coce.js"></script> > +[% END %] This is OPAC prog. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
