Make WordPress Core


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

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

File:
1 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" />
Note: See TracChangeset for help on using the changeset viewer.