* @package case * @version $Id: view.html.php 594 2010-03-27 13:44:07Z wwccss $ * @link http://www.zentao.net */ ?> testtask->confirmUnlinkCase)?>
" . $lang->testtask->byModule . " "; echo "" . html::a($this->inlink('cases', "taskID=$taskID&browseType=all¶m=0"), $lang->testtask->allCases) . ""; echo "" . html::a($this->inlink('cases', "taskID=$taskID&browseType=assignedtome¶m=0"), $lang->testtask->assignedToMe) . ""; echo " {$lang->testcase->bySearch} "; ?>
id"); common::printIcon('testcase', 'export', "productID=$productID&orderBy=`case`_desc&taskID=$task->id"); common::printRPN($this->session->testtaskList, ''); ?>
id&browseType=$browseType¶m=$param&orderBy=%s&recToal={$pager->recTotal}&recPerPage={$pager->recPerPage}"; ?>
idAB);?> priAB);?> testcase->title);?> testcase->type);?> testtask->assignedTo);?> testtask->lastRunAccount);?> testtask->lastRunTime);?> testtask->lastRunResult);?> statusAB);?> actions;?>
case);?> pri?>'>pri?> createLink('testcase', 'view', "caseID=$run->case&version=$run->version&from=testtask"), $run->title, '_blank');?> testcase->typeList[$run->type];?> assignedTo]; echo substr($assignedTo, strpos($assignedTo, ':') + 1);?> lastRunner]; echo substr($lastRunner, strpos($lastRunner, ':') + 1);?> lastRunDate)) echo date(DT_MONTHTIME1, strtotime($run->lastRunDate));?> lastRunResult) echo $lang->testcase->resultList[$run->lastRunResult];?> version < $run->caseVersion) ? "{$lang->testcase->changed}" : $lang->testtask->statusList[$run->status];?> id", '', 'list', '', '', 'runCase'); common::printIcon('testtask', 'results', "id=$run->id", '', 'list', '', '', 'iframe'); if(common::hasPriv('testtask', 'unlinkCase')) { $unlinkURL = $this->createLink('testtask', 'unlinkCase', "caseID=$run->id&confirm=yes"); echo html::a("javascript:ajaxDelete(\"$unlinkURL\",\"caseList\",confirmUnlink)", '', '', "class='link-icon' title='{$lang->testtask->unlinkCase}'"); } common::printIcon('testcase', 'createBug', "product=$productID&extra=projectID=$task->project,buildID=$task->build,caseID=$run->case,runID=$run->id", $run, 'list', 'createBug'); ?>
createLink('testcase', 'batchEdit', "productID=$productID"); echo html::commonButton($lang->edit, "onclick=\"setFormAction('$actionLink')\""); } if($canBatchAssign) { $actionLink = inLink('batchAssign', "taskID=$task->id"); echo html::select('assignedTo', $users); echo html::commonButton($lang->testtask->assign, "onclick=\"setFormAction('$actionLink')\""); } if($canBatchRun) { $actionLink = inLink('batchRUN', "productID=$productID&orderBy=id_desc&from=testtask"); echo html::commonButton($lang->testtask->runCase, "onclick=\"setFormAction('$actionLink')\""); } ?>
show();?>