break; case 'update': UpdatePipeline($id, $pipelinetitle, $pipelinedesc, $pipelinegroup, $pipelinenumproc, $pipelinesubmithost, $pipelinequeue, $pipelineremovedata, $pipelineresultsscript, $pipelinedirectory, $pipelineusetmpdir, $pipelinetmpdir, $pipelinenotes, $username, $completefiles, $dependency, $deplevel, $depdir, $deplinktype, $groupid, $dynamicgroupid, $level, $ishidden); DisplayPipelineForm("edit", $id); //DisplayPipelineTree($viewname, $viewlevel, $viewowner, $viewstatus, $viewenabled, $viewall); break; case 'add': AddPipeline($pipelinetitle, $pipelinedesc, $pipelinegroup, $pipelinenumproc, $pipelinesubmithost, $pipelinequeue, $pipelineremovedata, $pipelinedirectory, $pipelineusetmpdir, $pipelinetmpdir, $pipelinenotes, $username, $completefiles, $dependency, $deplevel, $depdir, $deplinktype, $groupid, $dynamicgroupid, $level, $ishidden); DisplayPipelineForm("edit", $id); //DisplayPipelineTree($viewname, $viewlevel, $viewowner, $viewstatus, $viewenabled); break; case 'viewanalyses': DisplayAnalysisList($id, $numperpage, $pagenum); break; case 'viewfailedanalyses': DisplayFailedAnalysisList($id, $numperpage, $pagenum); break; case 'deleteanalyses': DeleteAnalyses($id, $analysisids); DisplayAnalysisList($id, $numperpage, $pagenum); break; case 'copyanalyses': CopyAnalyses($id, $analysisids, $destination); DisplayAnalysisList($id, $numperpage, $pagenum); break; case 'createlinks': CreateLinks($id, $analysisids, $destination); DisplayAnalysisList($id, $numperpage, $pagenum); break; case 'rerunresults': RerunResults($id, $analysisids);
case 'updatepipelinedef': UpdatePipelineDef($id, $commandlist, $steporder, $dd_enabled, $dd_order, $dd_protocol, $dd_modality,$dd_datalevel,$dd_studyassoc,$dd_dataformat,$dd_imagetype,$dd_gzip,$dd_location,$dd_seriescriteria,$dd_numboldreps,$dd_behformat,$dd_behdir,$dd_useseriesdirs,$dd_optional,$dd_preserveseries); DisplayPipelineForm("edit", $id); break; case 'update': UpdatePipeline($id, $pipelinetitle, $pipelinedesc, $pipelinegroup, $pipelinenumproc, $pipelinesubmithost, $pipelinequeue, $pipelineremovedata, $pipelineresultsscript, $pipelinedirectory, $pipelineusetmpdir, $pipelinetmpdir, $pipelinenotes, $username, $completefiles, $dependency, $deplevel, $depdir, $deplinktype, $groupid, $dynamicgroupid, $level, $ishidden); DisplayPipelineForm("edit", $id); //DisplayPipelineTree($viewname, $viewlevel, $viewowner, $viewstatus, $viewenabled, $viewall); break; case 'add': AddPipeline($pipelinetitle, $pipelinedesc, $pipelinegroup, $pipelinenumproc, $pipelinesubmithost, $pipelinequeue, $pipelineremovedata, $pipelinedirectory, $pipelineusetmpdir, $pipelinetmpdir, $pipelinenotes, $username, $completefiles, $dependency, $deplevel, $depdir, $deplinktype, $groupid, $dynamicgroupid, $level, $ishidden); DisplayPipelineForm("edit", $id); //DisplayPipelineTree($viewname, $viewlevel, $viewowner, $viewstatus, $viewenabled); break; case 'viewanalyses': DisplayAnalysisList($id, $numperpage, $pagenum); break; case 'viewfailedanalyses': DisplayFailedAnalysisList($id, $numperpage, $pagenum); break; case 'deleteanalyses': DeleteAnalyses($id, $analysisids); DisplayAnalysisList($id, $numperpage, $pagenum); break; case 'copyanalyses': CopyAnalyses($id, $analysisids, $destination); DisplayAnalysisList($id, $numperpage, $pagenum); break; case 'createlinks': CreateLinks($id, $analysisids, $destination); DisplayAnalysisList($id, $numperpage, $pagenum); break; case 'rerunresults': RerunResults($id, $analysisids); DisplayAnalysisList($id, $numperpage, $pagenum);