Changeset 1111 for trunk/wp-admin/options-discussion.php
- Timestamp:
- 04/21/2004 03:00:44 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-discussion.php
r1108 r1111 1 1 <?php 2 require_once('../wp-includes/wp-l10n.php'); 3 2 4 $title = 'Discussion Options'; 3 5 $parent_file = 'options-general.php'; … … 42 44 43 45 <div class="wrap"> 44 <h2> Discussion Options</h2>46 <h2><?php _e('Discussion Options') ?></h2> 45 47 <form name="form1" method="post" action="options.php"> 46 48 <input type="hidden" name="action" value="update" /> 47 49 <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_max_links','moderation_keys'" /> 48 50 <fieldset class="options"> 49 <legend>Usual settings for an article: <em>(These settings may be overidden for individual articles.)</em></legend>51 <legend><?php _e('Usual settings for an article: <em>(These settings may be overidden for individual articles.)</em>') ?></legend> 50 52 <ul> 51 53 <li> 52 54 <label for="default_pingback_flag"> 53 55 <input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_settings('default_pingback_flag')); ?> /> 54 Attempt to notify any Weblogs linked to from the article (slows down posting.)</label>56 <?php _e('Attempt to notify any Weblogs linked to from the article (slows down posting.)') ?></label> 55 57 </li> 56 58 <li> 57 59 <label for="default_ping_status"> 58 60 <input name="default_ping_status" type="checkbox" id="default_ping_status" value="open" <?php checked('open', get_settings('default_ping_status')); ?> /> 59 Allow link notifications from other Weblogs (pingbacks and trackbacks.)</label>61 <?php _e('Allow link notifications from other Weblogs (pingbacks and trackbacks.)') ?></label> 60 62 </li> 61 63 <li> 62 64 <label for="default_comment_status"> 63 65 <input name="default_comment_status" type="checkbox" id="default_comment_status" value="open" <?php checked('open', get_settings('default_comment_status')); ?> /> 64 Allow people to post comments on the article</label>66 <?php _e('Allow people to post comments on the article') ?></label> 65 67 </li> 66 68 </ul> 67 69 </fieldset> 68 70 <fieldset class="options"> 69 <legend>Email me whenever:</legend>71 <legend><?php _e('Email me whenever:') ?></legend> 70 72 <ul> 71 73 <li> 72 74 <label for="comments_notify"> 73 75 <input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_settings('comments_notify')); ?> /> 74 Anyone posts a comment</label>76 <?php _e('Anyone posts a comment') ?> </label> 75 77 </li> 76 78 <li> 77 79 <label for="moderation_notify"> 78 80 <input name="moderation_notify" type="checkbox" id="moderation_notify" value="1" <?php checked('1', get_settings('moderation_notify')); ?> /> 79 A comment is approved or declined</label>81 <?php _e('A comment is approved or declined') ?> </label> 80 82 </li> 81 83 </ul> 82 84 </fieldset> 83 85 <fieldset class="options"> 84 <legend>Before a comment appears:</legend>86 <legend><?php _e('Before a comment appears:') ?></legend> 85 87 <ul> 86 88 <li> 87 89 <label for="comment_moderation"> 88 90 <input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_settings('comment_moderation')); ?> /> 89 An administrator must approve the comment (regardless of any matches below)</label>91 <?php _e('An administrator must approve the comment (regardless of any matches below)') ?> </label> 90 92 </li> 91 93 <li> 92 94 <label for="require_name_email"> 93 95 <input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_settings('require_name_email')); ?> /> 94 User must fill out name and email</label>96 <?php _e('User must fill out name and email') ?> </label> 95 97 </li> 96 98 </ul> 97 99 </fieldset> 98 100 <fieldset class="options"> 99 <legend>Comment Moderation</legend> 100 <p>Hold a comment in the queue if it contains more than 101 <input name="comment_max_links" type="text" id="comment_max_links" size="3" value="<?php echo get_settings('comment_max_links'); ?>" /> 102 links. (A common characteristic of comment spam is a large number of hyperlinks.)</p> 103 <p>When a comment contains any of these words in its content, name, URI, email, or IP, hold it in the moderation queue: (Seperate multiple words with new lines.) <a href="http://wiki.wordpress.org/index.php/SpamWords">Common spam words</a>.</p> 101 <legend><?php _e('Comment Moderation') ?></legend> 102 <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_settings('comment_max_links'). '" />' ) ?></p> 103 104 <p><?php _e('When a comment contains any of these words in its content, name, URI, email, or IP, hold it in the moderation queue: (Seperate multiple words with new lines.) <a href="http://wiki.wordpress.org/index.php/SpamWords">Common spam words</a>.') ?></p> 104 105 <p> 105 106 <textarea name="moderation_keys" cols="60" rows="4" id="moderation_keys" style="width: 98%; font-size: 12px;" class="code"><?php echo get_settings('moderation_keys'); ?></textarea> … … 107 108 </fieldset> 108 109 <p style="text-align: right;"> 109 <input type="submit" name="Submit" value="Update Options" />110 <input type="submit" name="Submit" value="<?php _e('Update Options') ?>" /> 110 111 </p> 111 112 </form>
Note: See TracChangeset
for help on using the changeset viewer.