Bugzilla – Attachment 36060 Details for
Bug 13736
Enable EDS Plugin Patch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
EDS Plugin Patch
0001-Bug-13736-Added-EDS-Plugin-patch-requirements.patch (text/plain), 2.24 KB, created by
Alvet
on 2015-02-20 04:45:15 UTC
(
hide
)
Description:
EDS Plugin Patch
Filename:
MIME Type:
Creator:
Alvet
Created:
2015-02-20 04:45:15 UTC
Size:
2.24 KB
patch
obsolete
>From 070cba8a69afa1770b82d5909e493ea320654bb9 Mon Sep 17 00:00:00 2001 >From: Alvet <contact@alvet.com.au> >Date: Fri, 20 Feb 2015 15:06:46 +1100 >Subject: [PATCH] Bug 13736 Added EDS Plugin patch requirements modified: > C4/Auth.pm - Added SysPref EnableEDS modified: > koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc > Added a line to load the EDS javascript if EDS is enabled > >--- > C4/Auth.pm | 1 + > koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc | 1 + > 2 files changed, 2 insertions(+) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index 22f1e8e..efb832a 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -391,6 +391,7 @@ sub get_template_and_user { > "BiblioDefaultView" . C4::Context->preference("IntranetBiblioDefaultView") => 1, > CalendarFirstDayOfWeek => ( C4::Context->preference("CalendarFirstDayOfWeek") eq "Sunday" ) ? 0 : 1, > CircAutocompl => C4::Context->preference("CircAutocompl"), >+ EDSEnabled => C4::Context->preference("EDSEnabled"), > FRBRizeEditions => C4::Context->preference("FRBRizeEditions"), > IndependentBranches => C4::Context->preference("IndependentBranches"), > IntranetNav => C4::Context->preference("IntranetNav"), >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 c3e2d83..ed8ffd9 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 >@@ -49,3 +49,4 @@ > function _(s) { return s } // dummy function for gettext > </script> > <script type="text/javascript" src="[% interface %]/[% theme %]/lib/modernizr.min.js"></script> >+[% IF (EDSEnabled) %]<script type="text/javascript" language="javascript" src="/plugin/Koha/Plugin/EDS/js/EDSScript.js"></script>[% END %] >-- >1.7.10.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 13736
:
36060
|
42894