Changeset 4196 for trunk/wp-admin/options-discussion.php
- Timestamp:
- 09/19/2006 06:11:42 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-discussion.php
r4161 r4196 6 6 7 7 include('admin-header.php'); 8 9 if ($action == 'retrospam') {10 if ( $_GET['move'] == 'true' ) {11 retrospam_mgr::move_spam( $_GET[ids] );12 }13 $retrospaminator = new retrospam_mgr();14 $result = $retrospaminator->find_spam();15 echo $retrospaminator->display_edit_form( $result );16 include('./admin-footer.php');17 exit;18 }19 8 ?> 20 9 … … 23 12 <form method="post" action="options.php"> 24 13 <?php wp_nonce_field('update-options') ?> 14 <p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /></p> 25 15 <fieldset class="options"> 26 16 <legend><?php _e('Usual settings for an article:<br /><small><em>(These settings may be overridden for individual articles.)</em></small>') ?></legend> … … 64 54 <label for="comment_moderation"> 65 55 <input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_option('comment_moderation')); ?> /> 66 <?php _e('An administrator must a pprove the comment (regardless of any matches below)') ?> </label>56 <?php _e('An administrator must always approve the comment') ?> </label> 67 57 </li> 68 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> … … 74 64 <p><?php printf(__('Hold a comment in the queue if it contains more than %s 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> 75 65 76 <p><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, hold it in the moderation queue: (Separate multiple words with new lines.) <a href="http://codex.wordpress.org/Spam_Words">Common spam words</a>.') ?></p>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> 77 67 <p> 78 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> 79 </p>80 <p>81 <a id="retrospambutton" href="options-discussion.php?action=retrospam"><?php _e('Check past comments against moderation list'); ?></a>82 69 </p> 83 70 </fieldset> 84 71 <fieldset class="options"> 85 72 <legend><?php _e('Comment Blacklist') ?></legend> 86 <p><?php _e(' This is a list of words that you want completely blacklisted from your blog. Be very careful what you add here, because if a comment matches something here it will be completely nuked and there will be no notification. Remember that partial words can match, so if there is any chance something here might match it would be better to put it in the moderation box above.') ?></p>73 <p><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be deleted. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?></p> 87 74 <p> 88 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> 89 76 </p> 90 <p><label for="open_proxy_check">91 <input name="open_proxy_check" type="checkbox" id="open_proxy_check" value="1" <?php checked('1', get_option('open_proxy_check')); ?> />92 <?php _e('Blacklist comments from open and insecure proxies.') ?></label></p>93 77 </fieldset> 94 78 <p class="submit">
Note: See TracChangeset
for help on using the changeset viewer.