session->testtaskList, 'btn btn-link');?>
id;?>
name;?>
testtask->linkCase = $lang->testtask->linkByStory;
common::printLink('testtask', 'linkCase', "taskID=$taskID&type=bystory", $lang->testtask->linkByStory, '', "class='btn btn-primary'");
echo "";
echo "";
echo "
- ";
if($suiteList)
{
foreach($suiteList as $suiteID => $suite)
{
$active = ($type == 'bysuite' and (int)$param == $suiteID) ? "class='active'" : '';
$suiteName = $suite->name;
if($suite->type == 'public') $suiteName .= " {$lang->testsuite->authorList[$suite->type]}";
echo "
- " . html::a(inlink('linkCase', "taskID=$taskID&type=bysuite¶m=$suiteID"), $suiteName) . " "; } } else { echo "
- " . html::a('###', $lang->testsuite->noticeNone) . " "; } echo "
- ";
if($testTask)
{
foreach($testTask as $tmpID => $tmpTitle)
{
$active = ($type == 'bybuild' and (int)$param == $tmpID) ? "class='active'" : '';
echo "
- " . html::a(inlink('linkCase', "taskID=$taskID&type=bybuild¶m=$tmpID"), $tmpTitle) . " "; } } else { echo "
- " . html::a('###', $lang->testtask->noticeNoOther) . " "; } echo "