trafficmonitor init...1
This commit is contained in:
parent
00cacff154
commit
eac9e5ffa8
@ -47,6 +47,7 @@ abstract class AdminController extends CommonController
|
||||
$this->addViewDatas('formRules', $this->service->getFormService()->getFormRules());
|
||||
$this->addViewDatas('formFilters', $this->service->getFormService()->getFormFilters());
|
||||
$this->addViewDatas('formOptions', $this->service->getFormService()->getFormOptions());
|
||||
$this->addViewDatas('index_actionButtons', $this->service->getFormService()->getActionButtons());
|
||||
$this->addViewDatas('index_batchjobFields', $this->service->getFormService()->getBatchjobFilters());
|
||||
$this->addViewDatas('index_batchjobButtons', $this->service->getFormService()->getBatchjobButtons());
|
||||
parent::action_init_process($action);
|
||||
|
||||
@ -37,7 +37,7 @@ $template = "templates" . DIRECTORY_SEPARATOR . "{$viewDatas['layout']}";
|
||||
<td nowrap><?= $viewDatas['helper']->getListButton('modify', $num, $viewDatas) ?></td>
|
||||
<?php foreach ($viewDatas['formFields'] as $field => $label): ?><td><?= $viewDatas['helper']->getFieldView($field, $entity->$field, $viewDatas) ?></td><?php endforeach ?>
|
||||
<td nowrap>
|
||||
<?php foreach ($viewDatas['index_batchjobButtons'] as $action => $label): ?>
|
||||
<?php foreach ($viewDatas['index_actionButtons'] as $action => $label): ?>
|
||||
<?= $viewDatas['helper']->getListButton($action, $label, $viewDatas) ?>
|
||||
<?php endforeach ?>
|
||||
</td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user