|
fetch('file', 'printFiles', array('files' => $bug->files, 'fieldset' => 'true'));?>
deleted)
{
common::printLink('bug', 'assignTo', $params, $lang->bug->buttonAssign);
if(!($bug->status == 'active' and $bug->confirmed == 0 and common::printLink('bug', 'confirmBug', $params, $lang->bug->buttonConfirm))) echo $lang->bug->buttonConfirm . ' ';
if(!($bug->status == 'active' and common::printLink('bug', 'resolve', $params, $lang->bug->buttonResolve))) echo $lang->bug->buttonResolve . ' ';
if(!($bug->status == 'resolved' and common::printLink('bug', 'close', $params, $lang->bug->buttonClose))) echo $lang->bug->buttonClose . ' ';
if(!(($bug->status == 'closed' or $bug->status == 'resolved') and $bug->resolution != 'tostory' and common::printLink('bug', 'activate', $params, $lang->bug->buttonActivate))) echo $lang->bug->buttonActivate . ' ';
if($bug->status == 'active' and common::hasPriv('bug', 'resolve'))
{
common::printLink('story', 'create', "product=$bug->product&module=0&story=0&project=0&bugID=$bug->id", $lang->bug->toStory) . ' ';
}
else
{
echo $lang->bug->toStory . ' ';
}
common::printLink('testcase', 'create', $convertParams, $lang->bug->buttonCreateTestcase);
common::printLink('bug', 'edit', $params, ' ', '', "class='icon-edit'");
if(common::hasPriv('bug', 'edit')) echo html::a('#comment', ' ', '', "class='comment' onclick='setComment()'"). ' ';
common::printLink('bug', 'create', $copyParams, ' ', '', "class='icon-copy'");
common::printLink('bug', 'delete', $params, ' ', 'hiddenwin', "class='icon-delete'");
}
echo html::a($browseLink, ' ', '', "class='icon-goback'");
?>
|
|
|