Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/27/2011 09:57:44 AM (15 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-replies.php

    r3464 r3634  
    1010?>
    1111
    12         <?php do_action( 'bbp_template_before_replies_loop' ); ?>
     12        <div id="bbpress-forums">
    1313
    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">
     14                <?php do_action( 'bbp_template_before_replies_loop' ); ?>
     15
     16                <ul id="topic-<?php bbp_topic_id(); ?>-replies" class="forums bbp-replies">
     17
     18                        <li class="bbp-header">
     19
     20                                <div class="bbp-reply-author"><?php  _e( 'Author',  'bbpress' ); ?></div><!-- .bbp-reply-author -->
     21
     22                                <div class="bbp-reply-content">
    1923
    2024                                        <?php if ( !bbp_show_lead_topic() ) : ?>
     
    3236                                        <?php endif; ?>
    3337
    34                                 </th>
    35                         </tr>
    36                 </thead>
     38                                </div><!-- .bbp-reply-content -->
    3739
    38                 <tfoot>
    39                         <tr>
    40                                 <th class="bbp-reply-author"><?php  _e( 'Author',  'bbpress' ); ?></th>
    41                                 <th class="bbp-reply-content">
     40                        </li><!-- .bbp-header -->
     41
     42                        <li class="bbp-body">
     43
     44                                <?php while ( bbp_replies() ) : bbp_the_reply(); ?>
     45
     46                                        <?php bbp_get_template_part( 'bbpress/loop', 'single-reply' ); ?>
     47
     48                                <?php endwhile; ?>
     49
     50                        </li><!-- .bbp-body -->
     51
     52                        <li class="bbp-footer">
     53
     54                                <div class="bbp-reply-author"><?php  _e( 'Author',  'bbpress' ); ?></div>
     55
     56                                <div class="bbp-reply-content">
    4257
    4358                                        <?php if ( !bbp_show_lead_topic() ) : ?>
     
    5166                                        <?php endif; ?>
    5267
    53                                 </th>
    54                         </tr>
    55                 </tfoot>
     68                                </div><!-- .bbp-reply-content -->
    5669
    57                 <tbody>
     70                        </li>
    5871
    59                         <?php while ( bbp_replies() ) : bbp_the_reply(); ?>
     72                </ul><!-- #topic-<?php bbp_topic_id(); ?>-replies -->
    6073
    61                                 <?php bbp_get_template_part( 'bbpress/loop', 'single-reply' ); ?>
     74                <?php do_action( 'bbp_template_after_replies_loop' ); ?>
    6275
    63                         <?php endwhile; ?>
     76        </div><!-- #bbpress-forums -->
    6477
    65                 </tbody>
    66 
    67         </table>
    68 
    69         <?php do_action( 'bbp_template_after_replies_loop' ); ?>
Note: See TracChangeset for help on using the changeset viewer.