$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); } $allUsers = $dms->getAllUsers($settings->_sortUsersInList); if (is_bool($allUsers)) { UI::exitError(getMLText("admin_tools"), getMLText("internal_error"), false, $isajax); } $allGroups = $dms->getAllGroups(); if (is_bool($allGroups)) { UI::exitError(getMLText("admin_tools"), getMLText("internal_error"), false, $isajax); } if (isset($_GET['groupid']) && $_GET['groupid']) { $selgroup = $dms->getGroup($_GET['groupid']); } else { $selgroup = null; } if ($view) { $view->setParam('selgroup', $selgroup); $view->setParam('allgroups', $allGroups); $view->setParam('allusers', $allUsers); $view->setParam('strictformcheck', $settings->_strictFormCheck); $view->setParam('cachedir', $settings->_cacheDir); $view->setParam('previewWidthList', $settings->_previewWidthList); $view->setParam('workflowmode', $settings->_workflowMode); $view->setParam('timeout', $settings->_cmdTimeout); $view->setParam('accessobject', $accessop); $view->setParam('sortusersinlist', $settings->_sortUsersInList); $view->setParam('xsendfile', $settings->_enableXsendfile); $view($_GET); }