* @package execution * @version $Id: index.html.php 5094 2013-07-10 08:46:15Z chencongzhi520@gmail.com $ */ ?> moduleName . ucfirst($this->methodName); $useDatatable = (isset($config->datatable->$datatableId->mode) and $config->datatable->$datatableId->mode == 'datatable'); ?> execution->all->unfoldExecutions) ? json_decode($config->execution->all->unfoldExecutions, true) : array(); $unfoldExecutions = zget($unfoldExecutions, $projectID, array()); js::set('unfoldExecutions', $unfoldExecutions); js::set('unfoldAll', $lang->execution->treeLevel['all']); js::set('foldAll', $lang->execution->treeLevel['root']); js::set('isCNLang', !$this->loadModel('common')->checkNotCN()) ?>

execution->noExecutions : $lang->execution->noExecution;?> createLink('programplan', 'create', "projectID=$projectID&productID=$productID"), " " . $lang->programplan->create, '', "class='btn btn-info'");?> createLink('execution', 'create', "projectID=$projectID"), " " . (($from == 'execution' and $config->systemMode == 'new') ? $lang->execution->createExec : $lang->execution->create), '', "class='btn btn-info' data-app='execution'");?>

' >
recTotal}&recPerPage={$pager->recPerPage}&pageID={$pager->pageID}"; if($useDatatable) include '../../common/view/datatable.html.php'; else include '../../common/view/tablesorter.html.php'; $setting = $this->datatable->getSetting('execution'); $widths = $this->datatable->setFixedFieldWidth($setting); $columns = 0; ?> ';?> ' id='executionList' data-fixed-left-width='' data-fixed-right-width=''> $value) { if($value->id == 'actions') { $hasActions = true; $value->show = true; } } if(!$hasActions) { $data = new stdclass(); $data->id = 'actions'; $data->order = $value->order + 1; $data->show = true; $data->width = '180px'; $data->fixed = 'right'; $data->title = $lang->actions; $data->sort = 'no'; $setting[] = $data; } } foreach($setting as $key => $value) { if($value->show) { if(!$isStage and in_array($value->id, array('percent', 'attribute', 'actions'))) continue; if(($config->systemMode == 'classic' or ($config->systemMode == 'new' and $this->app->tab != 'execution')) and $value->id == 'project') continue; $this->datatable->printHead($value, $orderBy, $vars, $canBatchEdit); $columns ++; } } ?> $value) $this->execution->printCell($value, $execution, $users, $useDatatable ? 'datatable' : 'table', $isStage, $productID);?> children)):?> children as $key => $child):?> children)) ? ' table-child-bottom' : '';?> $value) $this->execution->printCell($value, $child, $users, $useDatatable ? 'datatable' : 'table', $isStage, $productID, true);?>
';?>