Skip to:
Content

bbPress.org


Ignore:
Timestamp:
03/21/2012 10:26:34 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Revert bbp-twentyten back to table based layout:

  • bbp-theme-compat retains tableless layout, and is canonical backup for missing template files
  • Avoid back-compat issues with installs that have modified bbPress 2.0 CSS
  • Fixes #1796
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-themes/bbp-twentyten/bbpress/user-favorites.php

    r3634 r3820  
    1010?>
    1111
     12    <?php do_action( 'bbp_template_before_user_favorites' ); ?>
     13
    1214    <?php bbp_set_query_name( 'bbp_user_profile_favorites' ); ?>
    1315
    1416    <div id="bbp-author-favorites" class="bbp-author-favorites">
    1517        <h2 class="entry-title"><?php _e( 'Favorite Forum Topics', 'bbpress' ); ?></h2>
    16         <div class="bbp-user-section">
     18        <div class="entry-content">
    1719
    18             <?php if ( bbp_get_user_favorites() ) : ?>
     20            <?php if ( bbp_get_user_favorites() ) :
    1921
    20                 <?php bbp_get_template_part( 'bbpress/pagination', 'topics' ); ?>
     22                bbp_get_template_part( 'bbpress/pagination', 'topics' );
     23                bbp_get_template_part( 'bbpress/loop',       'topics' );
     24                bbp_get_template_part( 'bbpress/pagination', 'topics' );
    2125
    22                 <?php bbp_get_template_part( 'bbpress/loop',       'topics' ); ?>
    23 
    24                 <?php bbp_get_template_part( 'bbpress/pagination', 'topics' ); ?>
    25 
    26             <?php else : ?>
     26            else : ?>
    2727
    2828                <p><?php bbp_is_user_home() ? _e( 'You currently have no favorite topics.', 'bbpress' ) : _e( 'This user has no favorite topics.', 'bbpress' ); ?></p>
     
    3434
    3535    <?php bbp_reset_query_name(); ?>
     36
     37    <?php do_action( 'bbp_template_after_user_favorites' ); ?>
Note: See TracChangeset for help on using the changeset viewer.