Ticket #31714: 31714.3.patch
| File 31714.3.patch, 5.9 KB (added by , 11 years ago) |
|---|
-
src/wp-admin/css/list-tables.css
873 873 line-height: 2.5; 874 874 } 875 875 876 .inline-edit-row fieldset fieldset legend { 877 width: 5em; 878 float: left; 879 line-height: 2.5; 880 } 881 882 .inline-edit-row fieldset fieldset label { 883 display: inline-block; 884 } 885 876 886 .inline-edit-row fieldset label.inline-edit-tags { 877 887 margin-top: 0; 878 888 } -
src/wp-admin/edit-form-comment.php
105 105 $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); 106 106 ?> 107 107 <span id="timestamp"><?php printf($stamp, $date); ?></span> <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><?php _e('Edit') ?></a> 108 <div id='timestampdiv' class='hide-if-js'><?php touch_time(('editcomment' == $action), 0); ?></div> 108 <div id='timestampdiv' class='hide-if-js'> 109 <fieldset> 110 <legend class="screen-reader-text"><?php _e( 'Date' ); ?></legend> 111 <?php touch_time(('editcomment' == $action), 0); ?> 112 </fieldset> 109 113 </div> 114 </div> 110 115 111 116 <?php 112 117 $post_id = $comment->comment_post_ID; -
src/wp-admin/includes/class-wp-posts-list-table.php
1162 1162 endif; // post_type_supports title ?> 1163 1163 1164 1164 <?php if ( !$bulk ) : ?> 1165 <label><span class="title"><?php _e( 'Date' ); ?></span></label> 1165 <fieldset> 1166 <legend><span class="title"><?php _e( 'Date' ); ?></span></legend> 1166 1167 <div class="inline-edit-date"> 1167 1168 <?php touch_time( 1, 1, 0, 1 ); ?> 1168 1169 </div> 1170 </fieldset> 1169 1171 <br class="clear" /> 1170 1172 <?php endif; // $bulk 1171 1173 -
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 <div id="timestampdiv" class="hide-if-js"> 210 <fieldset> 211 <legend class="screen-reader-text"><?php _e( 'Date' ); ?></legend> 212 <?php touch_time(($action == 'edit'), 1); ?> 213 </fieldset> 214 </div> 210 215 </div><?php // /misc-pub-section ?> 211 216 <?php endif; ?> 212 217 -
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)