mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
add js() in view which turns CSP on
This commit is contained in:
parent
3d2b7c20f6
commit
36602ff54a
|
@ -36,7 +36,7 @@ if($view) {
|
|||
$view->setParam('dms', $dms);
|
||||
$view->setParam('user', $user);
|
||||
$view->setParam('allusers', $allUsers);
|
||||
$view->show();
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
|
@ -31,6 +31,9 @@ require_once("class.Bootstrap.php");
|
|||
*/
|
||||
class SeedDMS_View_SubstituteUser extends SeedDMS_Bootstrap_Style {
|
||||
|
||||
function js() { /* {{{ */
|
||||
} /* }}} */
|
||||
|
||||
function show() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
$user = $this->params['user'];
|
||||
|
|
Loading…
Reference in New Issue
Block a user