Ticket #13220: 13220.move.add.home.link.1.patch
File 13220.move.add.home.link.1.patch, 2.7 KB (added by , 14 years ago) |
---|
-
wp-admin/includes/nav-menu.php
447 447 </p> 448 448 449 449 <p class="button-controls"> 450 <span class="list-controls">451 <a href="#" class="select-all add-home-link"><?php _e('Add Home Link'); ?></a>452 </span>453 450 <span class="add-to-menu"> 454 451 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> 455 452 <input type="submit" class="button-secondary" value="<?php esc_attr_e('Add to Menu'); ?>" name="add-custom-menu-item" /> -
wp-admin/js/nav-menu.dev.js
434 434 }, 435 435 436 436 attachHomeLinkListener : function() { 437 $('.add-home-link', '. customlinkdiv').click(function(e) {437 $('.add-home-link', '.major-publishing-actions').click(function(e) { 438 438 api.addLinkToMenu( navMenuL10n.homeurl, navMenuL10n.home, api.addMenuItemToTop, api.recalculateMenuItemPositions ); 439 439 return false; 440 440 }); -
wp-admin/nav-menus.php
479 479 <input name="menu-name" id="menu-name" type="text" class="menu-name regular-text menu-item-textbox input-with-default-title" title="Enter menu name here." value="<?php echo esc_attr( $nav_menu_selected_title ); ?>" /> 480 480 <br class="clear" /> 481 481 </label> 482 <input type="submit" class="button-secondary add-home-link" value="<?php esc_attr_e('Add Home Link'); ?>" name="add-custom-menu-item" /> 482 483 483 484 <div class="publishing-action"> 484 485 <input class="button-primary" name="save_menu" type="submit" value="<?php empty($nav_menu_selected_id) ? esc_attr_e('Create Menu') : esc_attr_e('Save Menu'); ?>" /> -
wp-admin/css/nav-menu.dev.css
182 182 display: inline-block; 183 183 } 184 184 #wpbody .open-label span { 185 padding-right: 10px;185 padding-right: 8px; 186 186 } 187 187 188 188 .js .input-with-default-title { … … 479 479 float: right; 480 480 padding-right: 15px; 481 481 } 482 .menu-name-label span { 483 font-size: 11px; 484 font-style: normal; 482 .menu-name-label, .add-home-link { 483 float: left; 485 484 } 485 .menu-name-label span { 486 font-size: 11px; 487 font-style: normal; 488 } 489 .add-home-link { 490 margin: 1px 0 0 10px; 491 } 486 492 .submitbox .submitclose { 487 493 color: #21759B; 488 494 border-bottom: 1px solid #21759B;