Ticket #8026: 8026.patch
File 8026.patch, 3.6 KB (added by , 15 years ago) |
---|
-
wp-admin/includes/post.php
1172 1172 $mce_options = rtrim( trim($mce_options), '\n\r,' ); ?> 1173 1173 1174 1174 <script type="text/javascript"> 1175 /* <![CDATA[ */ 1175 1176 1176 1177 tinyMCEPreInit = { 1177 1178 base : "<?php echo $baseurl; ?>", … … 1202 1203 sl.markDone(url + '/langs/' + lang + '_dlg.js'); 1203 1204 } 1204 1205 }; 1206 1207 /* ]]> */ 1205 1208 </script> 1206 1209 <script type="text/javascript" src="<?php echo $baseurl; ?>/tiny_mce.js?ver=<?php echo $ver; ?>"></script> 1207 1210 <?php if ( 'en' == $language ) { ?> -
wp-admin/options-discussion.php
78 78 <input name="page_comments" type="checkbox" id="page_comments" value="1" <?php checked('1', get_option('page_comments')); ?> /> 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"'; 84 84 if ( 'oldest' == get_option('default_comments_page') ) $default_comments_page .= ' selected="selected"'; 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 );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 88 89 ?> 89 ?></label> 90 90 <br /> 91 91 <label for="comment_order"><?php 92 92 … … 130 130 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> 136 136 </tr> … … 139 139 <td><fieldset><legend class="hidden"><?php _e('Comment Blacklist') ?></legend> 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> 145 145 </tr>