From 11b6381cc0f0583a11287202463d20a0ac1ebf00 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Thu, 20 Nov 2014 20:26:21 -0500 Subject: Move and clean some templates to a subfolder --- app/Controller/File.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/Controller/File.php') 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, ))); -- cgit v1.2.3