Ticket #33646: 33646.patch
File 33646.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 1119 if ( isset( $wp_meta_boxes[ $this->id ] ) || $this->get_option( 'per_page' ) || ( $columns && empty( $columns['_title'] ) ) ) : ?> 1120 </fieldset> 1121 <?php endif; 1117 1122 if ( $columns ) : 1118 1123 if ( ! empty( $columns['_title'] ) ) : ?> 1119 <h5><?php echo $columns['_title']; ?></h5> 1124 <fieldset> 1125 <legend><?php echo $columns['_title']; ?></legend> 1120 1126 <?php endif; ?> 1121 1127 <div class="metabox-prefs"> 1122 1128 <?php … … 1139 1145 ?> 1140 1146 <br class="clear" /> 1141 1147 </div> 1148 <?php if ( ! empty( $columns['_title'] ) ) : ?> 1149 </fieldset> 1150 <?php endif; ?> 1142 1151 <?php endif; 1143 1152 1144 1153 $this->render_screen_layout(); … … 1165 1174 $num = $this->get_option( 'layout_columns', 'max' ); 1166 1175 1167 1176 ?> 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; ?> 1177 <fieldset> 1178 <legend class="screen-layout"><?php _e('Screen Layout'); ?></legend> 1179 <div class='columns-prefs'> 1180 <span id='number-of-columns'><?php _e('Number of Columns:'); ?></span><?php 1181 for ( $i = 1; $i <= $num; ++$i ): 1182 ?> 1183 <label class="columns-prefs-<?php echo $i; ?>"> 1184 <input type='radio' name='screen_columns' aria-describedby='number-of-columns' value='<?php echo esc_attr( $i ); ?>' 1185 <?php checked( $screen_layout_columns, $i ); ?> /> 1186 <?php echo esc_html( $i ); ?> 1187 </label> 1188 <?php 1189 endfor; ?> 1180 1190 </div> 1191 </fieldset> 1181 1192 <?php 1182 1193 } 1183 1194