- Timestamp:
- 12/06/2010 03:18:19 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-themes/bbp-twentyten/loop-bbp_topics.php
r2679 r2688 7 7 */ 8 8 9 if ( bbp_is_ favorites() || bbp_has_topics() ) : ?>9 if ( bbp_is_subscriptions() || bbp_is_favorites() || bbp_has_topics() ) : ?> 10 10 11 11 <?php get_template_part( 'pagination', 'bbp_topics' ); ?> … … 18 18 <th class="bbp-topic-voice-count"><?php _e( 'Voices', 'bbpress' ); ?></th> 19 19 <th class="bbp-topic-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></th> 20 <?php if ( bbp_is_favorites() ) : ?><th class="bbp-topic-action"><?php _e( 'Favorite', 'bbpress' ); ?></th><?php endif; ?>20 <?php if ( ( bbp_is_user_home() && ( bbp_is_favorites() || bbp_is_subscriptions() ) ) ) : ?><th class="bbp-topic-action"><?php _e( 'Remove', 'bbpress' ); ?></th><?php endif; ?> 21 21 </tr> 22 22 </thead> 23 23 24 24 <tfoot> 25 <tr><td colspan="<?php echo bbp_is_favorites() ? '5' : '4'; ?>"> </td></tr>25 <tr><td colspan="<?php echo ( bbp_is_user_home() && ( bbp_is_favorites() || bbp_is_subscriptions() ) ) ? '5' : '4'; ?>"> </td></tr> 26 26 </tfoot> 27 27 … … 51 51 <td class="bbp-topic-freshness"><?php bbp_topic_freshness_link(); ?></td> 52 52 53 <?php if ( bbp_is_ favorites() ) : ?>53 <?php if ( bbp_is_user_home() ) : ?> 54 54 55 < td class="bbp-topic-action">55 <?php if ( bbp_is_favorites() ) : ?> 56 56 57 < ?php bbp_user_favorites_link( array( 'mid' => '+', 'post' => '' ), array( 'pre' => '', 'mid' => '×', 'post' => '' ) ); ?>57 <td class="bbp-topic-action"> 58 58 59 </td> 59 <?php bbp_user_favorites_link( array( 'mid' => '+', 'post' => '' ), array( 'pre' => '', 'mid' => '×', 'post' => '' ) ); ?> 60 61 </td> 62 63 <?php elseif ( bbp_is_subscriptions() ) : ?> 64 65 <td class="bbp-topic-action"> 66 67 <?php bbp_user_subscribe_link( array( 'before' => '', 'subscribe' => '+', 'unsubscribe' => '×' ) ); ?> 68 69 </td> 70 71 <?php endif; ?> 60 72 61 73 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.