Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/28/2011 07:37:22 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Audit the bbp-twentyten theme's actions, HTML, and CSS. See #1702.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-themes/bbp-twentyten/page-topics-no-replies.php

    r3302 r3651  
    2525                            <?php the_content(); ?>
    2626
    27                             <?php bbp_breadcrumb(); ?>
     27                            <div id="bbpress-forums">
    2828
    29                             <?php bbp_set_query_name( 'bbp_no_replies' ); ?>
     29                                <?php bbp_breadcrumb(); ?>
    3030
    31                             <?php if ( bbp_has_topics( array( 'meta_key' => '_bbp_reply_count', 'meta_value' => '1', 'meta_compare' => '<', 'orderby' => 'date', 'show_stickies' => false ) ) ) : ?>
     31                                <?php bbp_set_query_name( 'bbp_no_replies' ); ?>
    3232
    33                                 <?php bbp_get_template_part( 'bbpress/pagination', 'topics'    ); ?>
     33                                <?php if ( bbp_has_topics( array( 'meta_key' => '_bbp_reply_count', 'meta_value' => '1', 'meta_compare' => '<', 'orderby' => 'date', 'show_stickies' => false ) ) ) : ?>
    3434
    35                                 <?php bbp_get_template_part( 'bbpress/loop',      'topics'    ); ?>
     35                                    <?php bbp_get_template_part( 'bbpress/pagination', 'topics'    ); ?>
    3636
    37                                 <?php bbp_get_template_part( 'bbpress/pagination', 'topics'    ); ?>
     37                                    <?php bbp_get_template_part( 'bbpress/loop',      'topics'    ); ?>
    3838
    39                             <?php else : ?>
     39                                    <?php bbp_get_template_part( 'bbpress/pagination', 'topics'    ); ?>
    4040
    41                                 <?php bbp_get_template_part( 'bbpress/feedback',   'no-topics' ); ?>
     41                                <?php else : ?>
    4242
    43                             <?php endif; ?>
     43                                    <?php bbp_get_template_part( 'bbpress/feedback',   'no-topics' ); ?>
    4444
    45                             <?php bbp_reset_query_name(); ?>
     45                                <?php endif; ?>
    4646
     47                                <?php bbp_reset_query_name(); ?>
     48
     49                            </div>
    4750                        </div>
    4851                    </div><!-- #topics-front -->
Note: See TracChangeset for help on using the changeset viewer.