From 8de1bd0c566810cbbde5bd09844d0b8fe6563a26 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 5 Jun 2012 13:11:15 +0100 Subject: [PATCH] different classes for different types of comment list --- ext/comment/theme.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ext/comment/theme.php b/ext/comment/theme.php index 51d7092a..b238a7e4 100644 --- a/ext/comment/theme.php +++ b/ext/comment/theme.php @@ -96,7 +96,7 @@ class CommentListTheme extends Themelet { '; - $page->add_block(new Block( $image->id.': '.$image->get_tag_list(), $html, "main", $position++, "comment-list")); + $page->add_block(new Block( $image->id.': '.$image->get_tag_list(), $html, "main", $position++, "comment-list-list")); } } @@ -114,7 +114,7 @@ class CommentListTheme extends Themelet { $html .= $this->comment_to_html($comment, true); } $html .= "Full List"; - $page->add_block(new Block("Comments", $html, "left", 50, "comment-list")); + $page->add_block(new Block("Comments", $html, "left", 50, "comment-list-recent")); } @@ -131,7 +131,7 @@ class CommentListTheme extends Themelet { if($postbox) { $html .= $this->build_postbox($image->id); } - $page->add_block(new Block("Comments", $html, "main", 30, "comment-list")); + $page->add_block(new Block("Comments", $html, "main", 30, "comment-list-image")); } @@ -147,7 +147,7 @@ class CommentListTheme extends Themelet { if(empty($html)) { $html = '

No comments by this user.

'; } - $page->add_block(new Block("Comments", $html, "left", 70, "comment-list")); + $page->add_block(new Block("Comments", $html, "left", 70, "comment-list-user")); } @@ -201,7 +201,7 @@ class CommentListTheme extends Themelet { $h_avatar = ""; if(!empty($comment->owner_email)) { $hash = md5(strtolower($comment->owner_email)); - $h_avatar = "
"; + $h_avatar = "
"; } $h_reply = " - Reply"; $h_ip = $user->can("view_ip") ? "
".show_ip($comment->poster_ip, "Comment posted {$comment->posted}") : "";