diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-02 15:06:41 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-02 15:06:41 -0500 |
commit | 37332ae2222706f8fb330dae780dc938512edcf5 (patch) | |
tree | 9161d539cc289179339162d6922c4d9dd2c30e63 /app/Controller/Config.php | |
parent | 8fe5df39d97ef851d11931fcf7e906ec08838ef7 (diff) |
Change layout (experimental)
Diffstat (limited to 'app/Controller/Config.php')
-rw-r--r-- | app/Controller/Config.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/Controller/Config.php b/app/Controller/Config.php index 7c8373c3..3e0b290b 100644 --- a/app/Controller/Config.php +++ b/app/Controller/Config.php @@ -20,9 +20,9 @@ class Config extends Base */ private function layout($template, array $params) { + $params['board_selector'] = $this->projectPermission->getAllowedProjects($this->acl->getUserId()); $params['values'] = $this->config->getAll(); $params['errors'] = array(); - $params['menu'] = 'config'; $params['config_content_for_layout'] = $this->template->load($template, $params); return $this->template->layout('config_layout', $params); @@ -61,7 +61,7 @@ class Config extends Base { $this->response->html($this->layout('config_about', array( 'db_size' => $this->config->getDatabaseSize(), - 'title' => t('About'), + 'title' => t('Settings').' > '.t('About'), ))); } @@ -75,10 +75,10 @@ class Config extends Base $this->common('application'); $this->response->html($this->layout('config_application', array( - 'title' => t('Application settings'), 'languages' => $this->config->getLanguages(), 'timezones' => $this->config->getTimezones(), 'date_formats' => $this->dateParser->getAvailableFormats(), + 'title' => t('Settings').' > '.t('Application settings'), ))); } @@ -92,8 +92,8 @@ class Config extends Base $this->common('board'); $this->response->html($this->layout('config_board', array( - 'title' => t('Board settings'), 'default_columns' => implode(', ', $this->board->getDefaultColumns()), + 'title' => t('Settings').' > '.t('Board settings'), ))); } @@ -107,7 +107,7 @@ class Config extends Base $this->common('webhook'); $this->response->html($this->layout('config_webhook', array( - 'title' => t('Webhook settings'), + 'title' => t('Settings').' > '.t('Webhook settings'), ))); } @@ -119,7 +119,7 @@ class Config extends Base public function api() { $this->response->html($this->layout('config_api', array( - 'title' => t('API'), + 'title' => t('Settings').' > '.t('API'), ))); } |