Ticket #33646: 33646.2.patch
File 33646.2.patch, 2.9 KB (added by , 10 years ago) |
---|
-
wp-admin/css/common.css
1524 1524 background-position: bottom left; 1525 1525 } 1526 1526 1527 #screen-options-wrap h5,1527 #screen-options-wrap legend, 1528 1528 #contextual-help-wrap h5 { 1529 1529 margin: 8px 0; 1530 1530 font-size: 13px; 1531 font-weight: 600; 1531 1532 } 1532 1533 1533 1534 .metabox-prefs label { -
wp-admin/includes/screen.php
1088 1088 <div id="screen-options-wrap" class="hidden" tabindex="-1" aria-label="<?php esc_attr_e('Screen Options Tab'); ?>"> 1089 1089 <form id="adv-settings" method="post"> 1090 1090 <?php if ( isset( $wp_meta_boxes[ $this->id ] ) || $this->get_option( 'per_page' ) || ( $columns && empty( $columns['_title'] ) ) ) : ?> 1091 <h5><?php _e( 'Show on screen' ); ?></h5> 1091 <fieldset> 1092 <legend><?php _e( 'Show on screen' ); ?></legend> 1092 1093 <?php 1093 1094 endif; 1094 1095 … … 1114 1115 <br class="clear" /> 1115 1116 </div> 1116 1117 <?php endif; 1118 1117 1119 if ( $columns ) : 1118 1120 if ( ! empty( $columns['_title'] ) ) : ?> 1119 <h5><?php echo $columns['_title']; ?></h5> 1121 <fieldset> 1122 <legend><?php echo $columns['_title']; ?></legend> 1120 1123 <?php endif; ?> 1121 1124 <div class="metabox-prefs"> 1122 1125 <?php … … 1139 1142 ?> 1140 1143 <br class="clear" /> 1141 1144 </div> 1145 <?php if ( ! empty( $columns['_title'] ) ) : ?> 1146 </fieldset> 1147 <?php endif; ?> 1142 1148 <?php endif; 1143 1149 if ( isset( $wp_meta_boxes[ $this->id ] ) || $this->get_option( 'per_page' ) || ( $columns && empty( $columns['_title'] ) ) ) : ?> 1150 </fieldset> 1151 <?php endif; 1144 1152 $this->render_screen_layout(); 1145 1153 $this->render_per_page_options(); 1146 1154 echo $this->_screen_settings; … … 1165 1173 $num = $this->get_option( 'layout_columns', 'max' ); 1166 1174 1167 1175 ?> 1168 <h5 class="screen-layout"><?php _e('Screen Layout'); ?></h5> 1169 <div class='columns-prefs'><?php 1170 _e('Number of Columns:'); 1171 for ( $i = 1; $i <= $num; ++$i ): 1172 ?> 1173 <label class="columns-prefs-<?php echo $i; ?>"> 1174 <input type='radio' name='screen_columns' value='<?php echo esc_attr( $i ); ?>' 1175 <?php checked( $screen_layout_columns, $i ); ?> /> 1176 <?php echo esc_html( $i ); ?> 1177 </label> 1178 <?php 1179 endfor; ?> 1176 <fieldset> 1177 <legend class="screen-layout"><?php _e('Screen Layout'); ?></legend> 1178 <div class='columns-prefs'> 1179 <span id='number-of-columns'><?php _e('Number of Columns:'); ?></span><?php 1180 for ( $i = 1; $i <= $num; ++$i ): 1181 ?> 1182 <label class="columns-prefs-<?php echo $i; ?>"> 1183 <input type='radio' name='screen_columns' aria-describedby='number-of-columns' value='<?php echo esc_attr( $i ); ?>' 1184 <?php checked( $screen_layout_columns, $i ); ?> /> 1185 <?php echo esc_html( $i ); ?> 1186 </label> 1187 <?php 1188 endfor; ?> 1180 1189 </div> 1190 </fieldset> 1181 1191 <?php 1182 1192 } 1183 1193