Bug 16709: Followup of bug 11038 for 3.20.x only
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 10 Jun 2016 14:48:35 +0000 (16:48 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 20 Jun 2016 20:28:30 +0000 (08:28 +1200)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
  Good catch, bad bug

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Amended patch: remove space and apply same order than in master (CSS then
JS)

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

C4/Auth.pm
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc

index b52b55c..4ceea06 100644 (file)
@@ -1224,8 +1224,8 @@ sub checkauth {
         intranetbookbag                       => C4::Context->preference("intranetbookbag"),
         IntranetNav                           => C4::Context->preference("IntranetNav"),
         IntranetFavicon                       => C4::Context->preference("IntranetFavicon"),
+        IntranetUserCSS                       => C4::Context->preference("IntranetUserCSS"),
         intranetuserjs                        => C4::Context->preference("intranetuserjs"),
-        IntranetUserJS                        => C4::Context->preference("IntranetUserJS"),
         IndependentBranches                   => C4::Context->preference("IndependentBranches"),
         AutoLocation                          => C4::Context->preference("AutoLocation"),
         wrongip                               => $info{'wrongip'},
index 88f1de1..56c7cac 100644 (file)
@@ -21,7 +21,6 @@
 [% IF ( bidi ) %]
    <link rel="stylesheet" type="text/css" href="[% themelang %]/css/right-to-left.css" />
 [% END %]
-[% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS %]</style>[% END %]
 <script type="text/javascript" src="[% interface %]/lib/jquery/jquery.js"></script>
 <script type="text/javascript" src="[% interface %]/lib/jquery/jquery-ui.js"></script>
 <script type="text/javascript" src="[% interface %]/lib/shortcut/shortcut.js"></script>