Bugzilla – Attachment 79186 Details for
Bug 21352
Allow plugins to add CSS and Javascript to Staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21352: Use the raw filter for plugin hooks, both opac and staff side
Bug-21352-Use-the-raw-filter-for-plugin-hooks-both.patch (text/plain), 2.75 KB, created by
Kyle M Hall (khall)
on 2018-09-20 19:31:53 UTC
(
hide
)
Description:
Bug 21352: Use the raw filter for plugin hooks, both opac and staff side
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2018-09-20 19:31:53 UTC
Size:
2.75 KB
patch
obsolete
>From bffff38cde2828437566f12ad983099ec05d016b Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutiosn.com> >Date: Thu, 20 Sep 2018 15:30:49 -0400 >Subject: [PATCH] Bug 21352: Use the raw filter for plugin hooks, both opac and > staff side > >--- > koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc | 2 +- > koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) > >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 0cd6b7ea38..84d32eb073 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 >@@ -25,7 +25,7 @@ > [% END %] > [% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS | $raw %]</style>[% END %] > >-[% KohaPlugins.get_plugins_intranet_head | html %] >+[% KohaPlugins.get_plugins_intranet_head | $raw %] > > [% UNLESS ( footerjs ) %] > [% INCLUDE js_includes.inc %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc >index cfbf362c7a..d7d75bb300 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc >@@ -72,5 +72,5 @@ > [% jsinclude | $raw # Parse the page template's JavaScript block if necessary %] > [% END %] > </body> >-[% KohaPlugins.get_plugins_intranet_js | html %] >+[% KohaPlugins.get_plugins_intranet_js | $raw %] > </html> >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 480b5a545e..22160e92de 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 >@@ -56,4 +56,4 @@ > [% Asset.js("lib/modernizr.min.js") | $raw %] > [% Asset.css("lib/font-awesome/css/font-awesome.min.css") | $raw %] > [% PROCESS 'html_helpers.inc' %] >-[% KohaPlugins.get_plugins_opac_head | html %] >+[% KohaPlugins.get_plugins_opac_head | $raw %] >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 e031acb74c..d34c5dbef2 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >@@ -286,6 +286,6 @@ $(document).ready(function() { > </script> > [% END %] > [% END %] >-[% KohaPlugins.get_plugins_opac_js | html %] >+[% KohaPlugins.get_plugins_opac_js | $raw %] > </body> > </html> >-- >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 21352
:
78877
|
79185
|
79186
|
79440
|
79441
|
79754
|
79755
|
79756
|
79873
|
79875
|
79876