* @package feedback * @version $Id$ * @link http://www.zentao.net */ ?> getModuleRoot() . 'common/view/datatable.fix.html.php';?> loadModel('datatable'); $adminMethod = $this->app->getMethodName() == 'admin'; $datatableId = $this->moduleName . ucfirst($this->methodName); $useDatatable = (isset($config->datatable->$datatableId->mode) and $config->datatable->$datatableId->mode == 'datatable'); ?>
>
recTotal}&recPerPage={$pager->recPerPage}"; if($useDatatable) include $app->getModuleRoot() . 'common/view/datatable.html.php'; $canBatchEdit = common::hasPriv('feedback', 'batchEdit'); $canBatchClose = common::hasPriv('feedback', 'batchClose'); $canBatchAssignTo = common::hasPriv('feedback', 'batchAssignTo'); $canBatchAction = $canBatchEdit or $canBatchClose or $canBatchAssignTo; if($browseType == 'review') { $canBatchReview = common::hasPriv('feedback', 'batchReview'); $canBatchAction = $canBatchAction or $canBatchReview; $config->feedback->datatable->fieldList['actions']['width'] = '120'; } $setting = $this->loadModel('datatable')->getSetting($this->moduleName); $widths = $this->datatable->setFixedFieldWidth($setting); if(!$useDatatable) echo '
'; ?> ' id='feedbackList' data-fixed-left-width='' data-fixed-right-width=''> $value) { if($value->show) $this->datatable->printHead($value, $orderBy, $vars, $canBatchAction); } ?> $value) { if($value->show) $this->feedback->printCell($value, $feedback, $users, $allProducts, $depts, $modulePairs, $viewMethod, $browseType, $stories, $bugs, $todos, $tasks, $tickets); } ?>
';?>