Bugzilla – Attachment 18563 Details for
Bug 9541
Opac-user doesn't load correct CSS for multiple branches
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9541 - Opac-user doesn't load correct CSS for multiple branches
Bug-9541---Opac-user-doesnt-load-correct-CSS-for-m.patch (text/plain), 1.47 KB, created by
Galen Charlton
on 2013-05-31 18:58:03 UTC
(
hide
)
Description:
Bug 9541 - Opac-user doesn't load correct CSS for multiple branches
Filename:
MIME Type:
Creator:
Galen Charlton
Created:
2013-05-31 18:58:03 UTC
Size:
1.47 KB
patch
obsolete
>From 71b1d8b2f703da8b20a1500e44ef1c98b1d607e8 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 19 Feb 2013 11:41:59 -0500 >Subject: [PATCH] Bug 9541 - Opac-user doesn't load correct CSS for multiple branches > >When clicking the login link for opac-user.pl in a multiple branch >scenario the environment variable for OPAC_CSS_OVERRIDE is ignored from >the koha-conf.xml file. It seems like is is working on every page in >the opac except for the login page. > >Test Plan: >1) Set up a Koha server with 2 separate catalog configurations > ( e.g. opac1.kohatest, opac2.kohatest ) >2) Set the OPAC_CSS_OVERRIDE directive for separate css files > in each opac >3) Browse to the opac login page, note the css is not applied >4) Apply this patch >5) Reload the page, note the css is now applied > >Signed-off-by: Galen Charlton <gmc@esilibrary.com> >--- > C4/Auth.pm | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index 9dba387..3c0b804 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -1024,6 +1024,7 @@ sub checkauth { > PatronSelfRegistration => C4::Context->preference("PatronSelfRegistration"), > PatronSelfRegistrationDefaultCategory => C4::Context->preference("PatronSelfRegistrationDefaultCategory"), > persona => C4::Context->preference("Persona"), >+ opac_css_override => $ENV{'OPAC_CSS_OVERRIDE'}, > ); > > $template->param( OpacPublic => C4::Context->preference("OpacPublic")); >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9541
:
15552
|
15553
|
18038
|
18563
|
19109