From: brockhaus Date: Sun, 2 Sep 2007 13:53:18 +0000 (+0000) Subject: * Pingbacks are named "pingback" in the admins comment list (instead of "trackback") X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=42472e798620dabb50e10d2f8634053e311157b5;p=s9y.git * Pingbacks are named "pingback" in the admins comment list (instead of "trackback") * Added new css class for pending comments in order to mark them optical via css --- diff --git a/include/admin/comments.inc.php b/include/admin/comments.inc.php index 130eb9a..1665e0f 100644 --- a/include/admin/comments.inc.php +++ b/include/admin/comments.inc.php @@ -395,6 +395,9 @@ foreach ($sql as $rs) { serendipity_plugin_api::hook_event('backend_view_comment', $comment, '&serendipity[page]='. $page . $searchString); $class = 'serendipity_admin_list_item_' . (($i % 2 == 0 ) ? 'even' : 'uneven'); + if ($comment['status'] == 'pending') { + $class .= ' serendipity_admin_comment_pending'; + } $header_class = ($comment['status'] == 'pending' ? 'serendipityAdminMsgNote' : ''); ?> @@ -403,7 +406,7 @@ foreach ($sql as $rs) { - '. $comment['title'] .', '. ON . ' ' . serendipity_mb('ucfirst', serendipity_strftime('%b %e %Y, %H:%M', $comment['timestamp']))?> + '. $comment['title'] .', '. ON . ' ' . serendipity_mb('ucfirst', serendipity_strftime('%b %e %Y, %H:%M', $comment['timestamp']))?>