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