From 070cba8a69afa1770b82d5909e493ea320654bb9 Mon Sep 17 00:00:00 2001 From: Alvet 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 +[% IF (EDSEnabled) %][% END %] -- 1.7.10.4