summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Config.php12
-rw-r--r--app/Controller/File.php6
2 files changed, 9 insertions, 9 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'),
)));
}
diff --git a/app/Controller/File.php b/app/Controller/File.php
index 24db7565..ae44cac0 100644
--- a/app/Controller/File.php
+++ b/app/Controller/File.php
@@ -21,7 +21,7 @@ class File extends Base
{
$task = $this->getTask();
- $this->response->html($this->taskLayout('file_new', array(
+ $this->response->html($this->taskLayout('file/new', array(
'task' => $task,
'max_size' => ini_get('upload_max_filesize'),
)));
@@ -75,7 +75,7 @@ class File extends Base
$file = $this->file->getById($this->request->getIntegerParam('file_id'));
if ($file['task_id'] == $task['id']) {
- $this->response->html($this->template->load('file_open', array(
+ $this->response->html($this->template->load('file/open', array(
'file' => $file
)));
}
@@ -132,7 +132,7 @@ class File extends Base
$task = $this->getTask();
$file = $this->file->getById($this->request->getIntegerParam('file_id'));
- $this->response->html($this->taskLayout('file_remove', array(
+ $this->response->html($this->taskLayout('file/remove', array(
'task' => $task,
'file' => $file,
)));