diff --git a/themes/futaba/comment.theme.php b/themes/futaba/comment.theme.php index 7497fd85..b2716d3f 100644 --- a/themes/futaba/comment.theme.php +++ b/themes/futaba/comment.theme.php @@ -55,13 +55,14 @@ class CustomCommentListTheme extends CommentListTheme { protected function comments_to_html($comments, $trim=false) { $html = ""; + $inner_id = 0; foreach($comments as $comment) { - $html .= $this->comment_to_html($comment, $trim); + $html .= $this->comment_to_html($comment, $trim, $inner_id++); } return $html; } - protected function comment_to_html($comment, $trim=false) { + protected function comment_to_html($comment, $trim=false, $inner_id=0) { global $user; $tfe = new TextFormattingEvent($comment->comment); @@ -81,9 +82,15 @@ class CustomCommentListTheme extends CommentListTheme { "onclick=\"return confirm('Delete comment by $h_name:\\n".$tfe->stripped."');\" ". "href='".make_link("comment/delete/$i_comment_id/$i_image_id")."'>Del)" : ""; $h_imagelink = $trim ? ">>>\n" : ""; - return "
>> | ". - " |
$h_comment
>> | ".
+ " $h_userlink$h_dellink $h_date No.$i_comment_id [Reply] " .
+ "$h_comment |
$h_comment