From 37332ae2222706f8fb330dae780dc938512edcf5 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 2 Nov 2014 15:06:41 -0500 Subject: Change layout (experimental) --- app/Controller/Comment.php | 6 ------ 1 file changed, 6 deletions(-) (limited to 'app/Controller/Comment.php') 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') ))); } -- cgit v1.2.3