diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index 01789fb3f..0cec49030 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -38,8 +38,8 @@ ob_start(); ?>
@@ -143,16 +143,14 @@ echo $comments_nav_bar; if ($comments) { echo '
    '; foreach ($comments as $comment) { - ?> -
  1. - comment_ID); - - if ("unapproved" == $comment_status) { - echo ""; + if ('unapproved' == $comment_status) { + echo '
  2. '; + } else { + echo '
  3. '; } - ?> -

    Name: comment_author_email) { ?>| Email: comment_author_email) { ?> | URI: | IP:

    + ?> +

    Name: comment_author_email) { ?>| Email: comment_author_email) { ?> | URI: | IP:

    Posted | comment_ID."\">Edit"; echo " | comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete | "; } // end if any comments to show - ?> View Post

    - "; - } - ?> + ?> Edit Post

  4. diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index 6dff1d677..08a70c09b 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -35,7 +35,7 @@ h2 { } label { - font-weight: bold; + cursor: pointer; } li { @@ -197,6 +197,24 @@ textarea, input, select { clear: both; } +#post label.selectit { + background-color: #eee; + padding: 0 2px; + display: block; + margin-bottom: 1px; + border-bottom: 1px solid #666; + font-size: 11px; +} + +#post label.selectit:hover { + background-color: #dadada; +} + +label input { + padding: 0; + margin: 0; +} + #profile { margin: 10px; } diff --git a/wp-admin/wp-edit.form.php b/wp-admin/wp-edit.form.php index a4fa93e81..438119428 100644 --- a/wp-admin/wp-edit.form.php +++ b/wp-admin/wp-edit.form.php @@ -8,6 +8,10 @@ function selected($selected, $current) { if ($selected == $current) echo ' selected="selected"'; } +function checked($checked, $current) { + if ($checked == $current) echo ' checked="checked"'; +} + switch($action) { case 'post': $submitbutton_text = 'Blog this!'; @@ -57,7 +61,7 @@ switch($action) { -