Skip to:
Content

bbPress.org


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

    r3464 r3634  
    1010?>
    1111
    12     <tr id="topic-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>>
     12    <ul id="topic-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>>
    1313
    14         <td class="bbp-topic-title">
     14        <li class="bbp-topic-title">
    1515
    1616            <?php do_action( 'bbp_theme_before_topic_title' ); ?>
     
    4646            <?php do_action( 'bbp_theme_after_topic_meta' ); ?>
    4747
    48         </td>
     48        </li>
    4949
    50         <td class="bbp-topic-voice-count"><?php bbp_topic_voice_count(); ?></td>
     50        <li class="bbp-topic-voice-count"><?php bbp_topic_voice_count(); ?></li>
    5151
    52         <td class="bbp-topic-reply-count"><?php bbp_show_lead_topic() ? bbp_topic_reply_count() : bbp_topic_post_count(); ?></td>
     52        <li class="bbp-topic-reply-count"><?php bbp_show_lead_topic() ? bbp_topic_reply_count() : bbp_topic_post_count(); ?></li>
    5353
    54         <td class="bbp-topic-freshness">
     54        <li class="bbp-topic-freshness">
    5555
    5656            <?php do_action( 'bbp_theme_before_topic_freshness_link' ); ?>
     
    6969
    7070            </p>
    71         </td>
     71        </li>
    7272
    7373        <?php if ( bbp_is_user_home() ) : ?>
     
    7575            <?php if ( bbp_is_favorites() ) : ?>
    7676
    77                 <td class="bbp-topic-action">
     77                <li class="bbp-topic-action">
    7878
    7979                    <?php do_action( 'bbp_theme_before_topic_favorites_action' ); ?>
     
    8383                    <?php do_action( 'bbp_theme_after_topic_favorites_action' ); ?>
    8484
    85                 </td>
     85                </li>
    8686
    8787            <?php elseif ( bbp_is_subscriptions() ) : ?>
    8888
    89                 <td class="bbp-topic-action">
     89                <li class="bbp-topic-action">
    9090
    9191                    <?php do_action( 'bbp_theme_before_topic_subscription_action' ); ?>
     
    9595                    <?php do_action( 'bbp_theme_after_topic_subscription_action' ); ?>
    9696
    97                 </td>
     97                </li>
    9898
    9999            <?php endif; ?>
     
    101101        <?php endif; ?>
    102102
    103     </tr><!-- #topic-<?php bbp_topic_id(); ?> -->
     103    </ul><!-- #topic-<?php bbp_topic_id(); ?> -->
Note: See TracChangeset for help on using the changeset viewer.