Changeset 6930
- Timestamp:
- 02/20/08 05:39:04 (9 months ago)
- Files:
-
- trunk/wp-admin/edit-form-comment.php (modified) (1 diff)
- trunk/wp-admin/wp-admin.css (modified) (1 diff)
- trunk/wp-includes/general-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/edit-form-comment.php
r6923 r6930 45 45 <div id="postdiv" class="postarea"> 46 46 <h3><?php _e('Comment') ?></h3> 47 <?php the_editor($comment->comment_content, 'content' ); ?>47 <?php the_editor($comment->comment_content, 'content', 'newcomment_author_url', false); ?> 48 48 <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?> 49 49 </div> trunk/wp-admin/wp-admin.css
r6923 r6930 283 283 } 284 284 285 # postdivrich #quicktags, #postdiv #quicktags {285 #quicktags { 286 286 background: #cee1ef; 287 287 padding: 0; trunk/wp-includes/general-template.php
r6894 r6930 919 919 } 920 920 921 function the_editor($content, $id = 'content', $prev_id = 'title' ) {921 function the_editor($content, $id = 'content', $prev_id = 'title', $media_buttons = true) { 922 922 $rows = get_option('default_post_edit_rows'); 923 923 if (($rows < 3) || ($rows > 100)) … … 938 938 <a id="edButtonPreview" onclick="switchEditors.go('<?php echo $id; ?>');"><?php _e('Visual'); ?></a> 939 939 <?php } 940 } ?> 940 } 941 942 if ( $media_buttons ) { ?> 941 943 <div id="media-buttons"> 942 944 <?php _e('Add media:'); ?> 943 945 <?php do_action( 'media_buttons'); ?> 944 946 </div> 947 <?php } ?> 945 948 </div> 946 949
