Duplicate Save button for nav menus at the bottom. fixes #14265. props duck_

git-svn-id: http://svn.automattic.com/wordpress/trunk@15588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2010-09-07 04:40:53 +00:00
parent b01b411b45
commit 07c704aad2
8 changed files with 28 additions and 17 deletions

File diff suppressed because one or more lines are too long

View File

@ -1719,7 +1719,7 @@ div.widgets-sortables,
background-color: #f1f1f1; background-color: #f1f1f1;
} }
#nav-menu-header, .menu-item-handle { #nav-menu-header, #nav-menu-footer, .menu-item-handle {
background: url("../images/blue-grad.png") repeat-x scroll left top #d5e6f2; background: url("../images/blue-grad.png") repeat-x scroll left top #d5e6f2;
} }

File diff suppressed because one or more lines are too long

View File

@ -1686,7 +1686,7 @@ div.widgets-sortables,
background-color: #f1f1f1; background-color: #f1f1f1;
} }
#nav-menu-header, .menu-item-handle { #nav-menu-header, #nav-menu-footer, .menu-item-handle {
background: url("../images/gray-grad.png") repeat-x scroll left top #dfdfdf; background: url("../images/gray-grad.png") repeat-x scroll left top #dfdfdf;
} }

File diff suppressed because one or more lines are too long

View File

@ -61,7 +61,7 @@ body {
margin-bottom: 20px; margin-bottom: 20px;
} }
#nav-menu-header, #post-body { #nav-menu-header, #post-body, #nav-menu-footer {
border-color: #ccc; border-color: #ccc;
border-style: solid; border-style: solid;
} }
@ -81,15 +81,7 @@ body {
#post-body { #post-body {
background: #fff; background: #fff;
padding: 10px; padding: 10px;
border-width: 0 1px 1px 1px; border-width: 0 1px;
-moz-border-radius-bottomleft: 6px;
-webkit-border-bottom-left-radius: 6px;
-khtml-border-bottom-left-radius: 6px;
border-bottom-left-radius: 6px;
-moz-border-radius-bottomright: 6px;
-webkit-border-bottom-right-radius: 6px;
-khtml-border-bottom-right-radius: 6px;
border-bottom-right-radius: 6px;
} }
#post-body div.updated { #post-body div.updated {
@ -104,6 +96,18 @@ body {
font-weight:bold; font-weight:bold;
} }
#nav-menu-footer {
border-width: 0 1px 1px 1px;
-moz-border-radius-bottomleft: 6px;
-webkit-border-bottom-left-radius: 6px;
-khtml-border-bottom-left-radius: 6px;
border-bottom-left-radius: 6px;
-moz-border-radius-bottomright: 6px;
-webkit-border-bottom-right-radius: 6px;
-khtml-border-bottom-right-radius: 6px;
border-bottom-right-radius: 6px;
}
/* Menu Tabs */ /* Menu Tabs */
#menu-management .nav-tabs-nav { #menu-management .nav-tabs-nav {

View File

@ -590,6 +590,13 @@ require_once( './admin-header.php' );
?> ?>
</div><!-- /#post-body-content --> </div><!-- /#post-body-content -->
</div><!-- /#post-body --> </div><!-- /#post-body -->
<div id="nav-menu-footer">
<div class="major-publishing-actions">
<div class="publishing-action">
<input class="button-primary menu-save" name="save_menu" type="submit" value="<?php empty($nav_menu_selected_id) ? esc_attr_e('Create Menu') : esc_attr_e('Save Menu'); ?>" />
</div>
</div>
</div><!-- /#nav-menu-footer -->
</form><!-- /#update-nav-menu --> </form><!-- /#update-nav-menu -->
</div><!-- /.menu-edit --> </div><!-- /.menu-edit -->
</div><!-- /#menu-management --> </div><!-- /#menu-management -->

View File

@ -447,7 +447,7 @@ function wp_default_styles( &$styles ) {
$styles->add_data( 'ie', 'conditional', 'lte IE 7' ); $styles->add_data( 'ie', 'conditional', 'lte IE 7' );
// all colors stylesheets need to have the same query strings (cache manifest compat) // all colors stylesheets need to have the same query strings (cache manifest compat)
$colors_version = '20100610'; $colors_version = '20100907';
// Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string. // Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
$styles->add( 'colors', true, array(), $colors_version ); $styles->add( 'colors', true, array(), $colors_version );
@ -471,7 +471,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(), '20100611' ); $styles->add( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100907' );
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 );