| 17 | | <div class="submitbox" id="submitcomment"> |
|---|
| 18 | | |
|---|
| 19 | | <div id="previewview"> |
|---|
| 20 | | <a href="<?php echo get_comment_link(); ?>" target="_blank"><?php _e('View this Comment'); ?></a> |
|---|
| 21 | | </div> |
|---|
| 22 | | |
|---|
| 23 | | <div class="inside"> |
|---|
| 24 | | |
|---|
| 25 | | <p><strong><label for='comment_status'><?php _e('Approval Status') ?></label></strong></p> |
|---|
| 26 | | <p> |
|---|
| 27 | | <select name='comment_status' id='comment_status'> |
|---|
| 28 | | <option<?php selected( $comment->comment_approved, '1' ); ?> value='1'><?php _e('Approved') ?></option> |
|---|
| 29 | | <option<?php selected( $comment->comment_approved, '0' ); ?> value='0'><?php _e('Moderated') ?></option> |
|---|
| 30 | | <option<?php selected( $comment->comment_approved, 'spam' ); ?> value='spam'><?php _e('Spam') ?></option> |
|---|
| 31 | | </select> |
|---|
| | 17 | <p id="big-add-button"> |
|---|
| | 18 | <span id="previewview"> |
|---|
| | 19 | <a href="<?php echo get_comment_link(); ?>" class="button" target="_blank"><?php _e('View this Comment'); ?></a> |
|---|
| | 20 | </span> |
|---|
| 34 | | <?php |
|---|
| 35 | | $stamp = __('%1$s at %2$s'); |
|---|
| 36 | | $date = mysql2date(get_option('date_format'), $comment->comment_date); |
|---|
| 37 | | $time = mysql2date(get_option('time_format'), $comment->comment_date); |
|---|
| 38 | | ?> |
|---|
| 39 | | <p class="curtime"><?php printf($stamp, $date, $time); ?> |
|---|
| 40 | | <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><?php _e('Edit') ?></a></p> |
|---|
| 41 | | |
|---|
| 42 | | <div id='timestampdiv' class='hide-if-js'><?php touch_time(('editcomment' == $action), 0, 5); ?></div> |
|---|
| 43 | | |
|---|
| 44 | | </div> |
|---|
| 45 | | |
|---|
| 46 | | <p class="submit"> |
|---|
| 47 | | <input type="submit" name="save" value="<?php _e('Save'); ?>" tabindex="4" class="button button-highlighted" /> |
|---|
| 48 | | <?php |
|---|
| 49 | | echo "<a class='submitdelete' href='" . wp_nonce_url("comment.php?action=deletecomment&c=$comment->comment_ID&_wp_original_http_referer=" . wp_get_referer(), 'delete-comment_' . $comment->comment_ID) . "' onclick=\"if ( confirm('" . js_escape(__("You are about to delete this comment. \n 'Cancel' to stop, 'OK' to delete.")) . "') ) { return true;}return false;\">" . __('Delete comment') . "</a>"; |
|---|
| 50 | | ?> |
|---|
| 51 | | </p> |
|---|
| 52 | | |
|---|
| | 23 | <!-- crazyhorse |
|---|
| | 53 | <div id="statusdiv" class="stuffbox"> |
|---|
| | 54 | <h3><label for='comment_status'><?php _e('Approval Status') ?></label></h3> |
|---|
| | 55 | <div class="inside"> |
|---|
| | 56 | <select name='comment_status' id='comment_status'> |
|---|
| | 57 | <option<?php selected( $comment->comment_approved, '1' ); ?> value='1'><?php _e('Approved') ?></option> |
|---|
| | 58 | <option<?php selected( $comment->comment_approved, '0' ); ?> value='0'><?php _e('Moderated') ?></option> |
|---|
| | 59 | <option<?php selected( $comment->comment_approved, 'spam' ); ?> value='spam'><?php _e('Spam') ?></option> |
|---|
| | 60 | </select> |
|---|
| | 61 | </div> |
|---|
| | 62 | </div> |
|---|
| | 63 | |
|---|
| | 64 | </div> |
|---|
| | 65 | |
|---|
| | 66 | <div id="post-body" class="has-sidebar"> |
|---|
| | 67 | <div id="post-body-content" class="has-sidebar-content"> |
|---|
| | 68 | |
|---|
| | 69 | <div id="namediv" class="stuffbox"> |
|---|
| | 70 | <h3><label for="name"><?php _e('Name') ?></label></h3> |
|---|
| | 71 | <div class="inside"> |
|---|
| | 72 | <input type="text" name="newcomment_author" size="30" value="<?php echo attribute_escape( $comment->comment_author ); ?>" tabindex="1" id="name" /> |
|---|
| | 73 | </div> |
|---|
| | 74 | </div> |
|---|
| | 75 | |
|---|
| | 76 | |
|---|
| | 81 | </div> |
|---|
| | 82 | |
|---|
| | 83 | <div id="submitpost" class="submitbox"> |
|---|
| | 84 | <div id="comment-time-info" class="alignleft"> |
|---|
| | 85 | <?php |
|---|
| | 86 | $stamp = __('Timestamp: <span class="timestamp">%1$s at %2$s %3$s</span>'); |
|---|
| | 87 | $date = mysql2date(get_option('date_format'), $comment->comment_date); |
|---|
| | 88 | $time = mysql2date(get_option('time_format'), $comment->comment_date); |
|---|
| | 89 | $edit = '<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js">' . __('(Change)') . '</a>'; |
|---|
| | 90 | |
|---|
| | 91 | ?> |
|---|
| | 92 | <p class="curtime"><?php printf($stamp, $date, $time, $edit); ?></p> |
|---|
| | 93 | |
|---|
| | 94 | <div id='timestampdiv' class='hide-if-js'><?php touch_time(('editcomment' == $action), 0, 5); ?></div> |
|---|
| | 95 | </div> |
|---|
| | 96 | |
|---|
| | 97 | <p class="submit alignright"> |
|---|
| | 98 | <?php |
|---|
| | 99 | echo "<a class='submitdelete' href='" . wp_nonce_url("comment.php?action=deletecomment&c=$comment->comment_ID&_wp_original_http_referer=" . wp_get_referer(), 'delete-comment_' . $comment->comment_ID) . "' onclick=\"if ( confirm('" . js_escape(__("You are about to delete this comment. \n 'Cancel' to stop, 'OK' to delete.")) . "') ) { return true;}return false;\">" . __('Delete comment') . "</a>"; |
|---|
| | 100 | ?> |
|---|
| | 101 | <input type="submit" name="save" value="<?php _e('Save'); ?>" tabindex="4" class="button button-highlighted" /> |
|---|
| | 102 | </p> |
|---|
| | 103 | |
|---|
| | 104 | <br class="clear" /> |
|---|
| | 105 | |
|---|