" . html::icon($lang->icons['usecase']) . '' . $task->name . '';?>
'>
app->loadLang('tree');
echo isset($moduleID) ? $moduleName : $this->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("taskCaseModule")';
echo html::a($removeLink, "×", '', "class='text-muted'");
}
?>
" . html::a($this->inlink('cases', "taskID=$taskID&browseType=all¶m=0"), $lang->testtask->allCases) . "";
if($hasCasesPriv) echo "
" . html::a($this->inlink('cases', "taskID=$taskID&browseType=assignedtome¶m=0"), $lang->testtask->assignedToMe) . "";
if($hasGroupPriv and $this->config->global->flow != 'onlyTest')
{
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 "';
}
if($this->methodName == 'cases') echo "
{$lang->testcase->bySearch} ";
if(common::hasPriv('testtask', 'view')) echo '
' . html::a(inlink('view', "taskID=$taskID"), $lang->testtask->view) . '';
if(common::hasPriv('testreport', 'browse')) echo '
' . html::a($this->createLink('testreport', 'browse', "objectID=$productID&objectType=product&extra=$taskID"), $lang->testtask->reportField) . '';
?>
";
common::printIcon('testtask', 'linkCase', "taskID=$task->id", '', 'button', 'link');
common::printIcon('testcase', 'export', "productID=$productID&orderBy=`case`_desc&taskID=$task->id", '', 'button', '', '', 'iframe export');
common::printIcon('testtask', 'report', "productID=$productID&taskID=$task->id&browseType=$browseType&branchID=$task->branch&moduleID=$moduleID");
echo '
';
echo "
";
common::printRPN($this->session->testtaskList, '');
echo '
';
?>