Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/27/2011 09:57:44 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Theme Compatibility Updates:

  • Tableless layout, fixes #1586, props mercime
  • Introduce content-single-reply and content-topic-tag-edit templates
  • Update shortcodes to use content templates
  • Update theme compatibility to include single reply shortcode
  • @todo CSS audit, RTL audit, shortcode audit
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-themes/bbp-twentyten/bbpress/loop-forums.php

    r3464 r3634  
    1010?>
    1111
    12     <?php do_action( 'bbp_template_before_forums_loop' ); ?>
     12    <div id="bbpress-forums">
    1313
    14     <table class="bbp-forums">
     14        <?php do_action( 'bbp_template_before_forums_loop' ); ?>
    1515
    16         <thead>
    17             <tr>
    18                 <th class="bbp-forum-info"><?php _e( 'Forum', 'bbpress' ); ?></th>
    19                 <th class="bbp-forum-topic-count"><?php _e( 'Topics', 'bbpress' ); ?></th>
    20                 <th class="bbp-forum-reply-count"><?php bbp_show_lead_topic() ? _e( 'Replies', 'bbpress' ) : _e( 'Posts', 'bbpress' ); ?></th>
    21                 <th class="bbp-forum-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></th>
    22             </tr>
    23         </thead>
     16        <ul id="forums-list" class="forums bbp-forums">
    2417
    25         <tfoot>
    26             <tr><td colspan="4">&nbsp;</td></tr>
    27         </tfoot>
     18            <li class="bbp-header">
    2819
    29         <tbody>
     20                <ul class="forum-titles">
     21                    <li class="bbp-forum-info"><?php _e( 'Forum', 'bbpress' ); ?></li>
     22                    <li class="bbp-forum-topic-count"><?php _e( 'Topics', 'bbpress' ); ?></li>
     23                    <li class="bbp-forum-reply-count"><?php bbp_show_lead_topic() ? _e( 'Replies', 'bbpress' ) : _e( 'Posts', 'bbpress' ); ?></li>
     24                    <li class="bbp-forum-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></li>
     25                </ul>
    3026
    31             <?php while ( bbp_forums() ) : bbp_the_forum(); ?>
     27            </li><!-- .bbp-header -->
    3228
    33                 <?php bbp_get_template_part( 'bbpress/loop', 'single-forum' ); ?>
     29            <li class="bbp-body">
    3430
    35             <?php endwhile; ?>
     31                <?php while ( bbp_forums() ) : bbp_the_forum(); ?>
    3632
    37         </tbody>
     33                    <?php bbp_get_template_part( 'bbpress/loop', 'single-forum' ); ?>
    3834
    39     </table>
     35                <?php endwhile; ?>
    4036
    41     <?php do_action( 'bbp_template_after_forums_loop' ); ?>
     37            </li><!-- .bbp-body -->
     38
     39            <li class="bbp-footer">
     40
     41                <div class="tr">
     42                    <p class="td colspan4">&nbsp;</p>
     43                </div><!-- .tr -->
     44
     45            </li><!-- .bbp-footer -->
     46
     47        </ul><!-- .forums-directory -->
     48
     49        <?php do_action( 'bbp_template_after_forums_loop' ); ?>
     50
     51    </div><!-- #bbpress-forums -->
Note: See TracChangeset for help on using the changeset viewer.