mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 21:21:27 +00:00
rename css() to js()
This commit is contained in:
parent
8af22ee9f2
commit
4a23bd9eca
|
@ -43,7 +43,7 @@ class SeedDMS_Bootstrap_Style extends SeedDMS_View_Common {
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
function htmlStartPage($title="", $bodyClass="") { /* {{{ */
|
function htmlStartPage($title="", $bodyClass="") { /* {{{ */
|
||||||
if(method_exists($this, 'css')) {
|
if(method_exists($this, 'js')) {
|
||||||
$csp_rules = "script-src 'self';"; // style-src 'self';";
|
$csp_rules = "script-src 'self';"; // style-src 'self';";
|
||||||
foreach (array("X-WebKit-CSP", "X-Content-Security-Policy", "Content-Security-Policy") as $csp) {
|
foreach (array("X-WebKit-CSP", "X-Content-Security-Policy", "Content-Security-Policy") as $csp) {
|
||||||
header($csp . ": " . $csp_rules);
|
header($csp . ": " . $csp_rules);
|
||||||
|
@ -121,8 +121,8 @@ $(document).ready(function () {
|
||||||
//]]>
|
//]]>
|
||||||
</script>";
|
</script>";
|
||||||
}
|
}
|
||||||
if(method_exists($this, 'css'))
|
if(method_exists($this, 'js'))
|
||||||
echo '<script src="../out/out.'.$this->params['class'].'.php?action=css"></script>'."\n";
|
echo '<script src="../out/out.'.$this->params['class'].'.php?action=js"></script>'."\n";
|
||||||
echo "</body>\n</html>\n";
|
echo "</body>\n</html>\n";
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ require_once("class.Bootstrap.php");
|
||||||
*/
|
*/
|
||||||
class SeedDMS_View_GroupMgr extends SeedDMS_Bootstrap_Style {
|
class SeedDMS_View_GroupMgr extends SeedDMS_Bootstrap_Style {
|
||||||
|
|
||||||
function css() { /* {{{ */
|
function js() { /* {{{ */
|
||||||
$selgroup = $this->params['selgroup'];
|
$selgroup = $this->params['selgroup'];
|
||||||
$strictformcheck = $this->params['strictformcheck'];
|
$strictformcheck = $this->params['strictformcheck'];
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ require_once("class.Bootstrap.php");
|
||||||
*/
|
*/
|
||||||
class SeedDMS_View_UsrMgr extends SeedDMS_Bootstrap_Style {
|
class SeedDMS_View_UsrMgr extends SeedDMS_Bootstrap_Style {
|
||||||
|
|
||||||
function css() { /* {{{ */
|
function js() { /* {{{ */
|
||||||
$seluser = $this->params['seluser'];
|
$seluser = $this->params['seluser'];
|
||||||
?>
|
?>
|
||||||
function checkForm()
|
function checkForm()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user