Make WordPress Core


Ignore:
Timestamp:
02/22/2008 02:04:17 AM (18 years ago)
Author:
ryan
Message:

Move submitboxes to be the first thing in the poststuff div. Props fitztrev. fixes #5947

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-comment.php

    r6961 r6966  
    2121
    2222<div id="poststuff">
    23 
    24 <div id="namediv" class="stuffbox">
    25 <h3><?php _e('Name') ?></h3>
    26 <div class="inside">
    27 <input type="text" name="newcomment_author" size="30" value="<?php echo attribute_escape( $comment->comment_author ); ?>" tabindex="1" id="name" />
    28 </div>
    29 </div>
    30 
    31 <div id="emaildiv" class="stuffbox">
    32 <h3><?php _e('E-mail') ?></h3>
    33 <div class="inside">
    34 <input type="text" name="newcomment_author_email" size="30" value="<?php echo attribute_escape( $comment->comment_author_email ); ?>" tabindex="2" id="email" />
    35 </div>
    36 </div>
    37 
    38 <div id="uridiv" class="stuffbox">
    39 <h3><?php _e('URL') ?></h3>
    40 <div class="inside">
    41 <input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" value="<?php echo attribute_escape( $comment->comment_author_url ); ?>" tabindex="2" />
    42 </div>
    43 </div>
    44 
    45 <div id="postdiv" class="postarea">
    46 <h3><?php _e('Comment') ?></h3>
    47 <?php the_editor($comment->comment_content, 'content', 'newcomment_author_url', false); ?>
    48 <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
    49 </div>
    5023
    5124<div class="submitbox" id="submitcomment">
     
    9669</div>
    9770
     71<div id="namediv" class="stuffbox">
     72<h3><?php _e('Name') ?></h3>
     73<div class="inside">
     74<input type="text" name="newcomment_author" size="30" value="<?php echo attribute_escape( $comment->comment_author ); ?>" tabindex="1" id="name" />
     75</div>
     76</div>
     77
     78<div id="emaildiv" class="stuffbox">
     79<h3><?php _e('E-mail') ?></h3>
     80<div class="inside">
     81<input type="text" name="newcomment_author_email" size="30" value="<?php echo attribute_escape( $comment->comment_author_email ); ?>" tabindex="2" id="email" />
     82</div>
     83</div>
     84
     85<div id="uridiv" class="stuffbox">
     86<h3><?php _e('URL') ?></h3>
     87<div class="inside">
     88<input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" value="<?php echo attribute_escape( $comment->comment_author_url ); ?>" tabindex="2" />
     89</div>
     90</div>
     91
     92<div id="postdiv" class="postarea">
     93<h3><?php _e('Comment') ?></h3>
     94<?php the_editor($comment->comment_content, 'content', 'newcomment_author_url', false); ?>
     95<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
     96</div>
     97
    9898<?php do_meta_boxes('comment', 'normal', $comment); ?>
    9999
Note: See TracChangeset for help on using the changeset viewer.