diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-12-28 11:28:50 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-12-28 11:28:50 -0500 |
commit | 34d7450d3c13342715e90ec21bceaa13e1baa876 (patch) | |
tree | a2d8f2f22ad3fe9b56f01fe2db0357f9b963e660 /app/Template/task/comments.php | |
parent | 88d84073aecbe8bdc5f10825b6d7ca6b81c5f7b1 (diff) |
Template helpers refactoring
Diffstat (limited to 'app/Template/task/comments.php')
-rw-r--r-- | app/Template/task/comments.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Template/task/comments.php b/app/Template/task/comments.php index 343e66c5..6f380567 100644 --- a/app/Template/task/comments.php +++ b/app/Template/task/comments.php @@ -5,7 +5,7 @@ </div> <?php foreach ($comments as $comment): ?> - <?= Helper\template('comment/show', array( + <?= $this->render('comment/show', array( 'comment' => $comment, 'task' => $task, 'project' => $project, @@ -15,10 +15,10 @@ <?php endforeach ?> <?php if (! isset($not_editable)): ?> - <?= Helper\template('comment/create', array( + <?= $this->render('comment/create', array( 'skip_cancel' => true, 'values' => array( - 'user_id' => Helper\get_user_id(), + 'user_id' => $this->acl->getUserId(), 'task_id' => $task['id'], ), 'errors' => array(), |