From 600b71019494e1c29898a620e58c0d2602f37b74 Mon Sep 17 00:00:00 2001 From: donncha Date: Fri, 24 Nov 2006 16:16:44 +0000 Subject: WP Merge to 4524 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@810 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/edit.php | 66 +++++++++++++++++++++++++++---------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'wp-admin/edit.php') diff --git a/wp-admin/edit.php b/wp-admin/edit.php index e96b6d0..395bc6b 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -12,11 +12,11 @@ $drafts = get_users_drafts( $user_ID ); $other_drafts = get_others_drafts( $user_ID); if ($drafts || $other_drafts) { -?> +?>
-

- + ID' title='" . __('Edit this draft') . "'>$draft->post_title"; ++$i; } - ?> - .

+ ?> + .

- -

- +

+ ID' title='" . __('Edit this draft') . "'>$draft->post_title"; ++$i; } - ?> - .

+ ?> + .

@@ -88,7 +88,7 @@ if ( count($arc_result) ) { ?>
- yyear == 0 ) @@ -127,12 +127,12 @@ if ( count($arc_result) ) { ?> 'display name' $posts_columns = array( - 'id' => __('ID'), - 'date' => __('When'), - 'title' => __('Title'), - 'categories' => __('Categories'), - 'comments' => __('Comments'), - 'author' => __('Author') + 'id' => __('ID'), + 'date' => __('When'), + 'title' => __('Title'), + 'categories' => __('Categories'), + 'comments' => __('Comments'), + 'author' => __('Author') ); $posts_columns = apply_filters('manage_posts_columns', $posts_columns); @@ -143,7 +143,7 @@ $posts_columns['control_delete'] = ''; ?> - +
@@ -157,10 +157,10 @@ $posts_columns['control_delete'] = ''; +?> $column_display_name) { case 'date': ?> - + $column_display_name) { case 'comments': ?> - + $column_display_name) { ?> @@ -259,9 +259,9 @@ if ( 1 == count($posts) ) { $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $id AND comment_approved != 'spam' ORDER BY comment_date"); if ($comments) { - ?> -

-
    + ?> +

    +
      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) + if ('unapproved' == $comment_status) $class .= ' unapproved'; if ($i % 2) $class .= ' alternate'; @@ -299,8 +299,8 @@ if ( current_user_can('edit_post', $comment->comment_post_ID) ) { echo '
    '; }//end if comments ?> - - - + + +?> -- cgit
g:i:s a'); ?>post_modified ) _e('Unpublished'); else the_time('Y-m-d \<\b\r \/\> g:i:s a'); ?> - - + +