Ticket #31714: 31714.2.patch
| File 31714.2.patch, 6.5 KB (added by , 11 years ago) |
|---|
-
src/wp-admin/css/list-tables.css
544 544 cursor: default; 545 545 height: 30px; 546 546 color: #555; 547 line-height: 2.5;547 line-height: 30px; 548 548 font-size: 12px; 549 549 } 550 550 … … 563 563 padding: 0 10px 3px; 564 564 background: #eee; 565 565 background: rgba( 0, 0, 0, 0.05 ); 566 display: inline-block;567 566 font-size: 16px; 568 567 font-weight: normal; 569 line-height: 1.3333;570 568 } 571 569 572 570 .tablenav .tablenav-pages a:hover, … … 873 871 line-height: 2.5; 874 872 } 875 873 874 .inline-edit-row fieldset fieldset legend { 875 width: 5em; 876 float: left; 877 line-height: 2.5; 878 } 879 880 .inline-edit-row fieldset fieldset label { 881 display: inline-block; 882 } 883 876 884 .inline-edit-row fieldset label.inline-edit-tags { 877 885 margin-top: 0; 878 886 } … … 1616 1624 1617 1625 .tablenav-pages .pagination-links a { 1618 1626 padding: 8px 20px 11px; 1619 display: inline;1620 1627 font-size: 18px; 1621 1628 background: rgba(0, 0, 0, 0.05); 1622 1629 } … … 1964 1971 display: none; 1965 1972 } 1966 1973 } 1974 -
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)