$dms, 'user'=>$user)); $accessop = new SeedDMS_AccessOperation($dms, $user, $settings); if (!$accessop->check_view_access($view, $_GET)) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied"), false, $isajax); } $users = $dms->getAllUsers($settings->_sortUsersInList); if (is_bool($users)) { UI::exitError(getMLText("admin_tools"),getMLText("internal_error"), false, $isajax); } $groups = $dms->getAllGroups(); if (is_bool($groups)) { UI::exitError(getMLText("admin_tools"),getMLText("internal_error"), false, $isajax); } $roles = $dms->getAllRoles(); if (is_bool($roles)) { UI::exitError(getMLText("admin_tools"),getMLText("internal_error"), false, $isajax); } if(isset($_GET['userid']) && $_GET['userid']) { $seluser = $dms->getUser($_GET['userid']); } else { $seluser = null; } if($view) { $view->setParam('seluser', $seluser); $view->setParam('allusers', $users); $view->setParam('allgroups', $groups); $view->setParam('allroles', $roles); $view->setParam('passwordstrength', $settings->_passwordStrength); $view->setParam('passwordexpiration', $settings->_passwordExpiration); $view->setParam('httproot', $settings->_httpRoot); $view->setParam('enableuserimage', $settings->_enableUserImage); $view->setParam('undeluserids', explode(',', $settings->_undelUserIds)); $view->setParam('workflowmode', $settings->_workflowMode); $view->setParam('quota', $settings->_quota); $view->setParam('strictformcheck', $settings->_strictFormCheck); $view->setParam('accessobject', $accessop); $view($_GET); }