Ticket #33646: 33646.3.patch
File 33646.3.patch, 3.5 KB (added by , 10 years ago) |
---|
-
src/wp-admin/css/common.css
1525 1525 background-position: bottom left; 1526 1526 } 1527 1527 1528 #screen-options-wrap h5,1528 #screen-options-wrap legend, 1529 1529 #contextual-help-wrap h5 { 1530 margin: 8px 0; 1530 margin: 0; 1531 padding: 8px 0; 1531 1532 font-size: 13px; 1533 font-weight: 600; 1532 1534 } 1533 1535 1534 1536 .metabox-prefs label { … … 1537 1539 line-height: 30px; 1538 1540 } 1539 1541 1542 #number-of-columns { 1543 display: inline-block; 1544 vertical-align: middle; 1545 line-height: 30px; 1546 } 1547 1540 1548 .metabox-prefs label input[type=checkbox] { 1541 1549 margin-top: -4px; 1542 1550 margin-right: 6px; -
src/wp-admin/css/customize-nav-menus.css
349 349 display: none; 350 350 background: #fff; 351 351 border-top: 1px solid #ddd; 352 padding: 4px 15px 0;352 padding: 4px 15px 15px; 353 353 } 354 354 355 355 .wp-customizer .metabox-prefs label { -
src/wp-admin/includes/class-wp-screen.php
907 907 <?php endif; ?> 908 908 <form id="adv-settings" method="post"> 909 909 <?php if ( isset( $wp_meta_boxes[ $this->id ] ) || $this->get_option( 'per_page' ) || ( $columns && empty( $columns['_title'] ) ) ) : ?> 910 <h5><?php _e( 'Show on screen' ); ?></h5> 910 <fieldset> 911 <legend><?php _e( 'Show on screen' ); ?></legend> 911 912 <?php 912 913 endif; 913 914 … … 930 931 echo _x( 'Welcome', 'Welcome panel' ) . "</label>\n"; 931 932 } 932 933 ?> 933 <br class="clear" />934 934 </div> 935 935 <?php endif; 936 936 if ( $columns ) : 937 937 if ( ! empty( $columns['_title'] ) ) : ?> 938 <h5><?php echo $columns['_title']; ?></h5> 938 <fieldset> 939 <legend><?php echo $columns['_title']; ?></legend> 939 940 <?php endif; ?> 940 941 <div class="metabox-prefs"> 941 942 <?php … … 956 957 echo "$title</label>\n"; 957 958 } 958 959 ?> 959 <br class="clear" />960 960 </div> 961 <?php if ( ! empty( $columns['_title'] ) ) : ?> 962 </fieldset> 963 <?php endif; ?> 961 964 <?php endif; 962 965 966 if ( isset( $wp_meta_boxes[ $this->id ] ) || $this->get_option( 'per_page' ) || ( $columns && empty( $columns['_title'] ) ) ) : ?> 967 </fieldset> 968 <?php endif; 963 969 $this->render_screen_layout(); 964 970 $this->render_per_page_options(); 965 971 echo $this->_screen_settings; … … 985 991 $num = $this->get_option( 'layout_columns', 'max' ); 986 992 987 993 ?> 988 < h5 class="screen-layout"><?php _e('Screen Layout'); ?></h5>989 < div class='columns-prefs'><?php990 _e('Number of Columns:');991 for ( $i = 1; $i <= $num; ++$i ):992 994 <fieldset> 995 <legend class="screen-layout"><?php _e( 'Screen Layout' ); ?></legend> 996 <div class='columns-prefs'> 997 <span id='number-of-columns'><?php _e( 'Number of Columns:' ); ?></span> 998 <?php for ( $i = 1; $i <= $num; ++$i ): ?> 993 999 <label class="columns-prefs-<?php echo $i; ?>"> 994 <input type='radio' name='screen_columns' value='<?php echo esc_attr( $i ); ?>' 995 <?php checked( $screen_layout_columns, $i ); ?> /> 1000 <input type="radio" name="screen_columns" aria-describedby="number-of-columns" value="<?php echo esc_attr( $i ); ?>" <?php checked( $screen_layout_columns, $i ); ?> /> 996 1001 <?php echo esc_html( $i ); ?> 997 1002 </label> 998 <?php 999 endfor; ?> 1003 <?php endfor; ?> 1000 1004 </div> 1005 </fieldset> 1001 1006 <?php 1002 1007 } 1003 1008