Bugzilla – Attachment 47317 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]
Bug 12663 - Prevent OPACUserJS and OPACUserCSS from loading
Bug-12663---Prevent-OPACUserJS-and-OPACUserCSS-fro.patch (text/plain), 1.76 KB, created by
Nick Clemens (kidclamp)
on 2016-01-26 19:44:08 UTC
(
hide
)
Description:
Bug 12663 - Prevent OPACUserJS and OPACUserCSS from loading
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2016-01-26 19:44:08 UTC
Size:
1.76 KB
patch
obsolete
>From 712b4dfdd2856c35154a091b4d63d55e5531f71a Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 26 Jan 2016 19:41:49 +0000 >Subject: [PATCH] Bug 12663 - Prevent OPACUserJS and OPACUserCSS from loading > >Update includes to not load these prefs on any sco page >--- > 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