From abe50ed0076a967b4268e0888c2eb6111fc8c590 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Fri, 10 Jun 2016 16:48:35 +0200 Subject: [PATCH] Bug 16709: Followup of bug 11038 for 3.20.x only MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Frédéric Demians Good catch, bad bug Signed-off-by: Jonathan Druart Amended patch: remove space and apply same order than in master (CSS then JS) Signed-off-by: Chris Cormack --- C4/Auth.pm | 2 +- koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index b52b55c7f1..4ceea06d07 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -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'}, diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc index 88f1de12e9..56c7cacbda 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc @@ -21,7 +21,6 @@ [% IF ( bidi ) %] [% END %] -[% IF ( IntranetUserCSS ) %][% END %] -- 2.39.5