Index: wp-admin/edit-comments.php
===================================================================
--- wp-admin/edit-comments.php	(revision 7010)
+++ wp-admin/edit-comments.php	(working copy)
@@ -52,32 +52,7 @@
 else
 	$comment_status = '';
 ?>
-
-<div class="wrap">
-<form id="posts-filter" action="" method="get">
-<h2><?php _e('Manage Comments'); ?></h2>
-
-<ul class="subsubsub">
 <?php
-$status_links = array();
-$num_comments = wp_count_comments();
-$stati = array('moderated' => sprintf(__('Awaiting Moderation (%s)'), $num_comments->moderated), 'approved' => __('Approved'));
-foreach ( $stati as $status => $label ) {
-	$class = '';
-
-	if ( $status == $comment_status )
-		$class = ' class="current"';
-
-	$status_links[] = "<li><a href=\"edit-comments.php?comment_status=$status\"$class>" . $label . '</a>';
-}
-$class = ( '' === $comment_status ) ? ' class="current"' : '';
-$status_links[] = "<li><a href=\"edit-comments.php\"$class>".__('All Comments')."</a>";
-echo implode(' | </li>', $status_links) . '</li>';
-unset($status_links);
-?>
-</ul>
-
-<?php
 if ( isset( $_GET['approved'] ) || isset( $_GET['deleted'] ) || isset( $_GET['spam'] ) ) {
 	$approved = isset( $_GET['approved'] ) ? (int) $_GET['approved'] : 0;
 	$deleted = isset( $_GET['deleted'] ) ? (int) $_GET['deleted'] : 0;
@@ -105,7 +80,30 @@
 	}
 }
 ?>
+<div class="wrap">
+<form id="posts-filter" action="" method="get">
+<h2><?php _e('Manage Comments'); ?></h2>
 
+<ul class="subsubsub">
+<?php
+$status_links = array();
+$num_comments = wp_count_comments();
+$stati = array('moderated' => sprintf(__('Awaiting Moderation (%s)'), $num_comments->moderated), 'approved' => __('Approved'));
+foreach ( $stati as $status => $label ) {
+	$class = '';
+
+	if ( $status == $comment_status )
+		$class = ' class="current"';
+
+	$status_links[] = "<li><a href=\"edit-comments.php?comment_status=$status\"$class>" . $label . '</a>';
+}
+$class = ( '' === $comment_status ) ? ' class="current"' : '';
+$status_links[] = "<li><a href=\"edit-comments.php\"$class>".__('All Comments')."</a>";
+echo implode(' | </li>', $status_links) . '</li>';
+unset($status_links);
+?>
+</ul>
+
 <p id="post-search">
 	<input type="text" id="post-search-input" name="s" value="<?php if (isset($_GET['s'])) echo attribute_escape($_GET['s']); ?>" />
 	<input type="submit" value="<?php _e( 'Search Comments' ); ?>" class="button" />
