WordPress.org

Make WordPress Core

Changeset 6837


Ignore:
Timestamp:
02/14/2008 02:40:17 AM (10 years ago)
Author:
ryan
Message:

Replace fieldset with h3 in settings pages. Props hansengel. see #5851

Location:
trunk/wp-admin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-discussion.php

    r6833 r6837  
    1313<?php wp_nonce_field('update-options') ?>
    1414<p class="submit"><input type="submit" name="Submit" value="<?php _e('Save Changes &raquo;') ?>" /></p>
    15 <fieldset class="options">
    16 <legend><?php echo __('Usual settings for an article:').'<br /><small><em>('.__('These settings may be overridden for individual articles.').')</em></small>'; ?></legend>
     15<h3><?php _e('Usual settings for an article:') ?></h3>
     16<small><em><?php echo '(' . __('These settings may be overridden for individual articles.') . ')'; ?></em></small>
    1717<ul>
    1818<li>
     
    3232</li>
    3333</ul>
    34 </fieldset>
    35 <fieldset class="options">
    36 <legend><?php _e('E-mail me whenever:') ?></legend>
     34
     35<h3><?php _e('E-mail me whenever:') ?></h3>
    3736<ul>
    3837<li>
     
    4746</li>
    4847</ul>
    49 </fieldset>
    50 <fieldset class="options">
    51 <legend><?php _e('Before a comment appears:') ?></legend>
     48
     49<h3><?php _e('Before a comment appears:') ?></h3>
    5250<ul>
    5351<li>
     
    5957<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>
    6058</ul>
    61 </fieldset>
    62 <fieldset class="options">
    63 <legend><?php _e('Comment Moderation') ?></legend>
     59
     60<h3><?php _e('Comment Moderation') ?></h3>
    6461<p><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" size="3" value="' . get_option('comment_max_links'). '" />' ) ?></p>
    6562
     
    6865<textarea name="moderation_keys" cols="60" rows="4" id="moderation_keys" style="width: 98%; font-size: 12px;" class="code"><?php form_option('moderation_keys'); ?></textarea>
    6966</p>
    70 </fieldset>
    71 <fieldset class="options">
    72 <legend><?php _e('Comment Blacklist') ?></legend>
     67
     68<h3><?php _e('Comment Blacklist') ?></h3>
    7369<p><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?></p>
    7470<p>
    7571<textarea name="blacklist_keys" cols="60" rows="4" id="blacklist_keys" style="width: 98%; font-size: 12px;" class="code"><?php form_option('blacklist_keys'); ?></textarea>
    7672</p>
    77 </fieldset>
     73
    7874<p class="submit">
    7975<input type="hidden" name="action" value="update" />
  • trunk/wp-admin/options-misc.php

    r6833 r6837  
    1414<?php wp_nonce_field('update-options') ?>
    1515<p class="submit"><input type="submit" name="Submit" value="<?php _e('Save Changes &raquo;') ?>" /></p>
    16 <fieldset class="options">
    17 <legend><?php _e('Uploading'); ?></legend>
     16<h3><?php _e('Uploading'); ?></h3>
    1817<table class="niceblue">
    1918<tr valign="top">
     
    4140</tr>
    4241</table>
    43 </fieldset>
    4442
    4543<p><input name="use_linksupdate" type="checkbox" id="use_linksupdate" value="1" <?php checked('1', get_option('use_linksupdate')); ?> />
  • trunk/wp-admin/options-reading.php

    r6833 r6837  
    1414<p class="submit"><input type="submit" name="Submit" value="<?php _e('Save Changes &raquo;') ?>" /></p>
    1515<?php if ( get_pages() ): ?>
    16 <fieldset class="options">
    17 <legend><?php _e('Front Page') ?></legend>
     16<h3><?php _e('Front Page') ?></h3>
    1817<table class="niceblue">
    1918<tr valign="top">
     
    4443</tr>
    4544</table>
    46 </fieldset>
    4745<?php endif; ?>
    4846
    49 <fieldset class="options">
    50 <legend><?php _e('Blog Pages') ?></legend>
     47<h3><?php _e('Blog Pages') ?></h3>
    5148<table class="niceblue">
    5249<tr valign="top">
     
    5956</fieldset>
    6057
    61 <fieldset class="options">
    62 <legend><?php _e('Syndication Feeds') ?></legend>
     58<h3><?php _e('Syndication Feeds') ?></h3>
    6359<table width="100%" cellspacing="2" cellpadding="5" class="optiontable editform">
    6460<tr valign="top">
     
    7470</tr>
    7571</table>
    76 </fieldset>
    7772
    78 <fieldset class="options">
    79 <legend><?php _e('Avatars') ?></legend>
     73<h3><?php _e('Avatars') ?></h3>
    8074<table class="niceblue">
    8175<tr valign="top">
     
    108102</tr>
    109103</table>
    110 </fieldset>
    111104
    112105<table class="niceblue">
  • trunk/wp-admin/options-writing.php

    r6833 r6837  
    5959</table>
    6060
    61 <fieldset class="options">
    62 <legend><?php _e('Post via e-mail') ?></legend>
     61<h3><?php _e('Post via e-mail') ?></h3>
    6362<p><?php printf(__('To post to WordPress by e-mail you must set up a secret e-mail account with POP3 access. Any mail received at this address will be posted, so it&#8217;s a good idea to keep this address very secret. Here are three random strings you could use: <code>%s</code>, <code>%s</code>, <code>%s</code>.'), wp_generate_password(), wp_generate_password(), wp_generate_password()) ?></p>
    6463
     
    9695</tr>
    9796</table>
    98 </fieldset>
    9997
    100 <fieldset class="options">
    101 <legend><?php _e('Update Services') ?></legend>
     98<h3><?php _e('Update Services') ?></h3>
    10299
    103100<?php if ( get_option('blog_public') ) : ?>
     
    113110<?php endif; ?>
    114111
    115 </fieldset>
    116 
    117112<p class="submit">
    118113<input type="hidden" name="action" value="update" />
Note: See TracChangeset for help on using the changeset viewer.