$dms, 'user'=>$user)); $accessop = new SeedDMS_AccessOperation($dms, $user, $settings); if (!$settings->_enableDebugMode) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } if (!$accessop->check_view_access($view, $_GET)) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } $seluser = null; if(!empty($_GET['userid'])) { $userid = (int) $_GET['userid']; $seluser = $dms->getUser($userid); } else { $seluser = $user; } $allusers = $dms->getAllUsers($settings->_sortUsersInList); if($view) { $view->setParam('settings', $settings); $view->setParam('accessobject', $accessop); $view->setParam('notifier', $notifier); $view->setParam('allusers', $allusers); $view->setParam('seluser', $seluser); $view($_GET); exit; }