X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/76aea3697c6043c1613370f172395b4f65ee71f0..5aa86a9053fb0fa15846bb60aac2fb8fdfff524a:/wp-admin/edit-form-comment.php diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index 601f4cbb..37772e3c 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -1,106 +1,147 @@ comment_ID); $form_action = 'editedcomment'; -$form_extra = "' />\n\n\n\ncomment_ID) ?>
-

+ +

+ +
-
- +
+
+

+
+
-
- +
+
+ +
+
-
+
-

-

- -

+
+
+
+ +
+
comment_date); -$time = mysql2date(get_option('time_format'), $comment->comment_date); +// translators: Publish box date format, see http://php.net/date +$datef = __( 'M j, Y @ G:i' ); +$stamp = __('Submitted on: %1$s'); +$date = date_i18n( $datef, strtotime( $comment->comment_date ) ); ?> -

- + 
- +
+
+
-

- -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') . ""; -?> -

- -
-
- -
    -
  • -
  • - -
+
+
+comment_ID&_wp_original_http_referer=" . urlencode(wp_get_referer()), 'delete-comment_' . $comment->comment_ID) . "'>" . ( !EMPTY_TRASH_DAYS ? __('Delete Permanently') : __('Move to Trash') ) . "\n"; ?>
- +
+ '4' ) ); ?> +
+
- -
-
-

-
-
- -
-

-
-
-
-

+
+
+
+

- + + + + + + + + + + + + + + + +
+ comment_author_email ) { + printf( __( 'E-mail (%s):' ), get_comment_author_email_link( __( 'send e-mail' ), '', '' ) ); + } else { + _e( 'E-mail:' ); + } +?>
+ comment_author_url ) && 'http://' != $comment->comment_author_url ) { + $link = '' . __('visit site') . ''; + printf( __( 'URL (%s):' ), apply_filters('get_comment_author_link', $link ) ); + } else { + _e( 'URL:' ); + } ?>
+
-

-comment_content, 'content', 'newcomment_author_url', false, 4); ?> - + 'strong,em,link,block,del,ins,img,ul,ol,li,code,spell,close' ); + wp_editor( $comment->comment_content, 'content', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings ) ); + wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
- +comment_ID ?>" /> - - +do_meta_boxes(null, 'normal', $comment); +?> + + + + +
-