- Timestamp:
- 03/21/2012 10:26:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-themes/bbp-twentyten/bbpress/loop-replies.php
r3651 r3820 10 10 ?> 11 11 12 <?php do_action( 'bbp_template_before_replies_loop' ); ?>12 <?php do_action( 'bbp_template_before_replies_loop' ); ?> 13 13 14 <ul id="topic-<?php bbp_topic_id(); ?>-replies" class="forums bbp-replies"> 14 <table class="bbp-replies" id="topic-<?php bbp_topic_id(); ?>-replies"> 15 <thead> 16 <tr> 17 <th class="bbp-reply-author"><?php _e( 'Author', 'bbpress' ); ?></th> 18 <th class="bbp-reply-content"> 15 19 16 <li class="bbp-header">20 <?php if ( !bbp_show_lead_topic() ) : ?> 17 21 18 <div class="bbp-reply-author"><?php _e( 'Author', 'bbpress' ); ?></div><!-- .bbp-reply-author -->22 <?php _e( 'Posts', 'bbpress' ); ?> 19 23 20 <div class="bbp-reply-content">24 <?php bbp_user_subscribe_link(); ?> 21 25 22 <?php if ( !bbp_show_lead_topic() ) :?>26 <?php bbp_user_favorites_link(); ?> 23 27 24 <?php _e( 'Posts', 'bbpress' );?>28 <?php else : ?> 25 29 26 <?php bbp_user_subscribe_link(); ?>30 <?php _e( 'Replies', 'bbpress' ); ?> 27 31 28 <?php bbp_user_favorites_link(); ?>32 <?php endif; ?> 29 33 30 <?php else : ?> 34 </th> 35 </tr> 36 </thead> 31 37 32 <?php _e( 'Replies', 'bbpress' ); ?> 38 <tfoot> 39 <tr> 40 <th class="bbp-reply-author"><?php _e( 'Author', 'bbpress' ); ?></th> 41 <th class="bbp-reply-content"> 33 42 34 <?php endif;?>43 <?php if ( !bbp_show_lead_topic() ) : ?> 35 44 36 </div><!-- .bbp-reply-content -->45 <?php _e( 'Posts', 'bbpress' ); ?> 37 46 38 </li><!-- .bbp-header -->47 <?php else : ?> 39 48 40 <li class="bbp-body">49 <?php _e( 'Replies', 'bbpress' ); ?> 41 50 42 <?php while ( bbp_replies() ) : bbp_the_reply(); ?>51 <?php endif; ?> 43 52 44 <?php bbp_get_template_part( 'bbpress/loop', 'single-reply' ); ?> 53 </th> 54 </tr> 55 </tfoot> 45 56 46 < ?php endwhile; ?>57 <tbody> 47 58 48 </li><!-- .bbp-body -->59 <?php while ( bbp_replies() ) : bbp_the_reply(); ?> 49 60 50 <li class="bbp-footer">61 <?php bbp_get_template_part( 'bbpress/loop', 'single-reply' ); ?> 51 62 52 <div class="bbp-reply-author"><?php _e( 'Author', 'bbpress' ); ?></div>63 <?php endwhile; ?> 53 64 54 < div class="bbp-reply-content">65 </tbody> 55 66 56 <?php if ( !bbp_show_lead_topic() ) : ?>67 </table> 57 68 58 <?php _e( 'Posts', 'bbpress' ); ?> 59 60 <?php else : ?> 61 62 <?php _e( 'Replies', 'bbpress' ); ?> 63 64 <?php endif; ?> 65 66 </div><!-- .bbp-reply-content --> 67 68 </li> 69 70 </ul><!-- #topic-<?php bbp_topic_id(); ?>-replies --> 71 72 <?php do_action( 'bbp_template_after_replies_loop' ); ?> 69 <?php do_action( 'bbp_template_after_replies_loop' ); ?>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)