Ticket #31714: 31714.4.patch
| File 31714.4.patch, 6.7 KB (added by , 11 years ago) |
|---|
-
src/wp-admin/css/list-tables.css
317 317 margin-left: 70px; /* 60px image + margin */ 318 318 } 319 319 320 table.media .column-title .media-info p { 321 margin-bottom: 0.2em; 320 table.media .column-title .media-info p { 321 margin-bottom: 0.2em; 322 322 } 323 323 324 324 /* @todo: pick a consistent list table selector */ … … 877 877 line-height: 2.5; 878 878 } 879 879 880 .inline-edit-row fieldset.inline-edit-date label { 881 display: inline-block; 882 margin: 0; 883 line-height: 1.5; 884 vertical-align: baseline; 885 } 886 880 887 .inline-edit-row fieldset label.inline-edit-tags { 881 888 margin-top: 0; 882 889 } … … 886 893 width: auto; 887 894 } 888 895 889 .inline-edit-row fieldset label span.title { 896 .inline-edit-row fieldset label span.title, 897 .inline-edit-row fieldset.inline-edit-date legend { 890 898 display: block; 891 899 float: left; 892 900 width: 5em; … … 893 901 line-height: 2.5; 894 902 } 895 903 904 #posts-filter fieldset.inline-edit-date legend { 905 padding: 0; 906 } 907 908 .inline-edit-row fieldset.inline-edit-date select { 909 margin: 1px; 910 line-height: 28px; 911 } 912 896 913 .inline-edit-row fieldset label span.input-text-wrap { 897 914 display: block; 898 915 margin-left: 5em; -
src/wp-admin/edit-form-comment.php
98 98 ?> 99 99 <span id="timestamp"><?php printf( $stamp, $date ); ?></span> 100 100 <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit date and time' ); ?></span></a> 101 <div id='timestampdiv' class='hide-if-js'><?php touch_time(('editcomment' == $action), 0); ?></div> 101 <fieldset id='timestampdiv' class='hide-if-js'> 102 <legend class="screen-reader-text"><?php _e( 'Date and time' ); ?></legend> 103 <?php touch_time( ( 'editcomment' === $action ), 0 ); ?> 104 </fieldset> 102 105 </div> 103 106 104 107 <?php -
src/wp-admin/includes/class-wp-posts-list-table.php
1211 1211 endif; // post_type_supports title ?> 1212 1212 1213 1213 <?php if ( !$bulk ) : ?> 1214 < label><span class="title"><?php _e( 'Date' ); ?></span></label>1215 < div class="inline-edit-date">1214 <fieldset class="inline-edit-date"> 1215 <legend><span class="title"><?php _e( 'Date' ); ?></span></legend> 1216 1216 <?php touch_time( 1, 1, 0, 1 ); ?> 1217 </ div>1217 </fieldset> 1218 1218 <br class="clear" /> 1219 1219 <?php endif; // $bulk 1220 1220 -
src/wp-admin/includes/meta-boxes.php
206 206 <span id="timestamp"> 207 207 <?php printf($stamp, $date); ?></span> 208 208 <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit date and time' ); ?></span></a> 209 <div id="timestampdiv" class="hide-if-js"><?php touch_time(($action == 'edit'), 1); ?></div> 209 <fieldset id="timestampdiv" class="hide-if-js"> 210 <legend class="screen-reader-text"><?php _e( 'Date and time' ); ?></legend> 211 <?php touch_time( ( $action === 'edit' ), 1 ); ?> 212 </fieldset> 210 213 </div><?php // /misc-pub-section ?> 211 214 <?php endif; ?> 212 215 -
src/wp-admin/includes/template.php
781 781 $cur_hh = gmdate( 'H', $time_adj ); 782 782 $cur_mn = gmdate( 'i', $time_adj ); 783 783 784 $month = '<label for="mm" class="screen-reader-text">' . __( 'Month' ) . '</label><select ' . ( $multi ? '' : 'id="mm" ' ) . 'name="mm"' . $tab_index_attribute . ">\n";784 $month = '<label><span class="screen-reader-text">' . __( 'Month' ) . '</span><select ' . ( $multi ? '' : 'id="mm" ' ) . 'name="mm"' . $tab_index_attribute . ">\n"; 785 785 for ( $i = 1; $i < 13; $i = $i +1 ) { 786 786 $monthnum = zeroise($i, 2); 787 787 $month .= "\t\t\t" . '<option value="' . $monthnum . '" ' . selected( $monthnum, $mm, false ) . '>'; … … 788 788 /* translators: 1: month number (01, 02, etc.), 2: month abbreviation */ 789 789 $month .= sprintf( __( '%1$s-%2$s' ), $monthnum, $wp_locale->get_month_abbrev( $wp_locale->get_month( $i ) ) ) . "</option>\n"; 790 790 } 791 $month .= '</select> ';791 $month .= '</select></label>'; 792 792 793 $day = '<label for="jj" class="screen-reader-text">' . __( 'Day' ) . '</label><input type="text" ' . ( $multi ? '' : 'id="jj" ' ) . 'name="jj" value="' . $jj . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';794 $year = '<label for="aa" class="screen-reader-text">' . __( 'Year' ) . '</label><input type="text" ' . ( $multi ? '' : 'id="aa" ' ) . 'name="aa" value="' . $aa . '" size="4" maxlength="4"' . $tab_index_attribute . ' autocomplete="off" />';795 $hour = '<label for="hh" class="screen-reader-text">' . __( 'Hour' ) . '</label><input type="text" ' . ( $multi ? '' : 'id="hh" ' ) . 'name="hh" value="' . $hh . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';796 $minute = '<label for="mn" class="screen-reader-text">' . __( 'Minute' ) . '</label><input type="text" ' . ( $multi ? '' : 'id="mn" ' ) . 'name="mn" value="' . $mn . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';793 $day = '<label><span class="screen-reader-text">' . __( 'Day' ) . '</span><input type="text" ' . ( $multi ? '' : 'id="jj" ' ) . 'name="jj" value="' . $jj . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" /></label>'; 794 $year = '<label><span class="screen-reader-text">' . __( 'Year' ) . '</span><input type="text" ' . ( $multi ? '' : 'id="aa" ' ) . 'name="aa" value="' . $aa . '" size="4" maxlength="4"' . $tab_index_attribute . ' autocomplete="off" /></label>'; 795 $hour = '<label><span class="screen-reader-text">' . __( 'Hour' ) . '</span><input type="text" ' . ( $multi ? '' : 'id="hh" ' ) . 'name="hh" value="' . $hh . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" /></label>'; 796 $minute = '<label><span class="screen-reader-text">' . __( 'Minute' ) . '</span><input type="text" ' . ( $multi ? '' : 'id="mn" ' ) . 'name="mn" value="' . $mn . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" /></label>'; 797 797 798 798 echo '<div class="timestamp-wrap">'; 799 799 /* translators: 1: month, 2: day, 3: year, 4: hour, 5: minute */
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)