Bugzilla – Attachment 115584 Details for
Bug 14004
Add ability to temporarily disable added CSS and Javascript in OPAC and interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14004: Add OpacAdditionalStylesheet and opaclayoutstylesheet
Bug-14004-Add-OpacAdditionalStylesheet-and-opaclay.patch (text/plain), 1.03 KB, created by
Owen Leonard
on 2021-01-21 18:04:24 UTC
(
hide
)
Description:
Bug 14004: Add OpacAdditionalStylesheet and opaclayoutstylesheet
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2021-01-21 18:04:24 UTC
Size:
1.03 KB
patch
obsolete
>From 3e99e62f876131ab7c673fe6469057e68afb39f1 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Thu, 21 Jan 2021 17:09:27 +0100 >Subject: [PATCH] Bug 14004: Add OpacAdditionalStylesheet and > opaclayoutstylesheet > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > C4/Auth.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index cef3cb4755..5e44bd1c40 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -445,7 +445,7 @@ sub get_template_and_user { > foreach my $syspref ( qw( OPACUserCSS OPACUserJS IntranetUserCSS IntranetUserJS ) ) { > $ENV{"OVERRIDE_SYSPREF_$syspref"} = q{ } if $in->{'query'}->param("DISABLE_SYSPREF_$syspref"); > } >- foreach my $syspref ( qw( intranetcolorstylesheet intranetstylesheet ) ) { >+ foreach my $syspref ( qw( OpacAdditionalStylesheet opaclayoutstylesheet intranetcolorstylesheet intranetstylesheet ) ) { > $ENV{"OVERRIDE_SYSPREF_$syspref"} = 0 if $in->{'query'}->param("DISABLE_SYSPREF_$syspref"); > } > >-- >2.11.0
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 14004
:
115064
|
115120
|
115567
|
115583
|
115584
|
115589
|
115590
|
115871
|
115874
|
115876
|
115883