#17596607 : added a feature managing issues (change milestone, component, and etc.)

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5315 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2009-01-11 06:55:09 +00:00
parent dbe08ac9aa
commit 04f980fca4
14 changed files with 220 additions and 19 deletions

View file

@ -452,6 +452,31 @@
$this->setTemplateFile("top_refresh.html");
}
function procIssuetrackerAdminManageCheckedIssue() {
$module_srl = Context::get('module_srl');
$cart = Context::get('cart');
if($cart) $document_srl_list = explode('|@|', $cart);
else $document_srl_list = array();
$document_srl_count = count($document_srl_list);
$objs = Context::gets('priority_srl', 'component_srl', 'type_srl', 'milestone_srl');
$oController = &getController('issuetracker');
foreach($document_srl_list as $target_srl)
{
$output = $oController->insertHistory($target_srl, $objs, $module_srl, true);
if(!$output->toBool())
{
return $output;
}
}
$_SESSION['document_management'] = array();
$this->setMessage('success_updated');
}
}
?>