- Timestamp:
- 11/27/2011 09:57:44 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-themes/bbp-twentyten/bbpress/loop-topics.php
r3464 r3634 10 10 ?> 11 11 12 < ?php do_action( 'bbp_template_before_topics_loop' ); ?>12 <div id="bbpress-forums"> 13 13 14 <table class="bbp-topics" id="bbp-forum-<?php bbp_topic_id(); ?>"> 15 <thead> 16 <tr> 17 <th class="bbp-topic-title"><?php _e( 'Topic', 'bbpress' ); ?></th> 18 <th class="bbp-topic-voice-count"><?php _e( 'Voices', 'bbpress' ); ?></th> 19 <th class="bbp-topic-reply-count"><?php bbp_show_lead_topic() ? _e( 'Replies', 'bbpress' ) : _e( 'Posts', 'bbpress' ); ?></th> 20 <th class="bbp-topic-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></th> 21 <?php if ( ( bbp_is_user_home() && ( bbp_is_favorites() || bbp_is_subscriptions() ) ) ) : ?><th class="bbp-topic-action"><?php _e( 'Remove', 'bbpress' ); ?></th><?php endif; ?> 22 </tr> 23 </thead> 14 <?php do_action( 'bbp_template_before_topics_loop' ); ?> 24 15 25 <tfoot> 26 <tr><td colspan="<?php echo ( bbp_is_user_home() && ( bbp_is_favorites() || bbp_is_subscriptions() ) ) ? '5' : '4'; ?>"> </td></tr> 27 </tfoot> 16 <ul id="bbp-forum-<?php bbp_forum_id(); ?>" class="forums bbp-topics"> 28 17 29 <tbody>18 <li class="bbp-header"> 30 19 31 <?php while ( bbp_topics() ) : bbp_the_topic(); ?>20 <ul class="forum-titles"> 32 21 33 <?php bbp_get_template_part( 'bbpress/loop', 'single-topic' ); ?> 22 <li class="bbp-topic-title"><?php _e( 'Topic', 'bbpress' ); ?></li> 23 <li class="bbp-topic-voice-count"><?php _e( 'Voices', 'bbpress' ); ?></li> 24 <li class="bbp-topic-reply-count"><?php bbp_show_lead_topic() ? _e( 'Replies', 'bbpress' ) : _e( 'Posts', 'bbpress' ); ?></li> 25 <li class="bbp-topic-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></li> 26 <?php if ( ( bbp_is_user_home() && ( bbp_is_favorites() || bbp_is_subscriptions() ) ) ) : ?><li class="bbp-topic-action"><?php _e( 'Remove', 'bbpress' ); ?></li><?php endif; ?> 34 27 35 <?php endwhile; ?>28 </ul> 36 29 37 </tbody>30 </li> 38 31 39 </table><!-- #bbp-forum-<?php bbp_topic_id(); ?> -->32 <li class="bbp-body"> 40 33 41 <?php do_action( 'bbp_template_after_topics_loop' ); ?> 34 <?php while ( bbp_topics() ) : bbp_the_topic(); ?> 35 36 <?php bbp_get_template_part( 'bbpress/loop', 'single-topic' ); ?> 37 38 <?php endwhile; ?> 39 40 </li> 41 42 <li class="bbp-footer"> 43 44 <div class="tr"> 45 <p> 46 <span class="td colspan<?php echo ( bbp_is_user_home() && ( bbp_is_favorites() || bbp_is_subscriptions() ) ) ? '5' : '4'; ?>"> </span> 47 </p> 48 </div><!-- .tr --> 49 50 </li> 51 52 </ul><!-- #bbp-forum-<?php bbp_forum_id(); ?> --> 53 54 <?php do_action( 'bbp_template_after_topics_loop' ); ?> 55 56 </div><!-- #bbpress-forums -->
Note: See TracChangeset
for help on using the changeset viewer.