Changeset 9456 for trunk/wp-admin/options-discussion.php
- Timestamp:
- 11/01/2008 05:03:05 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-discussion.php
r9390 r9456 79 79 <?php 80 80 81 $default_comments_page = '</label>< select name="default_comments_page" id="default_comments_page"><option value="newest"';81 $default_comments_page = '</label><label for="default_comments_page"><select name="default_comments_page" id="default_comments_page"><option value="newest"'; 82 82 if ( 'newest' == get_option('default_comments_page') ) $default_comments_page .= ' selected="selected"'; 83 83 $default_comments_page .= '>' . __('last') . '</option><option value="oldest"'; … … 85 85 $default_comments_page .= '>' . __('first') . '</option></select>'; 86 86 87 printf( __('Break comments into pages with %1$s comments per page and the %2$s page displayed by default'), '</label>< input name="comments_per_page" type="text" id="comments_per_page" value="' . attribute_escape(get_option('comments_per_page')) . '" class="small-text" />', $default_comments_page );88 89 ?> 87 printf( __('Break comments into pages with %1$s comments per page and the %2$s page displayed by default'), '</label><label for="comments_per_page"><input name="comments_per_page" type="text" id="comments_per_page" value="' . attribute_escape(get_option('comments_per_page')) . '" class="small-text" />', $default_comments_page ); 88 89 ?></label> 90 90 <br /> 91 91 <label for="comment_order"><?php … … 131 131 <p><label for="moderation_keys"><?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="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?></label></p> 132 132 <p> 133 <textarea name="moderation_keys" rows="10" id="moderation_keys" class="large-text code"><?php form_option('moderation_keys'); ?></textarea>133 <textarea name="moderation_keys" rows="10" cols="50" id="moderation_keys" class="large-text code"><?php form_option('moderation_keys'); ?></textarea> 134 134 </p> 135 135 </fieldset></td> … … 140 140 <p><label for="blacklist_keys"><?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".') ?></label></p> 141 141 <p> 142 <textarea name="blacklist_keys" rows="10" id="blacklist_keys" class="large-text code"><?php form_option('blacklist_keys'); ?></textarea>142 <textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php form_option('blacklist_keys'); ?></textarea> 143 143 </p> 144 144 </fieldset></td>
Note: See TracChangeset
for help on using the changeset viewer.