- Timestamp:
- 08/28/2011 09:36:41 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-themes/bbp-twentyten/bbpress/loop-topics.php
r3417 r3464 31 31 <?php while ( bbp_topics() ) : bbp_the_topic(); ?> 32 32 33 <tr id="topic-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>> 34 35 <td class="bbp-topic-title"> 36 37 <?php do_action( 'bbp_theme_before_topic_title' ); ?> 38 39 <a href="<?php bbp_topic_permalink(); ?>" title="<?php bbp_topic_title(); ?>"><?php bbp_topic_title(); ?></a> 40 41 <?php do_action( 'bbp_theme_after_topic_title' ); ?> 42 43 <?php bbp_topic_pagination(); ?> 44 45 <?php do_action( 'bbp_theme_before_topic_meta' ); ?> 46 47 <p class="bbp-topic-meta"> 48 49 <?php do_action( 'bbp_theme_before_topic_started_by' ); ?> 50 51 <span class="bbp-topic-started-by"><?php printf( __( 'Started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) ) ); ?></span> 52 53 <?php do_action( 'bbp_theme_after_topic_started_by' ); ?> 54 55 <?php if ( !bbp_is_single_forum() || ( bbp_get_topic_forum_id() != bbp_get_forum_id() ) ) : ?> 56 57 <?php do_action( 'bbp_theme_before_topic_started_in' ); ?> 58 59 <span class="bbp-topic-started-in"><?php printf( __( 'in: <a href="%1$s">%2$s</a>', 'bbpress' ), bbp_get_forum_permalink( bbp_get_topic_forum_id() ), bbp_get_forum_title( bbp_get_topic_forum_id() ) ); ?></span> 60 61 <?php do_action( 'bbp_theme_after_topic_started_in' ); ?> 62 63 <?php endif; ?> 64 65 </p> 66 67 <?php do_action( 'bbp_theme_after_topic_meta' ); ?> 68 69 </td> 70 71 <td class="bbp-topic-voice-count"><?php bbp_topic_voice_count(); ?></td> 72 73 <td class="bbp-topic-reply-count"><?php bbp_show_lead_topic() ? bbp_topic_reply_count() : bbp_topic_post_count(); ?></td> 74 75 <td class="bbp-topic-freshness"> 76 77 <?php do_action( 'bbp_theme_before_topic_freshness_link' ); ?> 78 79 <?php bbp_topic_freshness_link(); ?> 80 81 <?php do_action( 'bbp_theme_after_topic_freshness_link' ); ?> 82 83 <p class="bbp-topic-meta"> 84 85 <?php do_action( 'bbp_theme_before_topic_freshness_author' ); ?> 86 87 <span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_topic_last_active_id(), 'size' => 14 ) ); ?></span> 88 89 <?php do_action( 'bbp_theme_after_topic_freshness_author' ); ?> 90 91 </p> 92 </td> 93 94 <?php if ( bbp_is_user_home() ) : ?> 95 96 <?php if ( bbp_is_favorites() ) : ?> 97 98 <td class="bbp-topic-action"> 99 100 <?php do_action( 'bbp_theme_before_topic_favorites_action' ); ?> 101 102 <?php bbp_user_favorites_link( array( 'mid' => '+', 'post' => '' ), array( 'pre' => '', 'mid' => '×', 'post' => '' ) ); ?> 103 104 <?php do_action( 'bbp_theme_after_topic_favorites_action' ); ?> 105 106 </td> 107 108 <?php elseif ( bbp_is_subscriptions() ) : ?> 109 110 <td class="bbp-topic-action"> 111 112 <?php do_action( 'bbp_theme_before_topic_subscription_action' ); ?> 113 114 <?php bbp_user_subscribe_link( array( 'before' => '', 'subscribe' => '+', 'unsubscribe' => '×' ) ); ?> 115 116 <?php do_action( 'bbp_theme_after_topic_subscription_action' ); ?> 117 118 </td> 119 120 <?php endif; ?> 121 122 <?php endif; ?> 123 124 </tr><!-- #topic-<?php bbp_topic_id(); ?> --> 33 <?php bbp_get_template_part( 'bbpress/loop', 'single-topic' ); ?> 125 34 126 35 <?php endwhile; ?> … … 131 40 132 41 <?php do_action( 'bbp_template_after_topics_loop' ); ?> 133
Note: See TracChangeset
for help on using the changeset viewer.