Make WordPress Core

Ticket #5959: 5959.diff

File 5959.diff, 11.1 KB (added by iammattthomas, 17 years ago)

Patch for #5959

  • wp-admin/wp-admin.css

     
    926926        margin-bottom: 9px;
    927927        padding: 10px;
    928928        border-bottom: 8px solid #fff;
     929        line-height: 20px;
    929930}
    930931
    931932.niceblue th {
  • wp-admin/options-general.php

     
    9191<tr>
    9292<th scope="row"><?php _e('Time Format') ?></th>
    9393<td><input name="time_format" type="text" id="time_format" size="30" value="<?php form_option('time_format'); ?>" /><br />
    94 <?php _e('Output:') ?> <strong><?php echo gmdate(get_option('time_format'), current_time('timestamp')); ?></strong></td>
     94<?php _e('Output:') ?> <strong><?php echo gmdate(get_option('time_format'), current_time('timestamp')); ?></strong><br />
     95<?php _e('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date formatting</a>. Click "Save Changes" to update sample output.') ?></td>
    9596</tr>
    9697<tr>
    97 <th scope="row">&nbsp;</th>
    98 <td><?php _e('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date formatting</a>. Click "Save Changes" to update sample output.') ?> </td>
    99 </tr>
    100 <tr>
    10198<th scope="row"><?php _e('Week Starts On') ?></th>
    10299<td><select name="start_of_week" id="start_of_week">
    103100<?php
  • wp-admin/options-misc.php

     
    2929</tr>
    3030
    3131<tr>
    32 <td></td>
    33 <td>
     32<th colspan="2">
    3433<label for="uploads_use_yearmonth_folders">
    3534<input name="uploads_use_yearmonth_folders" type="checkbox" id="uploads_use_yearmonth_folders" value="1" <?php checked('1', get_option('uploads_use_yearmonth_folders')); ?> />
    3635<?php _e('Organize my uploads into month- and year-based folders'); ?>
    3736</label>
    38 </td>
     37</th>
    3938</tr>
    4039</table>
     40<table class="niceblue">
     41<tr>
     42        <th colspan="2"><input name="use_linksupdate" type="checkbox" id="use_linksupdate" value="1" <?php checked('1', get_option('use_linksupdate')); ?> />
     43<label for="use_linksupdate"><?php _e('Track Links&#8217; Update Times') ?></label>
     44</th>
     45</tr>
     46<tr>
     47        <th colspan="2"><label><input type="checkbox" name="hack_file" value="1" <?php checked('1', get_option('hack_file')); ?> /> <?php _e('Use legacy <code>my-hacks.php</code> file support') ?></label>
     48</th>
     49</tr>
     50</table>
    4151
    42 <p><input name="use_linksupdate" type="checkbox" id="use_linksupdate" value="1" <?php checked('1', get_option('use_linksupdate')); ?> />
    43 <label for="use_linksupdate"><?php _e('Track Links&#8217; Update Times') ?></label></p>
    44 <p>
    45 <label><input type="checkbox" name="hack_file" value="1" <?php checked('1', get_option('hack_file')); ?> /> <?php _e('Use legacy <code>my-hacks.php</code> file support') ?></label>
    46 </p>
    47 
    4852<p class="submit">
    4953<input type="hidden" name="action" value="update" />
    5054<input type="hidden" name="page_options" value="hack_file,use_linksupdate,uploads_use_yearmonth_folders,upload_path,upload_url_path" />
    51 <input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" />
     55<input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" class="button" />
    5256</p>
    5357</form>
    5458</div>
  • wp-admin/options-discussion.php

     
    1515<tr valign="top">
    1616<th scope="row"><?php _e('Default article settings') ?></th>
    1717<td>
    18 <ul>
    19 <li>
    2018<label for="default_pingback_flag">
    2119<input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_option('default_pingback_flag')); ?> />
    2220<?php _e('Attempt to notify any blogs linked to from the article (slows down posting.)') ?></label>
    23 </li>
    24 <li>
     21<br />
    2522<label for="default_ping_status">
    2623<input name="default_ping_status" type="checkbox" id="default_ping_status" value="open" <?php checked('open', get_option('default_ping_status')); ?> />
    2724<?php _e('Allow link notifications from other blogs (pingbacks and trackbacks.)') ?></label>
    28 </li>
    29 <li>
     25<br />
    3026<label for="default_comment_status">
    3127<input name="default_comment_status" type="checkbox" id="default_comment_status" value="open" <?php checked('open', get_option('default_comment_status')); ?> />
    3228<?php _e('Allow people to post comments on the article') ?></label>
    33 </li>
    34 </ul>
     29<br />
    3530<small><em><?php echo '(' . __('These settings may be overridden for individual articles.') . ')'; ?></em></small>
    3631</td>
    3732</tr>
    3833<tr valign="top">
    3934<th scope="row"><?php _e('E-mail me whenever') ?></th>
    4035<td>
    41 <ul>
    42 <li>
    4336<label for="comments_notify">
    4437<input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_option('comments_notify')); ?> />
    4538<?php _e('Anyone posts a comment') ?> </label>
    46 </li>
    47 <li>
     39<br />
    4840<label for="moderation_notify">
    4941<input name="moderation_notify" type="checkbox" id="moderation_notify" value="1" <?php checked('1', get_option('moderation_notify')); ?> />
    5042<?php _e('A comment is held for moderation') ?> </label>
    51 </li>
    52 </ul>
    5343</td>
    5444</tr>
    5545<tr valign="top">
    5646<th scope="row"><?php _e('Before a comment appears') ?></th>
    5747<td>
    58 <ul>
    59 <li>
    6048<label for="comment_moderation">
    6149<input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_option('comment_moderation')); ?> />
    6250<?php _e('An administrator must always approve the comment') ?> </label>
    63 </li>
    64 <li><label for="require_name_email"><input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_option('require_name_email')); ?> /> <?php _e('Comment author must fill out name and e-mail') ?></label></li>
    65 <li><label for="comment_whitelist"><input type="checkbox" name="comment_whitelist" id="comment_whitelist" value="1" <?php checked('1', get_option('comment_whitelist')); ?> /> <?php _e('Comment author must have a previously approved comment') ?></label></li>
     51<br />
     52<label for="require_name_email"><input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_option('require_name_email')); ?> /> <?php _e('Comment author must fill out name and e-mail') ?></label>
     53<br />
     54<label for="comment_whitelist"><input type="checkbox" name="comment_whitelist" id="comment_whitelist" value="1" <?php checked('1', get_option('comment_whitelist')); ?> /> <?php _e('Comment author must have a previously approved comment') ?></label></li>
    6655</ul>
    6756</td>
    6857</tr>
  • wp-admin/options-permalink.php

     
    129129<h3><?php _e('Common settings'); ?></h3>
    130130<table class="niceblue">
    131131        <tr>
    132                 <td><label><input name="selection" type="radio" value="" class="tog" <?php checked('', $permalink_structure); ?> /> <?php _e('Default'); ?></label>
     132                <th><label><input name="selection" type="radio" value="" class="tog" <?php checked('', $permalink_structure); ?> /> <?php _e('Default'); ?></label></th>
    133133                <td><code><?php echo get_option('home'); ?>/?p=123</code></span></td>
    134134        </tr>
    135135        <tr>
    136                 <td><label><input name="selection" type="radio" value="<?php echo $structures[1]; ?>" class="tog" <?php checked($structures[1], $permalink_structure); ?> /> <?php _e('Date and name based'); ?></label></td>
     136                <th><label><input name="selection" type="radio" value="<?php echo $structures[1]; ?>" class="tog" <?php checked($structures[1], $permalink_structure); ?> /> <?php _e('Date and name based'); ?></label></th>
    137137                <td><code><?php echo get_option('home') . $prefix . '/' . date('Y') . '/' . date('m') . '/' . date('d') . '/sample-post/'; ?></code></td>
    138138        </tr>
    139139        <tr>
    140                 <td><label><input name="selection" type="radio" value="<?php echo $structures[2]; ?>" class="tog" <?php checked($structures[2], $permalink_structure); ?> /> <?php _e('Numeric'); ?></label></td>
     140                <th><label><input name="selection" type="radio" value="<?php echo $structures[2]; ?>" class="tog" <?php checked($structures[2], $permalink_structure); ?> /> <?php _e('Numeric'); ?></label></th>
    141141                <td><code><?php echo get_option('home') . $prefix  ; ?>/archives/123</code></td>
    142142        </tr>
    143143        <tr>
    144                 <td>
     144                <th>
    145145                        <label><input name="selection" id="custom_selection" type="radio" value="custom" class="tog"
    146146                        <?php if ( !in_array($permalink_structure, $structures) ) { ?>
    147147                        checked="checked"
     
    149149                         />
    150150                        <?php _e('Custom Structure'); ?>
    151151                        </label>
    152                 </td>
     152                </th>
    153153                <td>
    154154                        <input name="permalink_structure" id="permalink_structure" type="text" class="code" style="width: 60%;" value="<?php echo attribute_escape($permalink_structure); ?>" size="50" />
    155155                </td>
     
    173173                <td><input name="tag_base" id="tag_base" type="text" class="code"  value="<?php echo attribute_escape($tag_base); ?>" size="30" /></td>
    174174        </tr>
    175175</table>
    176 <input type="submit" name="submit" class="button" value="<?php _e('Save Changes') ?>" />
     176<p class="submit"><input type="submit" name="submit" class="button" value="<?php _e('Save Changes') ?>" /></p>
    177177  </form>
    178178<?php if ( $permalink_structure && !$usingpi && !$writable ) : ?>
    179179  <p><?php _e('If your <code>.htaccess</code> file were <a href="http://codex.wordpress.org/Make_a_Directory_Writable">writable</a>, we could do this automatically, but it isn&#8217;t so these are the mod_rewrite rules you should have in your <code>.htaccess</code> file. Click in the field and press <kbd>CTRL + a</kbd> to select all.') ?></p>
  • wp-admin/options-writing.php

     
    6262
    6363<table class="niceblue">
    6464<tr valign="top">
    65 <th scope="row"><?php _e('Thumbnail size:') ?></th>
     65<th scope="row"><?php _e('Thumbnail size') ?></th>
    6666<td>
    67 <label for="thumbnail_size_w"><?php _e('Width:'); ?></label>
     67<label for="thumbnail_size_w"><?php _e('Width'); ?></label>
    6868<input name="thumbnail_size_w" type="text" id="thumbnail_size_w" value="<?php form_option('thumbnail_size_w'); ?>" size="6" />
    69 <label for="thumbnail_size_h"><?php _e('Height:'); ?></label>
     69<label for="thumbnail_size_h"><?php _e('Height'); ?></label>
    7070<input name="thumbnail_size_h" type="text" id="thumbnail_size_h" value="<?php form_option('thumbnail_size_h'); ?>" size="6" />
    7171</td>
    7272</tr>
    7373<tr valign="top">
    74 <th scope="row"><?php _e('Medium size:') ?></th>
     74<th scope="row"><?php _e('Medium size') ?></th>
    7575<td>
    76 <label for="medium_size_w"><?php _e('Width:'); ?></label>
     76<label for="medium_size_w"><?php _e('Width'); ?></label>
    7777<input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" size="6" />
    78 <label for="medium_size_h"><?php _e('Height:'); ?></label>
     78<label for="medium_size_h"><?php _e('Height'); ?></label>
    7979<input name="medium_size_h" type="text" id="thumbnail_size_h" value="<?php form_option('medium_size_h'); ?>" size="6" />
    8080</td>
    8181</tr>