Index: wp-admin/css/global.css =================================================================== --- wp-admin/css/global.css (revision 7641) +++ wp-admin/css/global.css (working copy) @@ -156,14 +156,14 @@ margin-left: 15px; margin-right: 15px; padding: 0; - max-width: 980px; +/* max-width: 980px;*/ } .updated, .error { border-width: 1px; border-style: solid; padding: 0 0.6em; - max-width: 950px; +/* max-width: 950px;*/ margin-bottom: 1em; } Index: wp-admin/edit-form-advanced.php =================================================================== --- wp-admin/edit-form-advanced.php (revision 7641) +++ wp-admin/edit-form-advanced.php (working copy) @@ -18,8 +18,67 @@

+ +
+ + + + + draft) ) { + $post_type_texts[] = ''.sprintf( __ngettext( '%s draft', '%s drafts', $num_posts->draft ), number_format_i18n( $num_posts->draft ) ).''; +} +if ( $can_edit_posts && !empty($num_posts->future) ) { + $post_type_texts[] = 'and '.sprintf( __ngettext( '%s scheduled post', '%s scheduled posts', $num_posts->future ), number_format_i18n( $num_posts->future ) ).''; +} + +if ( current_user_can('publish_posts') && !empty($num_posts->pending) ) { + $pending_text = sprintf( __ngettext( 'There is %2$s post pending your review.', 'There are %2$s posts pending your review.', $num_posts->pending ), 'edit.php?post_status=pending', number_format_i18n( $num_posts->pending ) ); +} else { + $pending_text = ''; +} + +$post_type_text = implode(', ', $post_type_texts); + +if ( $can_edit_posts && (!empty($num_posts->draft) || !empty($num_posts->future) || !empty($num_posts->pending) )) { + $sentence = sprintf( __( 'You have %1$s. %2$s' ), $post_type_text, $pending_text ); + $sentence = apply_filters( 'dashboard_count_sentence', $sentence, $post_type_text, $cats_text, $tags_text, $pending_text ); +} +?> +

+ +ID . '">'; + echo $draft->post_title; + echo ''; + if ( $i < $num_posts->draft ) + echo ', '; + if ( $i == $drafts_posts_limit ) { + printf(__('and %d more'), $num_posts->draft - $drafts_posts_limit); + break; + } + } +} +?> + +
+ + -
-post_status ) { ?> - - - - +
+ post_status ) { ?> + + + + +
+ +
+
+

+
+ +
+

+

+ + 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?> + + + +

+
+ +
    +
  • +
  • +
+ +
+
    + +
+
+ + + +
+
+

+ +

+

+

trackbacks and pingbacks.'); ?>

+
+
-

-

-

+
+
+
+ +id ); // TODO: ROLE SYSTEM +if ( $post->post_author && !in_array($post->post_author, $authors) ) + $authors[] = $post->post_author; +if ( $authors && count( $authors ) > 1 ) : +?> +
+

+
+ $authors, 'name' => 'post_author_override', 'selected' => empty($post_ID) ? $user_ID : $post->post_author) ); ?> +
+
- -post_status, 'pending' ); ?> value='pending'> -post_status, 'draft' ); ?> value='draft'> - -

- -

- -"> +

+
+

+

+
+
+ + + +
+ +

+

+ +

+ + +

+ + post_status ) { // scheduled for publishing at a future date $stamp = __('Scheduled for:
%1$s at %2$s'); @@ -125,7 +264,6 @@
-

@@ -205,55 +343,29 @@ -

-

+
+

-

-
-
-
+
+ + -
-

-
- -
-

-

- - 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?> - - - -

+
+ +
- - - -
- +

use in your theme.'); ?>

- - -
- - - -

-

@@ -273,48 +385,8 @@
-
-

-
-
- - - -
- -
-
-

use in your theme.'); ?>

-
-
- -
-

-
- -

-

-

trackbacks and pingbacks.'); ?>

-
-
- -
-

-
-

-

-
-
-

@@ -322,20 +394,6 @@
-id ); // TODO: ROLE SYSTEM -if ( $post->post_author && !in_array($post->post_author, $authors) ) - $authors[] = $post->post_author; -if ( $authors && count( $authors ) > 1 ) : -?> -
-

-
- $authors, 'name' => 'post_author_override', 'selected' => empty($post_ID) ? $user_ID : $post->post_author) ); ?> -
-
- - @@ -350,4 +408,4 @@ - + \ No newline at end of file Index: wp-admin/edit-page-form.php =================================================================== --- wp-admin/edit-page-form.php (revision 7641) +++ wp-admin/edit-page-form.php (working copy) @@ -34,8 +34,50 @@

