| 40 | | <fieldset style="clear: both;"> |
|---|
| 41 | | <legend><?php _e('Comment') ?></legend> |
|---|
| 42 | | <?php the_editor($comment->comment_content, 'content', 'newcomment_author_url'); ?> |
|---|
| 43 | | </fieldset> |
|---|
| | 22 | <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'); ?> |
|---|
| | 48 | <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?> |
|---|
| | 49 | </div> |
|---|
| | 50 | |
|---|
| | 51 | <div class="submitbox" id="submitcomment"> |
|---|
| | 52 | |
|---|
| | 53 | <div id="previewview"> |
|---|
| | 54 | <a href="<?php echo get_comment_link(); ?>" target="_blank"><?php _e('View this Comment'); ?></a> |
|---|
| | 55 | </div> |
|---|
| | 56 | |
|---|
| | 57 | <div class="inside"> |
|---|
| | 58 | |
|---|
| | 59 | <p><strong><?php _e('Approval Status') ?></strong></p> |
|---|
| | 60 | <p> |
|---|
| | 61 | <select name='comment_status'> |
|---|
| | 62 | <option<?php selected( $comment->comment_approved, '1' ); ?> value='1'><?php _e('Approved') ?></option> |
|---|
| | 63 | <option<?php selected( $comment->comment_approved, '0' ); ?> value='0'><?php _e('Moderated') ?></option> |
|---|
| | 64 | <option<?php selected( $comment->comment_approved, 'spam' ); ?> value='spam'><?php _e('Spam') ?></option> |
|---|
| | 65 | </select> |
|---|
| | 66 | </p> |
|---|
| 49 | | <div> |
|---|
| 50 | | <a href="<?php echo get_permalink($comment->comment_post_ID); ?>" class="view-comment-post-link" target="_blank"><?php echo sprintf('%s »',$post_title); ?></a> |
|---|
| 51 | | <p class="submit"><input type="submit" name="editcomment" id="editcomment" value="<?php echo $submitbutton_text ?>" style="font-weight: bold;" tabindex="6" /> |
|---|
| 52 | | <input name="referredby" type="hidden" id="referredby" value="<?php echo wp_get_referer(); ?>" /> |
|---|
| 53 | | </p> |
|---|
| 54 | | </div> |
|---|
| | 73 | <p><?php printf($stamp, $date, $time); ?> |
|---|
| | 74 | <a href="#edit_timestamp" class="edit-timestamp"><?php _e('Edit') ?></a></p> |
|---|
| | 75 | |
|---|
| | 76 | <div id='timestamp'><?php touch_time(('editcomment' == $action), 0, 5); ?></div> |
|---|
| 61 | | <table width="100%" cellspacing="2" cellpadding="5" class="editform"> |
|---|
| 62 | | <tr> |
|---|
| 63 | | <th scope="row" valign="top"><?php _e('Comment Status') ?>:</th> |
|---|
| 64 | | <td><label for="comment_status_approved" class="selectit"><input id="comment_status_approved" name="comment_status" type="radio" value="1" <?php checked($comment->comment_approved, '1'); ?> tabindex="4" /> <?php _e('Approved') ?></label> |
|---|
| 65 | | <label for="comment_status_moderated" class="selectit"><input id="comment_status_moderated" name="comment_status" type="radio" value="0" <?php checked($comment->comment_approved, '0'); ?> tabindex="4" /> <?php _e('Moderated') ?></label> |
|---|
| 66 | | <label for="comment_status_spam" class="selectit"><input id="comment_status_spam" name="comment_status" type="radio" value="spam" <?php checked($comment->comment_approved, 'spam'); ?> tabindex="4" /> <?php _e('Spam') ?></label></td> |
|---|
| 67 | | </tr> |
|---|
| | 89 | <?php do_meta_boxes('comment', 'normal', $comment); ?> |
|---|
| 69 | | <?php if ( current_user_can('edit_posts') ) : ?> |
|---|
| 70 | | <tr> |
|---|
| 71 | | <th scope="row" valign="top"><?php _e('Edit time'); ?>:</th> |
|---|
| 72 | | <td><?php touch_time(('editcomment' == $action), 0, 5); ?> </td> |
|---|
| 73 | | </tr> |
|---|
| 74 | | <?php endif; ?> |
|---|
| 75 | | |
|---|
| 76 | | <tr> |
|---|
| 77 | | <th scope="row" valign="top"> </th> |
|---|
| 78 | | <td><input name="deletecomment" class="button delete" type="submit" id="deletecomment" tabindex="10" value="<?php _e('Delete this comment') ?>" <?php echo "onclick=\"if ( confirm('" . js_escape(__("You are about to delete this comment. \n 'Cancel' to stop, 'OK' to delete.")) . "') ) { document.forms.post._wpnonce.value = '" . wp_create_nonce( 'delete-comment_' . $comment->comment_ID ) . "'; return true; } return false;\""; ?> /> |
|---|
| 79 | | <input type="hidden" name="c" value="<?php echo $comment->comment_ID ?>" /> |
|---|
| 80 | | <input type="hidden" name="p" value="<?php echo $comment->comment_post_ID ?>" /> |
|---|
| 81 | | <input type="hidden" name="noredir" value="1" /> |
|---|
| 82 | | </td> |
|---|
| 83 | | </tr> |
|---|
| 84 | | </table> |
|---|
| 85 | | |
|---|
| | 91 | <input type="hidden" name="c" value="<?php echo $comment->comment_ID ?>" /> |
|---|
| | 92 | <input type="hidden" name="p" value="<?php echo $comment->comment_post_ID ?>" /> |
|---|
| | 93 | <input name="referredby" type="hidden" id="referredby" value="<?php echo wp_get_referer(); ?>" /> |
|---|
| | 94 | <input type="hidden" name="noredir" value="1" /> |
|---|
| | 95 | </div> |
|---|