- Timestamp:
- 12/28/2011 07:37:22 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-themes/bbp-twentyten/bbpress/content-single-topic-lead.php
r3492 r3651 10 10 ?> 11 11 12 <table class="bbp-topic" id="bbp-topic-<?php bbp_topic_id(); ?>"> 13 <thead> 14 <tr> 15 <th class="bbp-topic-author"><?php _e( 'Creator', 'bbpress' ); ?></th> 16 <th class="bbp-topic-content"> 12 <?php do_action( 'bbp_template_before_replies_loop' ); ?> 17 13 18 <?php _e( 'Topic', 'bbpress' ); ?>14 <ul id="bbp-topic-<?php bbp_topic_id(); ?>-lead" class="bbp-lead-topic"> 19 15 20 <?php bbp_user_subscribe_link(); ?>16 <li class="bbp-header"> 21 17 22 <?php bbp_user_favorites_link(); ?>18 <div class="bbp-topic-author"><?php _e( 'Creator', 'bbpress' ); ?></div><!-- .bbp-topic-author --> 23 19 24 </th> 25 </tr> 26 </thead> 20 <div class="bbp-topic-content"> 27 21 28 <tfoot> 29 <tr> 30 <td colspan="2"> 22 <?php _e( 'Topic', 'bbpress' ); ?> 31 23 32 <?php bbp_topic_admin_links(); ?>24 <?php bbp_user_subscribe_link(); ?> 33 25 34 </td> 35 </tr> 36 </tfoot> 26 <?php bbp_user_favorites_link(); ?> 37 27 38 < tbody>28 </div><!-- .bbp-topic-content --> 39 29 40 <tr class="bbp-topic-header"> 41 <td colspan="2"> 30 </li><!-- .bbp-header --> 42 31 43 <?php printf( __( '%1$s at %2$s', 'bbpress' ), get_the_date(), esc_attr( get_the_time() ) ); ?>32 <li class="bbp-body"> 44 33 45 <a href="#bbp-topic-<?php bbp_topic_id(); ?>" title="<?php bbp_topic_title(); ?>" class="bbp-topic-permalink">#<?php bbp_topic_id(); ?></a>34 <div class="bbp-topic-header"> 46 35 47 </td> 48 </tr> 36 <div class="bbp-meta"> 49 37 50 <tr id="post-<?php bbp_topic_id(); ?>" <?php post_class( 'bbp-forum-topic' ); ?>>38 <?php printf( __( '%1$s at %2$s', 'bbpress' ), get_the_date(), esc_attr( get_the_time() ) ); ?> 51 39 52 < td class="bbp-topic-author">40 <a href="<?php bbp_topic_permalink(); ?>" title="<?php bbp_topic_title(); ?>" class="bbp-topic-permalink">#<?php bbp_topic_id(); ?></a> 53 41 54 <?php bbp_topic_author_link( array( 'sep' => '<br />' )); ?>42 <?php do_action( 'bbp_theme_before_topic_admin_links' ); ?> 55 43 56 <?php if ( is_super_admin() ) :?>44 <?php bbp_topic_admin_links(); ?> 57 45 58 <div class="bbp-topic-ip"><?php bbp_author_ip( bbp_get_topic_id() ); ?></div>46 <?php do_action( 'bbp_theme_after_topic_admin_links' ); ?> 59 47 60 <?php endif; ?>48 </div><!-- .bbp-meta --> 61 49 62 </td>50 </div><!-- .bbp-topic-header --> 63 51 64 <td class="bbp-topic-content">52 <div id="post-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>> 65 53 66 <?php bbp_topic_content(); ?>54 <div class="bbp-topic-author"> 67 55 68 < /td>56 <?php do_action( 'bbp_theme_before_topic_author_details' ); ?> 69 57 70 </tr><!-- #post-<?php bbp_topic_id(); ?> -->58 <?php bbp_topic_author_link( array( 'sep' => '<br />' ) ); ?> 71 59 72 </tbody> 73 </table><!-- #bbp-topic-<?php bbp_topic_id(); ?> --> 60 <?php if ( is_super_admin() ) : ?> 61 62 <?php do_action( 'bbp_theme_before_topic_author_admin_details' ); ?> 63 64 <div class="bbp-topic-ip"><?php bbp_author_ip( bbp_get_topic_id() ); ?></div> 65 66 <?php do_action( 'bbp_theme_after_topic_author_admin_details' ); ?> 67 68 <?php endif; ?> 69 70 <?php do_action( 'bbp_theme_after_topic_author_details' ); ?> 71 72 </div><!-- .bbp-topic-author --> 73 74 <div class="bbp-topic-content"> 75 76 <?php do_action( 'bbp_theme_after_topic_content' ); ?> 77 78 <?php bbp_topic_content(); ?> 79 80 <?php do_action( 'bbp_theme_before_topic_content' ); ?> 81 82 </div><!-- .bbp-topic-content --> 83 84 </div><!-- #post-<?php bbp_topic_id(); ?> --> 85 86 </li><!-- .bbp-body --> 87 88 <li class="bbp-footer"> 89 90 <div class="bbp-topic-author"><?php _e( 'Creator', 'bbpress' ); ?></div> 91 92 <div class="bbp-topic-content"> 93 94 <?php if ( !bbp_show_lead_topic() ) : ?> 95 96 <?php _e( 'Posts', 'bbpress' ); ?> 97 98 <?php else : ?> 99 100 <?php _e( 'Replies', 'bbpress' ); ?> 101 102 <?php endif; ?> 103 104 </div><!-- .bbp-topic-content --> 105 106 </li> 107 108 </ul><!-- #topic-<?php bbp_topic_id(); ?>-replies --> 109 110 <?php do_action( 'bbp_template_after_topic_loop' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.