Bugzilla – Attachment 47319 Details for
Bug 12663
SCOUserCSS and SCOUserJS ignored on selfcheck login page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 12663 - Prevent OPACUserJS and OPACUserCSS from loading
SIGNED-OFF-Bug-12663---Prevent-OPACUserJS-and-OPAC.patch (text/plain), 1.82 KB, created by
Nick Clemens (kidclamp)
on 2016-01-26 20:25:41 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 12663 - Prevent OPACUserJS and OPACUserCSS from loading
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2016-01-26 20:25:41 UTC
Size:
1.82 KB
patch
obsolete
>From 7b0f975d9a01249675b5d9eb7cda54cc8bb1c6d2 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 26 Jan 2016 19:41:49 +0000 >Subject: [PATCH] [SIGNED-OFF] Bug 12663 - Prevent OPACUserJS and OPACUserCSS > from loading > >Update includes to not load these prefs on any sco page > >Signed-off-by: Heather Braum <hbraum@nekls.org> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc >index a6945b5..5f54c2c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc >@@ -37,7 +37,7 @@ > [% IF ( bidi ) %] > <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left.css" /> > [% END %] >-[% UNLESS template.name.match('sco-auth.tt') %] >+[% UNLESS template.name.match('sco') %] > [% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS %]</style>[% END %] > [% END %] > <link rel="unapi-server" type="application/xml" title="unAPI" href="[% OPACBaseURL %]/cgi-bin/koha/unapi" /> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >index 0965619..145602f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >@@ -267,7 +267,7 @@ $(document).ready(function() { > </script> > [% PROCESS jsinclude %] > >-[% UNLESS template.name.match('sco-auth.tt') %] >+[% UNLESS template.name.match('sco') %] > [% IF ( OPACUserJS ) %] > <script type="text/javascript"> > //<![CDATA[ >-- >2.1.4
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 12663
:
46736
|
47270
|
47317
|
47318
|
47319
|
48831
|
49595
|
49602
|
49745
|
49864
|
49865
|
49879
|
49880