$dms, 'user'=>$user)); 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($_GET); exit; }