$dms, 'user'=>$user)); $accessop = new SeedDMS_AccessOperation($dms, null, $user, $settings); if (!$user->isAdmin()) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } if(isset($_GET['workflowactionid']) && $_GET['workflowactionid']) { $selworkflowaction = $dms->getWorkflowAction($_GET['workflowactionid']); } else { $selworkflowaction = null; } $workflowactions = $dms->getAllWorkflowActions(); if (is_bool($workflowactions)) { UI::exitError(getMLText("admin_tools"),getMLText("internal_error")); } if($view) { $view->setParam('allworkflowactions', $workflowactions); $view->setParam('selworkflowaction', $selworkflowaction); $view->setParam('accessobject', $accessop); $view($_GET); exit; }