diff --git a/wp-admin/categories.php b/wp-admin/categories.php index a1d582a0b..04f7cfdb4 100644 --- a/wp-admin/categories.php +++ b/wp-admin/categories.php @@ -153,7 +153,7 @@ $messages[3] = __('Category updated.');
-

add new)'), '#addcat') ?>

+

add new)'), '#addcat') ?>

diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index c0e4a6f3a..f1ec72d05 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -25,6 +25,7 @@ function checkAll(form) //-->
+

@@ -65,15 +66,17 @@ if (isset($_GET['s'])) { if ('view' == $mode) { if ($comments) { echo '
    '; + $i = 0; foreach ($comments as $comment) { + ++$i; $class = ''; $authordata = get_userdata($wpdb->get_var("SELECT post_author FROM $wpdb->posts WHERE ID = $comment->comment_post_ID")); $comment_status = wp_get_comment_status($comment->comment_ID); - if ('unapproved' == $comment_status) { - echo '
  1. '; - } else { - echo '
  2. '; - } - ?> + if ('unapproved' == $comment_status) + $class .= ' unapproved'; + if ($i % 2) + $class .= ' alternate'; + echo "
  3. "; +?>

    comment_author_email) { ?>| comment_author_url) { ?> | |

    diff --git a/wp-admin/moderation.php b/wp-admin/moderation.php index 8a8a0af40..7555f1c0f 100644 --- a/wp-admin/moderation.php +++ b/wp-admin/moderation.php @@ -134,16 +134,19 @@ if ($comments) { // list all comments that are waiting for approval $file = basename(__FILE__); ?> -

    +

    -
      +
        comment_date); $post_title = $wpdb->get_var("SELECT post_title FROM $wpdb->posts WHERE ID='$comment->comment_post_ID'"); - - echo "\n\t
      1. "; + if ($i % 2) $class = 'class="alternate"'; + else $class = ''; + echo "\n\t
      2. "; ?>

        comment_author_email) { ?>| comment_author_email) { ?> | |

        diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index 269a15bb7..5708d1483 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -145,6 +145,7 @@ textarea, input, select { .commentlist li { border-bottom: 1px solid #369; + padding: .3em 1em; } .ed_button {