" . html::icon($lang->icons['usecase']) . '' . $task->name . '';?>
lang->tree->all;
if(!empty($moduleID))
{
$removeLink = $browseType == 'bymodule' ? inlink('cases', "taskID=$taskID&browseType=$browseType¶m=0&orderBy=$orderBy&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}") : 'javascript:removeCookieByKey("caseModule")';
echo ' ' . html::a($removeLink, "") . ' ';
}
echo " ";
?>
moduleName, $this->methodName) as $menuItem):?>
hidden)) continue;
$type = $menuItem->name;
if($hasCasesPriv and strpos($type, 'QUERY') === 0)
{
$queryID = (int)substr($type, 5);
echo "
" . html::a($this->inlink('cases', "taskID=$taskID&browseType=bySearch¶m=$queryID"), $menuItem->text) . "";
}
elseif($hasCasesPriv and ($type == 'all' or $type == 'assignedtome'))
{
echo "
" . html::a($this->inlink('cases', "taskID=$taskID&browseType=$type¶m=0"), $menuItem->text) . "";
}
elseif($hasGroupPriv and $type == 'group')
{
echo "
";
$groupBy = isset($groupBy) ? $groupBy : '';
$current = zget($lang->testcase->groups, isset($groupBy) ? $groupBy : '', '');
if(empty($current)) $current = $lang->testcase->groups[''];
echo html::a('javascript:;', $current . " ", '', "data-toggle='dropdown'");
echo "';
}
?>
methodName == 'cases') echo "
{$lang->testcase->bySearch} ";
echo '
' . html::a(inlink('view', "taskID=$taskID"), $lang->testtask->view) . '';
?>
";
common::printIcon('testtask', 'linkCase', "taskID=$task->id", '', 'button', 'link');
common::printIcon('testcase', 'export', "productID=$productID&orderBy=`case`_desc&taskID=$task->id", '', 'button', '', '', 'iframe export');
echo '
';
echo "
";
common::printRPN($this->session->testtaskList, '');
echo '
';
?>