* @package case * @version $Id: view.html.php 594 2010-03-27 13:44:07Z wwccss $ * @link http://www.zentao.net */ ?> testtask->confirmUnlinkCase)?> session->taskCaseBrowseType == 'bysearch') ? 'all' : $this->session->taskCaseBrowseType);?>
icons['product']);?>
id&browseType=$browseType¶m=$param&orderBy=%s&recToal={$pager->recTotal}&recPerPage={$pager->recPerPage}"; $datatableId = $this->moduleName . $this->methodName; $useDatatable = (isset($this->config->datatable->$datatableId->mode) and $this->config->datatable->$datatableId->mode == 'datatable'); $canBatchEdit = common::hasPriv('testcase', 'batchEdit'); $canBatchAssign = common::hasPriv('testtask', 'batchAssign'); $canBatchRun = common::hasPriv('testtask', 'batchRun'); $hasCheckbox = ($canBatchEdit or $canBatchAssign or $canBatchRun); include $useDatatable ? dirname(__FILE__) . '/datatabledata.html.php' : dirname(__FILE__) . '/casesdata.html.php'; ?>
createLink('testcase', 'batchEdit', "productID=$productID"); echo html::commonButton($lang->edit, "onclick=\"setFormAction('$actionLink')\""); } if($canBatchAssign) { $actionLink = inLink('batchAssign', "taskID=$task->id"); echo "
"; echo html::select('assignedTo', $assignedTos, '', 'class="form-control chosen"'); echo ""; echo html::a("javascript:setFormAction(\"$actionLink\")", $lang->testtask->assign); echo '
'; } if($canBatchRun) { $actionLink = inLink('batchRun', "productID=$productID&orderBy=id_desc&from=testtask&taskID=$taskID"); echo html::commonButton($lang->testtask->runCase, "onclick=\"setFormAction('$actionLink')\""); } ?>
show();?>