diff --git a/themes/danbooru/comment.theme.php b/themes/danbooru/comment.theme.php index f9fcdfca..f7146beb 100644 --- a/themes/danbooru/comment.theme.php +++ b/themes/danbooru/comment.theme.php @@ -49,7 +49,7 @@ class CustomCommentListTheme extends CommentListTheme { $comment_count = count($comments); if($comment_limit > 0 && $comment_count > $comment_limit) { - $hidden = $comment_count - $comment_limit; + //$hidden = $comment_count - $comment_limit; $comment_html .= "

showing $comment_limit of $comment_count comments

"; $comments = array_slice($comments, -$comment_limit); } @@ -93,9 +93,9 @@ class CustomCommentListTheme extends CommentListTheme { $tfe = new TextFormattingEvent($comment->comment); send_event($tfe); - $i_uid = int_escape($comment->owner_id); + //$i_uid = int_escape($comment->owner_id); $h_name = html_escape($comment->owner_name); - $h_poster_ip = html_escape($comment->poster_ip); + //$h_poster_ip = html_escape($comment->poster_ip); $h_comment = ($trim ? substr($tfe->stripped, 0, 50)."..." : $tfe->formatted); $i_comment_id = int_escape($comment->comment_id); $i_image_id = int_escape($comment->image_id); @@ -107,7 +107,7 @@ class CustomCommentListTheme extends CommentListTheme { $h_del = $user->can("delete_comment") ? ' - Del' : ''; - $h_imagelink = $trim ? ">>>\n" : ""; + //$h_imagelink = $trim ? ">>>\n" : ""; if($trim) { return "

$h_userlink $h_del
$h_posted
$h_comment

"; } diff --git a/themes/danbooru2/comment.theme.php b/themes/danbooru2/comment.theme.php index f9fcdfca..f7146beb 100644 --- a/themes/danbooru2/comment.theme.php +++ b/themes/danbooru2/comment.theme.php @@ -49,7 +49,7 @@ class CustomCommentListTheme extends CommentListTheme { $comment_count = count($comments); if($comment_limit > 0 && $comment_count > $comment_limit) { - $hidden = $comment_count - $comment_limit; + //$hidden = $comment_count - $comment_limit; $comment_html .= "

showing $comment_limit of $comment_count comments

"; $comments = array_slice($comments, -$comment_limit); } @@ -93,9 +93,9 @@ class CustomCommentListTheme extends CommentListTheme { $tfe = new TextFormattingEvent($comment->comment); send_event($tfe); - $i_uid = int_escape($comment->owner_id); + //$i_uid = int_escape($comment->owner_id); $h_name = html_escape($comment->owner_name); - $h_poster_ip = html_escape($comment->poster_ip); + //$h_poster_ip = html_escape($comment->poster_ip); $h_comment = ($trim ? substr($tfe->stripped, 0, 50)."..." : $tfe->formatted); $i_comment_id = int_escape($comment->comment_id); $i_image_id = int_escape($comment->image_id); @@ -107,7 +107,7 @@ class CustomCommentListTheme extends CommentListTheme { $h_del = $user->can("delete_comment") ? ' - Del' : ''; - $h_imagelink = $trim ? ">>>\n" : ""; + //$h_imagelink = $trim ? ">>>\n" : ""; if($trim) { return "

$h_userlink $h_del
$h_posted
$h_comment

"; }