mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +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="") { /* {{{ */
|
||||
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 () {
|
|||
//]]>
|
||||
</script>";
|
||||
}
|
||||
if(method_exists($this, 'css'))
|
||||
echo '<script src="../out/out.'.$this->params['class'].'.php?action=css"></script>'."\n";
|
||||
if(method_exists($this, 'js'))
|
||||
echo '<script src="../out/out.'.$this->params['class'].'.php?action=js"></script>'."\n";
|
||||
echo "</body>\n</html>\n";
|
||||
} /* }}} */
|
||||
|
||||
|
|
|
@ -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'];
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user