Changeset 5689 for trunk/src/templates/default/bbpress/user-favorites.php
- Timestamp:
- 04/19/2015 04:45:02 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/templates/default/bbpress/user-favorites.php
r5688 r5689 8 8 */ 9 9 10 ?>10 do_action( 'bbp_template_before_user_favorites' ); ?> 11 11 12 <?php do_action( 'bbp_template_before_user_favorites' ); ?> 12 <div id="bbp-user-favorites" class="bbp-user-favorites"> 13 <h2 class="entry-title"><?php esc_html_e( 'Favorite Forum Topics', 'bbpress' ); ?></h2> 14 <div class="bbp-user-section"> 13 15 14 <div id="bbp-user-favorites" class="bbp-user-favorites"> 15 <h2 class="entry-title"><?php esc_html_e( 'Favorite Forum Topics', 'bbpress' ); ?></h2> 16 <div class="bbp-user-section"> 16 <?php if ( bbp_get_user_favorites() ) : ?> 17 17 18 <?php if ( bbp_get_user_favorites() ) :?>18 <?php bbp_get_template_part( 'pagination', 'topics' ); ?> 19 19 20 <?php bbp_get_template_part( 'pagination','topics' ); ?>20 <?php bbp_get_template_part( 'loop', 'topics' ); ?> 21 21 22 <?php bbp_get_template_part( 'loop','topics' ); ?>22 <?php bbp_get_template_part( 'pagination', 'topics' ); ?> 23 23 24 <?php bbp_get_template_part( 'pagination', 'topics' );?>24 <?php else : ?> 25 25 26 <?php else : ?> 26 <p><?php bbp_is_user_home() 27 ? esc_html_e( 'You currently have no favorite topics.', 'bbpress' ) 28 : esc_html_e( 'This user has no favorite topics.', 'bbpress' ); 29 ?></p> 27 30 28 <p><?php bbp_is_user_home() 29 ? esc_html_e( 'You currently have no favorite topics.', 'bbpress' ) 30 : esc_html_e( 'This user has no favorite topics.', 'bbpress' ); 31 ?></p> 31 <?php endif; ?> 32 32 33 <?php endif; ?> 33 </div> 34 </div><!-- #bbp-user-favorites --> 34 35 35 </div> 36 </div><!-- #bbp-user-favorites --> 37 38 <?php do_action( 'bbp_template_after_user_favorites' ); ?> 36 <?php do_action( 'bbp_template_after_user_favorites' );
Note: See TracChangeset
for help on using the changeset viewer.