Changeset 41857
- Timestamp:
- 10/13/2017 06:38:03 PM (7 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/forms.css
r41854 r41857 1341 1341 1342 1342 .options-general-php input[type="text"].small-text { 1343 max-width: 6 0px;1343 max-width: 6.25em; 1344 1344 margin: 0; 1345 1345 } -
trunk/src/wp-admin/options-general.php
r41289 r41857 308 308 '<label for="date_format_custom" class="screen-reader-text">' . __( 'Custom date format:' ) . '</label>' . 309 309 '<input type="text" name="date_format_custom" id="date_format_custom" value="' . esc_attr( get_option( 'date_format' ) ) . '" class="small-text" />' . 310 '<span class="screen-reader-text">' . __( 'example:' ) . ' </span> <span class="example">' . date_i18n( get_option( 'date_format' ) ) . '</span>' . 311 "<span class='spinner'></span>\n"; 310 '<br />' . 311 '<p><strong>' . __( 'Preview:' ) . '</strong> <span class="example">' . date_i18n( get_option( 'date_format' ) ) . '</span>' . 312 "<span class='spinner'></span>\n" . '</p>'; 312 313 ?> 313 314 </fieldset> … … 344 345 '<label for="time_format_custom" class="screen-reader-text">' . __( 'Custom time format:' ) . '</label>' . 345 346 '<input type="text" name="time_format_custom" id="time_format_custom" value="' . esc_attr( get_option( 'time_format' ) ) . '" class="small-text" />' . 346 '<span class="screen-reader-text">' . __( 'example:' ) . ' </span> <span class="example">' . date_i18n( get_option( 'time_format' ) ) . '</span>' . 347 "<span class='spinner'></span>\n"; 347 '<br />' . 348 '<p><strong>' . __( 'Preview:' ) . '</strong> <span class="example">' . date_i18n( get_option( 'time_format' ) ) . '</span>' . 349 "<span class='spinner'></span>\n" . '</p>'; 348 350 349 351 echo "\t<p class='date-time-doc'>" . __('<a href="https://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date and time formatting</a>.') . "</p>\n";
Note: See TracChangeset
for help on using the changeset viewer.