+
+ + + + draft) ) { + $post_type_texts[] = ''.sprintf( __ngettext( '%s draft', '%s drafts', $num_posts->draft ), number_format_i18n( $num_posts->draft ) ).''; +} +if ( $can_edit_posts && !empty($num_posts->future) ) { + $post_type_texts[] = 'and '.sprintf( __ngettext( '%s scheduled post', '%s scheduled posts', $num_posts->future ), number_format_i18n( $num_posts->future ) ).''; +} + +if ( current_user_can('publish_posts') && !empty($num_posts->pending) ) { + $pending_text = sprintf( __ngettext( 'There is %2$s post pending your review.', 'There are %2$s posts pending your review.', $num_posts->pending ), 'edit.php?post_status=pending', number_format_i18n( $num_posts->pending ) ); +} else { + $pending_text = ''; +} + +$post_type_text = implode(', ', $post_type_texts); + +// There is always a category +$sentence = sprintf( __( 'You have %1$s. %4$s' ), $post_type_text, $cats_text, $tags_text, $pending_text ); +$sentence = apply_filters( 'dashboard_count_sentence', $sentence, $post_type_text, $cats_text, $tags_text, $pending_text ); + +?> +

+ + + +
+ + + +
+ +
+

+
+ +

+
+
+ + +
+

+
+ +

+
+
+ +
+

+
+ +

+

+

trackbacks and pingbacks.'); ?>

+
+
+ + +
+

+
+

+

+
+
+ +
+

+
+

+

+
+
+
+

+

+

@@ -208,65 +310,6 @@
-
-

-
- -

-

-

trackbacks and pingbacks.'); ?>

-
-
- -
-

-
-

-

-
-
- -
-

-
- -
-
- -
-

-
- -

-
-
- - -
-

-
- -

-
-
- - -
-

-
-

-

-
-
- id ); // TODO: ROLE SYSTEM if ( $post->post_author && !in_array($post->post_author, $authors) ) Index: wp-admin/wp-admin.css =================================================================== --- wp-admin/wp-admin.css (revision 7641) +++ wp-admin/wp-admin.css (working copy) @@ -163,7 +163,7 @@ -webkit-border-radius: 3px; border-radius: 3px; cursor: pointer; - text-decoration: none; + text-decoration: none; } .button-highlighted { @@ -894,7 +894,7 @@ #tagsdiv #newtag { margin-right: 5px; - width: 16em; + width: 14em; } #tagchecklist { @@ -978,13 +978,13 @@ #poststuff .postbox, #poststuff .stuffbox { margin-left: 20px; padding: 2px; - margin-bottom: 20px; + margin-bottom: 5px; margin-right: 8px; border-width: 1px; border-style: solid; } -#titlediv, #poststuff .postarea { +#titlediv, #poststuff .postarea, #rightnowpost { margin-left: 20px; margin-bottom: 20px; margin-right: 8px; @@ -1188,43 +1188,41 @@ /* Categories */ +#categorywrap { + margin-left: -21px; + margin-right: -8px; +} +#pagewrap { + margin-left: -33px; + margin-right: -20px; +} + +#categorydiv .postbox { + margin-left: -20px; +} + #categorydiv #category-adder { - margin-left: 120px; + width: 100%; padding: 4px 0; } #category-add input, #category-add select { - width: 30%; + width: auto; } +#pageparentdiv select { + width: 100%; + overflow: hidden; +} #category-add input#category-add-sumbit { width: auto; } #categorydiv ul#category-tabs { - float: left; - width: 120px; - text-align: right; - /* Negative margin for the sake of those without JS: all tabs display */ - margin: 0 -120px 0 0; - padding: 0; + width: 100%; + text-align: left; } -ul#category-tabs li { - padding: 8px; -} - -ul#category-tabs li.ui-tabs-selected { - -moz-border-radius-topleft: 3px; - -khtml-border-top-left-radius: 3px; - -webkit-border-top-left-radius: 3px; - border-top-left-radius: 3px; - -moz-border-radius-bottomleft: 3px; - -khtml-border-bottom-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - border-bottom-left-radius: 3px; -} - ul#category-tabs li.ui-tabs-selected a { color: #333; font-weight: bold; @@ -1232,12 +1230,13 @@ } div.ui-tabs-panel { - margin: 0 5px 0 120px; + margin: 0; padding: .5em .9em; - height: 10em; + height: 25em; overflow: auto; border-width: 4px; border-style: solid; + background-color: #FFFFFF; } #categorydiv ul { @@ -1455,8 +1454,8 @@ #poststuff h3, #poststuff .closed h3 { cursor: pointer; -} +} .hide-if-no-js { display: none; -} +} \ No newline at end of file