summaryrefslogtreecommitdiff
path: root/app/Controller/File.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-02 15:06:41 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-02 15:06:41 -0500
commit37332ae2222706f8fb330dae780dc938512edcf5 (patch)
tree9161d539cc289179339162d6922c4d9dd2c30e63 /app/Controller/File.php
parent8fe5df39d97ef851d11931fcf7e906ec08838ef7 (diff)
Change layout (experimental)
Diffstat (limited to 'app/Controller/File.php')
-rw-r--r--app/Controller/File.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/Controller/File.php b/app/Controller/File.php
index 3c8c32d1..24db7565 100644
--- a/app/Controller/File.php
+++ b/app/Controller/File.php
@@ -23,9 +23,7 @@ class File extends Base
$this->response->html($this->taskLayout('file_new', array(
'task' => $task,
- 'menu' => 'tasks',
'max_size' => ini_get('upload_max_filesize'),
- 'title' => t('Attach a document')
)));
}
@@ -137,8 +135,6 @@ class File extends Base
$this->response->html($this->taskLayout('file_remove', array(
'task' => $task,
'file' => $file,
- 'menu' => 'tasks',
- 'title' => t('Remove a file')
)));
}
}