Ticket #25461: 25461.patch
| File 25461.patch, 3.6 KB (added by , 12 years ago) |
|---|
-
wp-admin/css/wp-admin.css
1373 1373 border-bottom-width: 0; 1374 1374 } 1375 1375 1376 .timestamp-wrap label { 1377 display: inline-block; 1378 } 1379 1380 .timestamp-wrap label > span, 1381 .timestamp-wrap label > abbr { 1382 display: block; 1383 } 1384 1376 1385 #minor-publishing-actions { 1377 1386 padding: 10px 10px 0 10px; 1378 1387 text-align: right; … … 3834 3843 margin: .2em 0; 3835 3844 } 3836 3845 3846 .inline-edit-row fieldset .timestamp-wrap label { 3847 display: inline-block; 3848 vertical-align: baseline; 3849 } 3850 3837 3851 .inline-edit-row fieldset label.inline-edit-tags { 3838 3852 margin-top: 0; 3839 3853 } -
wp-admin/includes/template.php
652 652 $cur_hh = gmdate( 'H', $time_adj ); 653 653 $cur_mn = gmdate( 'i', $time_adj ); 654 654 655 $month = "<select " . ( $multi ? '' : 'id="mm" ' ) . "name=\"mm\"$tab_index_attribute>\n";655 $month = '<label for="mm"><span>' . __( 'Month' ) . '</span><select ' . ( $multi ? '' : 'id="mm" ' ) . 'name="mm"' . $tab_index_attribute . '>\n'; 656 656 for ( $i = 1; $i < 13; $i = $i +1 ) { 657 657 $monthnum = zeroise($i, 2); 658 658 $month .= "\t\t\t" . '<option value="' . $monthnum . '"'; … … 661 661 /* translators: 1: month number (01, 02, etc.), 2: month abbreviation */ 662 662 $month .= '>' . sprintf( __( '%1$s-%2$s' ), $monthnum, $wp_locale->get_month_abbrev( $wp_locale->get_month( $i ) ) ) . "</option>\n"; 663 663 } 664 $month .= '</select> ';664 $month .= '</select></label>'; 665 665 666 $day = '< input type="text" ' . ( $multi ? '' : 'id="jj" ' ) . 'name="jj" value="' . $jj . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';667 $year = '< input type="text" ' . ( $multi ? '' : 'id="aa" ' ) . 'name="aa" value="' . $aa . '" size="4" maxlength="4"' . $tab_index_attribute . ' autocomplete="off" />';668 $hour = '< input type="text" ' . ( $multi ? '' : 'id="hh" ' ) . 'name="hh" value="' . $hh . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';669 $minute = '< input type="text" ' . ( $multi ? '' : 'id="mn" ' ) . 'name="mn" value="' . $mn . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" />';666 $day = '<label for="jj"><span>' . __( 'Day' ) . '</span><input type="text" ' . ( $multi ? '' : 'id="jj" ' ) . 'name="jj" value="' . $jj . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" /></label>'; 667 $year = '<label for="aa"><span>' . __( 'Year' ) . '</span><input type="text" ' . ( $multi ? '' : 'id="aa" ' ) . 'name="aa" value="' . $aa . '" size="4" maxlength="4"' . $tab_index_attribute . ' autocomplete="off" /></label>'; 668 $hour = '<label for="hh"><abbr title="' . __( 'Hour' ) . '">' . __( 'HH' ) . '</abbr><input type="text" ' . ( $multi ? '' : 'id="hh" ' ) . 'name="hh" value="' . $hh . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" /></label>'; 669 $minute = '<label for="mn"><abbr title="' . __( 'Minute' ) . '">' . __( 'MM' ) . '</abbr><input type="text" ' . ( $multi ? '' : 'id="mn" ' ) . 'name="mn" value="' . $mn . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" /></label>'; 670 670 671 671 echo '<div class="timestamp-wrap">'; 672 672 /* translators: 1: month, 2: day, 3: year, 4: hour, 5: minute */ … … 2017 2017 echo str_repeat( '<div class="star star-half"></div>', $half_stars ); 2018 2018 echo str_repeat( '<div class="star star-empty"></div>', $empty_stars); 2019 2019 echo '</div>'; 2020 } 2021 No newline at end of file 2020 }