Move and clean some templates to a subfolder

This commit is contained in:
Frédéric Guillot
2014-11-20 20:26:21 -05:00
parent b84edaaf13
commit 11b6381cc0
19 changed files with 59 additions and 58 deletions

View File

@@ -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,
)));