From 86d4840162043b17bfee056c8bd86b16a7bc8732 Mon Sep 17 00:00:00 2001 From: e107steved Date: Mon, 24 Oct 2011 19:43:47 +0000 Subject: [PATCH] Use e_token for comments --- e107_handlers/comment_class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/e107_handlers/comment_class.php b/e107_handlers/comment_class.php index 0fd252595..68fa13243 100644 --- a/e107_handlers/comment_class.php +++ b/e107_handlers/comment_class.php @@ -158,7 +158,8 @@ class comment $text .= $rate." \n ".COMLAN_8.":\n\n\n
".display_help('helpb', "comment")."\n \n".$text2."\n - \n + + \n ".(isset($action) && $action == "reply" ? "" : '').(isset($eaction) && $eaction == "edit" ? "" : "").(isset($content_type) && $content_type ? "" : '')."\n\n\n\n"; if ($tablerender) { @@ -725,7 +726,7 @@ class comment } } - if (($lock != '1') && ($this->getCommentPermissions() === 'rw')) + if ($lock != '1') { $comment = $this->form_comment($action, $table, $id, $subject, "", TRUE, $rate, $tablerender); }