+
+<select name="comment_type">
+ <option value="all"><?php _e('Show all comment types'); ?></option>
+<?php
+ $comment_types = apply_filters( 'admin_comment_types_dropdown', array(
+ 'comment' => __('Comments'),
+ 'pings' => __('Pings'),
+ ) );
+
+ foreach ( $comment_types as $type => $label ) {
+ echo " <option value='" . esc_attr($type) . "'";
+ selected( $comment_type, $type );
+ echo ">$label</option>\n";
+ }
+?>
+</select>
+<input type="submit" id="post-query-submit" value="<?php esc_attr_e('Filter'); ?>" class="button-secondary" />
+
+<?php if ( isset($_GET['apage']) ) { ?>
+ <input type="hidden" name="apage" value="<?php echo esc_attr( absint( $_GET['apage'] ) ); ?>" />
+<?php }
+
+if ( 'spam' == $comment_status ) {
+ wp_nonce_field('bulk-spam-delete', '_spam_nonce');
+ if ( current_user_can ('moderate_comments')) { ?>
+ <input type="submit" name="delete_all_spam" value="<?php esc_attr_e('Delete All Spam'); ?>" class="button-secondary apply" />
+<?php }
+} ?>
+<?php do_action('manage_comments_nav', $comment_status); ?>