| @@ 26-37 (lines=12) @@ | ||
| 23 | class SetupController extends BaseActionController |
|
| 24 | { |
|
| 25 | ||
| 26 | public function onDispatch(\Zend\Mvc\MvcEvent $e) |
|
| 27 | { |
|
| 28 | $this->setActionTitles( |
|
| 29 | array( |
|
| 30 | 'index' => $this->translate("setup"), |
|
| 31 | 'install' => $this->translate("install"), |
|
| 32 | 'update' => $this->translate("update"), |
|
| 33 | 'updatedb' => $this->translate("update database structure"), |
|
| 34 | ) |
|
| 35 | ); |
|
| 36 | return parent::onDispatch($e); |
|
| 37 | } |
|
| 38 | public function indexAction() |
|
| 39 | { |
|
| 40 | return new ViewModel(); |
|
| @@ 24-34 (lines=11) @@ | ||
| 21 | class SystemController extends BaseActionController |
|
| 22 | { |
|
| 23 | ||
| 24 | public function onDispatch(\Zend\Mvc\MvcEvent $e) |
|
| 25 | { |
|
| 26 | $this->setActionTitles( |
|
| 27 | array( |
|
| 28 | 'index' => $this->translate("system"), |
|
| 29 | 'info' => $this->translate("info"), |
|
| 30 | 'backup' => $this->translate("backup"), |
|
| 31 | ) |
|
| 32 | ); |
|
| 33 | return parent::onDispatch($e); |
|
| 34 | } |
|
| 35 | ||
| 36 | public function indexAction() |
|
| 37 | { |
|