diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 47ac4f904..024ffb2e4 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -43,7 +43,7 @@ class SeedDMS_Bootstrap_Style extends SeedDMS_View_Common { } /* }}} */ function htmlStartPage($title="", $bodyClass="") { /* {{{ */ - if(method_exists($this, 'css')) { + if(method_exists($this, 'js')) { $csp_rules = "script-src 'self';"; // style-src 'self';"; foreach (array("X-WebKit-CSP", "X-Content-Security-Policy", "Content-Security-Policy") as $csp) { header($csp . ": " . $csp_rules); @@ -121,8 +121,8 @@ $(document).ready(function () { //]]> "; } - if(method_exists($this, 'css')) - echo ''."\n"; + if(method_exists($this, 'js')) + echo ''."\n"; echo "\n\n"; } /* }}} */ diff --git a/views/bootstrap/class.GroupMgr.php b/views/bootstrap/class.GroupMgr.php index 505e66e07..292376b31 100644 --- a/views/bootstrap/class.GroupMgr.php +++ b/views/bootstrap/class.GroupMgr.php @@ -31,7 +31,7 @@ require_once("class.Bootstrap.php"); */ class SeedDMS_View_GroupMgr extends SeedDMS_Bootstrap_Style { - function css() { /* {{{ */ + function js() { /* {{{ */ $selgroup = $this->params['selgroup']; $strictformcheck = $this->params['strictformcheck']; diff --git a/views/bootstrap/class.UsrMgr.php b/views/bootstrap/class.UsrMgr.php index ebd5c842d..849e77e9b 100644 --- a/views/bootstrap/class.UsrMgr.php +++ b/views/bootstrap/class.UsrMgr.php @@ -31,7 +31,7 @@ require_once("class.Bootstrap.php"); */ class SeedDMS_View_UsrMgr extends SeedDMS_Bootstrap_Style { - function css() { /* {{{ */ + function js() { /* {{{ */ $seluser = $this->params['seluser']; ?> function checkForm()