1, 'count' => true ) ); $bb_posts =& $post_query->results; $total = $post_query->found_rows; ?>

get( 'post_text' ); $h2_forum = $post_query->get( 'forum_id' ); $h2_tag = $post_query->get( 'tag_id' ); $h2_author = $post_query->get( 'post_author_id' ); $h2_status = $post_query->get( 'post_status' ); $h2_search = $h2_search ? ' ' . sprintf( __('matching “%s”'), wp_specialchars( $h2_search ) ) : ''; $h2_forum = $h2_forum ? ' ' . sprintf( __('in “%s”') , get_forum_name( $h2_forum ) ) : ''; $h2_tag = $h2_tag ? ' ' . sprintf( __('with tag “%s”'), wp_specialchars( bb_get_tag_name( $h2_tag ) ) ) : ''; $h2_author = $h2_author ? ' ' . sprintf( __('by %s') , wp_specialchars( get_user_name( $h2_author ) ) ) : ''; $stati = array( 0 => __('Normal') . ' ', 1 => __('Deleted') . ' ', 'all' => '' ); if ( 'all' == $h2_status ) $h2_noun = __('Posts'); else $h2_noun = sprintf( __( '%1$sposts'), $stati[$h2_status] ); printf( __( '%1$s%2$s%3$s%4$s%5$s' ), $h2_noun, $h2_search, $h2_forum, $h2_tag, $h2_author ); ?>

form( array('tag' => true, 'post_author' => true, 'post_status' => true, 'submit' => __('Filter »')) ); ?>