diff --git a/comment.php b/comment.php
index 401fea973..3bdac645f 100644
--- a/comment.php
+++ b/comment.php
@@ -138,9 +138,9 @@ if(e_AJAX_REQUEST) // TODO improve security
$row['comment_id'] = $newid;
$width = ($pid) ? 1 : 0;
- $ret['html'] = "\n\n";
+ $ret['html'] = "\n\n
";
$ret['html'] .= e107::getComment()->render_comment($row,'comments','comment',intval($_POST['itemid']),$width);
- $ret['html'] .= "\n\n";
+ $ret['html'] .= "\n\n";
$ret['error'] = false;
diff --git a/e107_core/shortcodes/batch/comment_shortcodes.php b/e107_core/shortcodes/batch/comment_shortcodes.php
index 902069532..9c8a9396a 100644
--- a/e107_core/shortcodes/batch/comment_shortcodes.php
+++ b/e107_core/shortcodes/batch/comment_shortcodes.php
@@ -94,7 +94,7 @@ class comment_shortcodes extends e_shortcode
{
if ($thisaction == "comment" && $pref['nested_comments'])
{
- $REPLY = "";
+ $REPLY = "";
}
}
return $REPLY;
@@ -210,7 +210,7 @@ class comment_shortcodes extends e_shortcode
$value = (varset($this->var['eaction']) == "edit" ? COMLAN_320 : COMLAN_9);
$pid = ($this->var['action'] == 'reply') ? $this->var['pid'] : 0;
- return "";
+ return "";
}
}
diff --git a/e107_core/templates/comment_template.php b/e107_core/templates/comment_template.php
index 0c9f1b1ca..e22898e53 100644
--- a/e107_core/templates/comment_template.php
+++ b/e107_core/templates/comment_template.php
@@ -83,26 +83,26 @@ $sc_style['COMMENT_BUTTON']['post'] = "";
$sc_style['COMMENT_SHARE']['pre'] = "";
$sc_style['COMMENT_SHARE']['post'] = "";
-$sc_style['COMMENT_RATE']['pre'] = '';
+$sc_style['COMMENT_RATE']['pre'] = '';
+$sc_style['COMMENT_RATE']['post'] = '';
//$sc_style['USER_AVATAR']['pre'] = '';
-$sc_style['COMMENT_MODERATE']['pre'] = '';
+$sc_style['COMMENT_MODERATE']['pre'] = '';
$sc_style['MODERATE']['pre'] = '';
$sc_style['MODERATE']['post'] = '
';
-$COMMENT_TEMPLATE['FORM'] = "
+$COMMENT_TEMPLATE['form'] = "
{SETIMAGE: w=100}