Small fixes to the initial nav menu message. props koopersmith, see #13134.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-04-29 05:12:12 +00:00
parent cd9ab80421
commit 91e39b0336
4 changed files with 10 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -78,6 +78,10 @@
-khtml-border-bottom-right-radius: 6px; -khtml-border-bottom-right-radius: 6px;
border-bottom-right-radius: 6px; border-bottom-right-radius: 6px;
} }
.post-body-plain {
padding: 10px 10px 0 0;
}
#menu-management .menu-add-new abbr { #menu-management .menu-add-new abbr {
font-weight:bold; font-weight:bold;

View File

@ -412,11 +412,13 @@ require_once( 'admin-header.php' );
?> ?>
</ul> </ul>
<?php elseif ( empty($nav_menu_selected_id) ): <?php elseif ( empty($nav_menu_selected_id) ):
echo '<p>' . __('To create your first custom menu, give it a name above, then choose items like pages, categories or custom links from the left column to add to this menu.') . '</p>'; echo '<div class="post-body-plain">';
echo '<p>' . __('To create a custom menu, give it a name above, then choose items like pages, categories or custom links from the left column to add to this menu.') . '</p>';
echo '<p>' . __('After you have added your items, drag and drop to put them in the order you want, and click each item to reveal additional configuration options.') . '</p>'; echo '<p>' . __('After you have added your items, drag and drop to put them in the order you want, and click each item to reveal additional configuration options.') . '</p>';
echo '<p>' . __('When you are finished building your custom menu, make sure you click the Save Menu button above.') . '</p>'; echo '<p>' . __('When you are finished building your custom menu, make sure you click the Save Menu button above.') . '</p>';
echo '<p>' . __('You can create multiple menus. You can also display custom menus using the new "Custom Menu" widget.') . '</p>'; echo '<p>' . __('You can create multiple menus. You can also display custom menus using the new "Custom Menu" widget.') . '</p>';
echo '<p>' . __('For more information on this feature, see the <a href="codex link">Custom Menus</a> article in the Codex.') . '</p>'; echo '<p>' . sprintf( __('For more information on this feature, see the <a href="%s">Custom Menus</a> article in the Codex.'), _x('http://codex.wordpress.org/Custom_Menus', 'Custom Menus codex page') ) . '</p>';
echo '</div>';
endif; ?> endif; ?>
<br class="clear" /> <br class="clear" />
</div><!-- /#post-body-content--> </div><!-- /#post-body-content-->

View File

@ -474,7 +474,7 @@ function wp_default_styles( &$styles ) {
$styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.2' ); $styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.2' );
$styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' ); $styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' );
$styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' ); $styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' );
$styles->add( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100429' ); $styles->add( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100429a' );
foreach ( $rtl_styles as $rtl_style ) { foreach ( $rtl_styles as $rtl_style ) {
$styles->add_data( $rtl_style, 'rtl', true ); $styles->add_data( $rtl_style, 'rtl', true );