'; if ( !empty( $_POST['spam_button'] ) ) printf(__('%s comments marked as spam.'), $i); else printf(__('%s comments deleted.'), $i); echo '
comment_author_email) { ?>| comment_author_url && 'http://' != $comment->comment_author_url ) { ?> | |
comment_post_ID) ) { echo " | comment_ID."\">" . __('Edit Comment') . ""; echo " | comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return deleteSomething( 'comment', $comment->comment_ID, '" . sprintf(__("You are about to delete this comment by "%s".\\n"Cancel" to stop, "OK" to delete."), wp_specialchars( $comment->comment_author, 1 )) . "' );\">" . __('Delete Comment') . " "; echo " | comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return deleteSomething( 'comment-as-spam', $comment->comment_ID, '" . sprintf(__("You are about to mark as spam this comment by "%s".\\n"Cancel" to stop, "OK" to mark as spam."), wp_specialchars( $comment->comment_author, 1 )) . "' );\">" . __('Mark Comment as Spam') . " "; } // end if any comments to show // Get post title $post = get_post($comment->comment_post_ID); $post_title = $post->post_title; $post_title = ('' == $post_title) ? "# $comment->comment_post_ID" : $post_title; if ( 'page' == $post->post_type ) { if ( current_user_can('edit_page', $comment->comment_post_ID) ) ?> | comment_post_ID) ) ?> | |
* | ' . __('Name') . ' | ' . __('E-mail') . ' | ' . __('IP') . ' | ' . __('Comment Excerpt') . ' | ' . __('Actions') . ' | ||
---|---|---|---|---|---|---|---|
comment_post_ID) ) { ?> | (Unapproved) | comment_post_ID) ) { echo "" . __('Edit') . ""; } ?> | comment_post_ID) ) { echo "comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return deleteSomething( 'comment', $comment->comment_ID, '" . sprintf(__("You are about to delete this comment by "%s".\\n"Cancel" to stop, "OK" to delete."), wp_specialchars( $comment->comment_author, 1 )) . "' );\" class='edit'>" . __('Delete') . " "; } ?> |
'); return false } return confirm('')" /> ')" />