summaryrefslogtreecommitdiff
path: root/app/Controller/Comment.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/Comment.php
parent8fe5df39d97ef851d11931fcf7e906ec08838ef7 (diff)
Change layout (experimental)
Diffstat (limited to 'app/Controller/Comment.php')
-rw-r--r--app/Controller/Comment.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/Controller/Comment.php b/app/Controller/Comment.php
index a9032ed8..efa7e066 100644
--- a/app/Controller/Comment.php
+++ b/app/Controller/Comment.php
@@ -26,7 +26,6 @@ class Comment extends Base
if (! $this->acl->isAdminUser() && $comment['user_id'] != $this->acl->getUserId()) {
$this->response->html($this->template->layout('comment_forbidden', array(
- 'menu' => 'tasks',
'title' => t('Access Forbidden')
)));
}
@@ -50,7 +49,6 @@ class Comment extends Base
),
'errors' => array(),
'task' => $task,
- 'menu' => 'tasks',
'title' => t('Add a comment')
)));
}
@@ -83,7 +81,6 @@ class Comment extends Base
'values' => $values,
'errors' => $errors,
'task' => $task,
- 'menu' => 'tasks',
'title' => t('Add a comment')
)));
}
@@ -103,7 +100,6 @@ class Comment extends Base
'errors' => array(),
'comment' => $comment,
'task' => $task,
- 'menu' => 'tasks',
'title' => t('Edit a comment')
)));
}
@@ -138,7 +134,6 @@ class Comment extends Base
'errors' => $errors,
'comment' => $comment,
'task' => $task,
- 'menu' => 'tasks',
'title' => t('Edit a comment')
)));
}
@@ -156,7 +151,6 @@ class Comment extends Base
$this->response->html($this->taskLayout('comment_remove', array(
'comment' => $comment,
'task' => $task,
- 'menu' => 'tasks',
'title' => t('Remove a comment')
)));
}