Changeset 6026 for trunk/wp-admin/options-discussion.php
- Timestamp:
- 09/03/2007 11:32:58 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-discussion.php
r5825 r6026 8 8 ?> 9 9 10 <div class="wrap"> 11 <h2><?php _e('Discussion Options') ?></h2> 12 <form method="post" action="options.php"> 10 <div class="wrap"> 11 <h2><?php _e('Discussion Options') ?></h2> 12 <form method="post" action="options.php"> 13 13 <?php wp_nonce_field('update-options') ?> 14 14 <p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /></p> 15 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> 17 <ul> 18 <li> 19 <label for="default_pingback_flag"> 20 <input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_option('default_pingback_flag')); ?> /> 21 <?php _e('Attempt to notify any blogs linked to from the article (slows down posting.)') ?></label> 22 </li> 23 <li> 24 <label for="default_ping_status"> 25 <input name="default_ping_status" type="checkbox" id="default_ping_status" value="open" <?php checked('open', get_option('default_ping_status')); ?> /> 26 <?php _e('Allow link notifications from other blogs (pingbacks and trackbacks.)') ?></label> 27 </li> 28 <li> 29 <label for="default_comment_status"> 30 <input name="default_comment_status" type="checkbox" id="default_comment_status" value="open" <?php checked('open', get_option('default_comment_status')); ?> /> 31 <?php _e('Allow people to post comments on the article') ?></label> 32 </li> 33 </ul> 16 <legend><?php echo __('Usual settings for an article:').'<br /><small><em>('.__('These settings may be overridden for individual articles.').')</em></small>'; ?></legend> 17 <ul> 18 <li> 19 <label for="default_pingback_flag"> 20 <input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_option('default_pingback_flag')); ?> /> 21 <?php _e('Attempt to notify any blogs linked to from the article (slows down posting.)') ?></label> 22 </li> 23 <li> 24 <label for="default_ping_status"> 25 <input name="default_ping_status" type="checkbox" id="default_ping_status" value="open" <?php checked('open', get_option('default_ping_status')); ?> /> 26 <?php _e('Allow link notifications from other blogs (pingbacks and trackbacks.)') ?></label> 27 </li> 28 <li> 29 <label for="default_comment_status"> 30 <input name="default_comment_status" type="checkbox" id="default_comment_status" value="open" <?php checked('open', get_option('default_comment_status')); ?> /> 31 <?php _e('Allow people to post comments on the article') ?></label> 32 </li> 33 </ul> 34 34 </fieldset> 35 35 <fieldset class="options"> 36 <legend><?php _e('E-mail me whenever:') ?></legend> 37 <ul> 38 <li> 39 <label for="comments_notify"> 40 <input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_option('comments_notify')); ?> /> 41 <?php _e('Anyone posts a comment') ?> </label> 42 </li> 43 <li> 44 <label for="moderation_notify"> 45 <input name="moderation_notify" type="checkbox" id="moderation_notify" value="1" <?php checked('1', get_option('moderation_notify')); ?> /> 46 <?php _e('A comment is held for moderation') ?> </label> 47 </li> 48 </ul> 36 <legend><?php _e('E-mail me whenever:') ?></legend> 37 <ul> 38 <li> 39 <label for="comments_notify"> 40 <input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_option('comments_notify')); ?> /> 41 <?php _e('Anyone posts a comment') ?> </label> 42 </li> 43 <li> 44 <label for="moderation_notify"> 45 <input name="moderation_notify" type="checkbox" id="moderation_notify" value="1" <?php checked('1', get_option('moderation_notify')); ?> /> 46 <?php _e('A comment is held for moderation') ?> </label> 47 </li> 48 </ul> 49 49 </fieldset> 50 50 <fieldset class="options"> 51 <legend><?php _e('Before a comment appears:') ?></legend> 51 <legend><?php _e('Before a comment appears:') ?></legend> 52 52 <ul> 53 53 <li> 54 <label for="comment_moderation"> 55 <input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_option('comment_moderation')); ?> /> 56 <?php _e('An administrator must always approve the comment') ?> </label> 57 </li> 58 <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> 59 <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> 60 </ul> 54 <label for="comment_moderation"> 55 <input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_option('comment_moderation')); ?> /> 56 <?php _e('An administrator must always approve the comment') ?> </label> 57 </li> 58 <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> 59 <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> 60 </ul> 61 61 </fieldset> 62 62 <fieldset class="options"> … … 65 65 66 66 <p><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="moderation.php">moderation queue</a>. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?></p> 67 <p> 68 <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> 69 </p> 67 <p> 68 <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> 69 </p> 70 70 </fieldset> 71 71 <fieldset class="options"> 72 72 <legend><?php _e('Comment Blacklist') ?></legend> 73 73 <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> 74 <p> 75 <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> 74 <p> 75 <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> 76 76 </p> 77 77 </fieldset> 78 78 <p class="submit"> 79 <input type="hidden" name="action" value="update" /> 80 <input type="hidden" name="page_options" value="default_pingback_flag,default_ping_status,default_comment_status,comments_notify,moderation_notify,comment_moderation,require_name_email,comment_whitelist,comment_max_links,moderation_keys,blacklist_keys" /> 81 <input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /> 79 <input type="hidden" name="action" value="update" /> 80 <input type="hidden" name="page_options" value="default_pingback_flag,default_ping_status,default_comment_status,comments_notify,moderation_notify,comment_moderation,require_name_email,comment_whitelist,comment_max_links,moderation_keys,blacklist_keys" /> 81 <input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /> 82 82 </p> 83 83 </form>
Note: See TracChangeset
for help on using the changeset viewer.