$dms, 'user'=>$user)); if (!$user->isAdmin()) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } if (!isset($_GET["workflowid"]) || !is_numeric($_GET["workflowid"]) || intval($_GET["workflowid"])<1) { UI::exitError(getMLText("workflow_title"),getMLText("invalid_workflow_id")); } $workflow = $dms->getWorkflow(intval($_GET["workflowid"])); if (!is_object($workflow)) { UI::exitError(getMLText("workflow_title"),getMLText("invalid_workflow_id")); } if($view) { $view->setParam('workflow', $workflow); $view($_GET); exit; }