* @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);?>
id&browseType=$browseType¶m=$param&orderBy=%s&recToal={$pager->recTotal}&recPerPage={$pager->recPerPage}"; $datatableId = $this->moduleName . ucfirst($this->methodName); $useDatatable = (isset($this->config->datatable->$datatableId->mode) and $this->config->datatable->$datatableId->mode == 'datatable'); $canBatchEdit = common::hasPriv('testcase', 'batchEdit'); $canBatchUnlink = common::hasPriv('testtask', 'batchUnlinkCases'); $canBatchAssign = common::hasPriv('testtask', 'batchAssign'); $canBatchRun = common::hasPriv('testtask', 'batchRun'); $hasCheckbox = ($canBatchEdit or $canBatchUnlink or $canBatchAssign or $canBatchRun); if($useDatatable) include '../../common/view/datatable.html.php'; if(!$useDatatable) include '../../common/view/tablesorter.html.php'; $this->config->testcase->datatable->defaultField = $this->config->testtask->datatable->defaultField; $this->config->testcase->datatable->fieldList['actions']['width'] = '90'; $setting = $this->datatable->getSetting('testtask'); $widths = $this->datatable->setFixedFieldWidth($setting); $columns = 0; ?> $value) { if($value->show) { $this->datatable->printHead($value, $orderBy, $vars); $columns ++; } } ?> $value) $this->testtask->printCell($value, $run, $users, $task, $branches, $useDatatable ? 'datatable' : 'table');?>