Ticket #13348: ie7.2.patch
| File ie7.2.patch, 7.3 KB (added by ocean90, 3 years ago) |
|---|
-
wp-admin/css/nav-menu.dev.css
37 37 background: url("../images/menu-bits.gif") no-repeat scroll 0 -110px; 38 38 } 39 39 40 #wpbody {41 position: relative;42 }43 44 40 /* Menu Container */ 45 41 #menu-management-liquid { 46 float: left;47 min-width: 100%;42 float: right; 43 width: 100%; 48 44 } 49 45 #menu-management { 50 46 position: relative; 51 margin-right: 20px;52 47 margin-top: -3px; 53 width: 100%;54 48 } 55 49 #menu-management .menu-edit { 56 50 margin-bottom: 20px; … … 166 160 } 167 161 168 162 /* Menu Toolbar */ 169 #menu-management #major-publishing-actions #delete-action {170 float: right;171 margin-right: 10px;172 }173 174 163 #menu-name-label { 175 164 margin-top: -2px; 176 165 } 177 166 178 167 #wpbody .open-label { 179 display: inline-block; 168 float: left; 169 text-align:left; 180 170 } 181 171 #wpbody .open-label span { 182 172 padding-right: 10px; … … 220 210 vertical-align: middle; 221 211 } 222 212 223 .button-controls { margin: 10px 0;}213 .button-controls { display: inline-block; width: 100%} 224 214 .show-all, .hide-all { cursor: pointer; } 225 215 .hide-all { display: none; } 226 216 … … 250 240 /* Nav Menu */ 251 241 #menu-container .inside { padding-bottom: 10px; } 252 242 253 .menu {254 padding-top:1em;255 }256 257 243 #menu-to-edit { 258 244 padding: 1em 0; 259 245 } … … 263 249 } 264 250 .menu ul.sub-menu { 265 251 } 252 253 *+html .menu li { 254 display: inline-block; /* Fix drag&drop in IE 7 */ 255 } 256 266 257 .menu li { 267 258 margin-bottom: 0; 268 259 } 269 260 .menu-item-bar { 270 261 clear:both; 271 262 line-height:1.5em; 272 position:relative;273 263 margin-top: 13px; 274 264 } 275 265 .menu-item-handle { … … 490 480 background: #21759B; 491 481 color: #fff; 492 482 } 493 494 495 /* Clearfix */496 #nav-menus-frame:after, .menu-item-settings:after, .button-controls:after, #menu-item-url-wrap:after, #menu-item-name-wrap:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }497 #nav-menus-frame, .menu-item-settings, .button-controls, #menu-item-url-wrap, #menu-item-name-wrap { display: block; } -
wp-admin/includes/nav-menu.php
158 158 <span class="description"><?php _e('The description will be displayed in the menu if the current theme supports it.'); ?></span> 159 159 </label> 160 160 </p> 161 162 161 <div class="menu-item-actions description-wide submitbox"> 163 162 <?php if( 'custom' != $item->type ) : ?> 164 163 <p class="link-to-original"> … … 188 187 <input class="menu-item-data-parent-id" type="hidden" name="menu-item-parent-id[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->menu_item_parent ); ?>" /> 189 188 <input class="menu-item-data-position" type="hidden" name="menu-item-position[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->menu_order ); ?>" /> 190 189 <input class="menu-item-data-type" type="hidden" name="menu-item-type[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->type ); ?>" /> 190 <div class="clear"></div> 191 191 </div><!-- .menu-item-settings--> 192 192 <ul class="menu-item-transport"></ul> 193 193 <?php … … 428 428 ?> 429 429 <div class="customlinkdiv"> 430 430 431 <input type="hidden" value="custom" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-type]" />432 <p id="menu-item-url-wrap">433 <label class="howto" for="custom-menu-item-url">434 <span><?php _e('URL'); ?></span>435 <input id="custom-menu-item-url" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-url]" type="text" class="code menu-item-textbox" value="http://" />436 </label>437 </p>438 439 <p id="menu-item-name-wrap">440 <label class="howto" for="custom-menu-item-name">441 <span><?php _e('Label'); ?></span>442 <input id="custom-menu-item-name" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-title]" type="text" class="regular-text menu-item-textbox input-with-default-title" title="<?php esc_attr_e('Menu Item'); ?>" />443 </label>444 </p>445 431 <input type="hidden" value="custom" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-type]" /> 432 <p id="menu-item-url-wrap"> 433 <label class="howto" for="custom-menu-item-url"> 434 <span><?php _e('URL'); ?></span> 435 <input id="custom-menu-item-url" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-url]" type="text" class="code menu-item-textbox" value="http://" /> 436 </label> 437 </p> 438 <div class="clear"></div> 439 <p id="menu-item-name-wrap"> 440 <label class="howto" for="custom-menu-item-name"> 441 <span><?php _e('Label'); ?></span> 442 <input id="custom-menu-item-name" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-title]" type="text" class="regular-text menu-item-textbox input-with-default-title" title="<?php esc_attr_e('Menu Item'); ?>" /> 443 </label> 444 </p> 445 <div class="clear"></div> 446 446 <p class="button-controls"> 447 447 <span class="list-controls"> 448 448 <a href="#" class="select-all add-home-link"><?php _e('Add Home Link'); ?></a> … … 452 452 <input type="submit" class="button-secondary" value="<?php esc_attr_e('Add to Menu'); ?>" name="add-custom-menu-item" /> 453 453 </span> 454 454 </p> 455 456 455 <div class="clear"></div> 457 456 </div><!-- /.customlinkdiv --> 458 457 <?php … … 623 622 </div> 624 623 </div><!-- /.tabs-panel --> 625 624 626 625 <div class="clear"></div> 627 626 <p class="button-controls"> 628 627 <span class="list-controls"> 629 628 <a href="<?php -
wp-admin/nav-menus.php
479 479 <label class="menu-name-label howto open-label" for="menu-name"> 480 480 <span><?php _e('Menu Name'); ?></span> 481 481 <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 ); ?>" /> 482 <br class="clear" />483 482 </label> 484 483 485 484 <div class="publishing-action"> … … 491 490 <a class="submitdelete deletion menu-delete" href="<?php echo esc_url( wp_nonce_url( admin_url('nav-menus.php?action=delete&menu=' . $nav_menu_selected_id), 'delete-nav_menu-' . $nav_menu_selected_id ) ); ?>"><?php _e('Delete Menu'); ?></a> 492 491 </div><!--END .delete-action--> 493 492 <?php endif; ?> 494 < br class="clear" />493 <div class="clear"></div> 495 494 </div><!--END .major-publishing-actions--> 496 495 </div><!--END #submitpost .submitbox--> 497 496 <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?> … … 520 519 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>'; 521 520 echo '</div>'; 522 521 endif; ?> 523 < br class="clear" />522 <div class="clear"></div> 524 523 </div><!-- /#post-body-content--> 525 524 </div><!--- /#post-body --> 526 525 </form><!--/#update-nav-menu--> … … 529 528 </div><!-- /#menu-management-liquid --> 530 529 </div><!-- /#nav-menus-frame--> 531 530 <?php endif; // if menus supported in current theme ?> 531 <div class="clear"></div> 532 532 </div><!-- /.wrap--> 533 533 534 534
