[Koha-bugs] [Bug 9580] Cover image from Coce, a remote image URL cache

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 27 18:15:41 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9580

--- Comment #23 from M. Tompsett <mtompset at hotmail.com> ---
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.


More information about the Koha-bugs mailing list