* @package testsuite * @version $Id: library.html.php 5108 2013-07-12 01:59:04Z chencongzhi520@gmail.com $ * @link http://www.zentao.net */ ?> testsuite->confirmDelete); js::set('batchDelete', $lang->testcase->confirmBatchDelete); js::set('flow', $this->config->global->flow); ?> config->global->flow == 'onlyTest'):?>
'>
" . html::icon($lang->icons['usecase']) . '' . $libName . '';?>
createLink('testsuite', 'exportTemplet', "libID=$libID") : '#'; if(common::hasPriv('testsuite', 'exportTemplet')) echo html::a($link, " " . $lang->testsuite->exportTemplet, '', "class='btn export'"); $link = common::hasPriv('testsuite', 'import') ? $this->createLink('testsuite', 'import', "libID=$libID") : '#'; if(common::hasPriv('testsuite', 'import')) echo html::a($link, " " . $lang->testcase->importFile, '', "class='btn export'"); ?>
createLink('testsuite', 'createCase', "libID=$libID&moduleID=" . (isset($moduleID) ? $moduleID : 0)) : '#'; echo html::a($link, "" . $lang->testcase->create, '', $misc); ?>
'>
icons['product']);?>
tree->manage);?>
recTotal}&recPerPage={$pager->recPerPage}";?> createLink('testcase', 'view', "caseID=$case->id&version=$case->version");?>
idAB);?> priAB);?> testcase->title);?> typeAB);?> openedByAB);?> statusAB);?> actions;?>
id));?> testcase->priList, $case->pri, $case->pri)?>'>testcase->priList, $case->pri, $case->pri);?> module)echo "{$modulePairs[$case->module]} ";?> title, null, "style='color: $case->color'");?> testcase->typeList[$case->type];?> openedBy];?> testcase->statusList[$case->status];?> testcase->needReview or !empty($config->testcase->forceReview)) common::printIcon('testcase', 'review', "caseID=$case->id", $case, 'list', 'review', '', 'iframe'); common::printIcon('testcase', 'edit', "caseID=$case->id", $case, 'list'); if(common::hasPriv('testcase', 'delete')) { $deleteURL = $this->createLink('testcase', 'delete', "caseID=$case->id&confirm=yes"); echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"caseList\",confirmDelete)", '', '', "title='{$lang->testcase->delete}' class='btn-icon'"); } ?>
createLink('testcase', 'batchEdit', "libID=$libID&branch=0&type=lib"); $misc = common::hasPriv('testcase', 'batchEdit') ? "onclick=\"setFormAction('$actionLink')\"" : "disabled='disabled'"; echo html::commonButton($lang->edit, $misc); ?>
show();?>