diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-20 20:26:21 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-20 20:26:21 -0500 |
commit | 11b6381cc0f0583a11287202463d20a0ac1ebf00 (patch) | |
tree | c973b6686467272ae56914f5e143d09de476d084 /app/Controller/Config.php | |
parent | b84edaaf13ba854290099b0df452f61e9b595a17 (diff) |
Move and clean some templates to a subfolder
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 3e0b290b..199259d7 100644 --- a/app/Controller/Config.php +++ b/app/Controller/Config.php @@ -25,7 +25,7 @@ class Config extends Base $params['errors'] = array(); $params['config_content_for_layout'] = $this->template->load($template, $params); - return $this->template->layout('config_layout', $params); + return $this->template->layout('config/layout', $params); } /** @@ -59,7 +59,7 @@ class Config extends Base */ public function index() { - $this->response->html($this->layout('config_about', array( + $this->response->html($this->layout('config/about', array( 'db_size' => $this->config->getDatabaseSize(), 'title' => t('Settings').' > '.t('About'), ))); @@ -74,7 +74,7 @@ class Config extends Base { $this->common('application'); - $this->response->html($this->layout('config_application', array( + $this->response->html($this->layout('config/application', array( 'languages' => $this->config->getLanguages(), 'timezones' => $this->config->getTimezones(), 'date_formats' => $this->dateParser->getAvailableFormats(), @@ -91,7 +91,7 @@ class Config extends Base { $this->common('board'); - $this->response->html($this->layout('config_board', array( + $this->response->html($this->layout('config/board', array( 'default_columns' => implode(', ', $this->board->getDefaultColumns()), 'title' => t('Settings').' > '.t('Board settings'), ))); @@ -106,7 +106,7 @@ class Config extends Base { $this->common('webhook'); - $this->response->html($this->layout('config_webhook', array( + $this->response->html($this->layout('config/webhook', array( 'title' => t('Settings').' > '.t('Webhook settings'), ))); } @@ -118,7 +118,7 @@ class Config extends Base */ public function api() { - $this->response->html($this->layout('config_api', array( + $this->response->html($this->layout('config/api', array( 'title' => t('Settings').' > '.t('API'), ))); } |