- Timestamp:
- 03/21/2012 10:26:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-themes/bbp-twentyten/bbpress/content-single-topic-lead.php
r3690 r3820 10 10 ?> 11 11 12 <?php do_action( 'bbp_template_before_lead_topic' ); ?>12 <?php do_action( 'bbp_template_before_lead_topic' ); ?> 13 13 14 <ul id="bbp-topic-<?php bbp_topic_id(); ?>-lead" class="bbp-lead-topic"> 14 <table class="bbp-topic" id="bbp-topic-<?php bbp_topic_id(); ?>"> 15 <thead> 16 <tr> 17 <th class="bbp-topic-author"><?php _e( 'Creator', 'bbpress' ); ?></th> 18 <th class="bbp-topic-content"> 15 19 16 <li class="bbp-header">20 <?php _e( 'Topic', 'bbpress' ); ?> 17 21 18 <div class="bbp-topic-author"><?php _e( 'Creator', 'bbpress' ); ?></div><!-- .bbp-topic-author -->22 <?php bbp_user_subscribe_link(); ?> 19 23 20 <div class="bbp-topic-content">24 <?php bbp_user_favorites_link(); ?> 21 25 22 <?php _e( 'Topic', 'bbpress' ); ?> 26 </th> 27 </tr> 28 </thead> 23 29 24 <?php bbp_user_subscribe_link(); ?> 30 <tfoot> 31 <tr> 32 <td colspan="2"> 25 33 26 <?php bbp_user_favorites_link(); ?>34 <?php bbp_topic_admin_links(); ?> 27 35 28 </div><!-- .bbp-topic-content --> 36 </td> 37 </tr> 38 </tfoot> 29 39 30 </li><!-- .bbp-header -->40 <tbody> 31 41 32 <li class="bbp-body"> 42 <tr class="bbp-topic-header"> 43 <td colspan="2"> 33 44 34 <div class="bbp-topic-header">45 <?php printf( __( '%1$s at %2$s', 'bbpress' ), get_the_date(), esc_attr( get_the_time() ) ); ?> 35 46 36 <div class="bbp-meta">47 <a href="#bbp-topic-<?php bbp_topic_id(); ?>" title="<?php bbp_topic_title(); ?>" class="bbp-topic-permalink">#<?php bbp_topic_id(); ?></a> 37 48 38 <?php printf( __( '%1$s at %2$s', 'bbpress' ), get_the_date(), esc_attr( get_the_time() ) ); ?> 49 </td> 50 </tr> 39 51 40 <a href="<?php bbp_topic_permalink(); ?>" title="<?php bbp_topic_title(); ?>" class="bbp-topic-permalink">#<?php bbp_topic_id(); ?></a>52 <tr id="post-<?php bbp_topic_id(); ?>" <?php post_class( 'bbp-forum-topic' ); ?>> 41 53 42 < ?php do_action( 'bbp_theme_before_topic_admin_links' ); ?>54 <td class="bbp-topic-author"> 43 55 44 <?php bbp_topic_admin_links(); ?>56 <?php bbp_topic_author_link( array( 'sep' => '<br />' ) ); ?> 45 57 46 <?php do_action( 'bbp_theme_after_topic_admin_links' );?>58 <?php if ( is_super_admin() ) : ?> 47 59 48 </div><!-- .bbp-meta -->60 <div class="bbp-topic-ip"><?php bbp_author_ip( bbp_get_topic_id() ); ?></div> 49 61 50 </div><!-- .bbp-topic-header -->62 <?php endif; ?> 51 63 52 <div id="post-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>>64 </td> 53 65 54 <div class="bbp-topic-author">66 <td class="bbp-topic-content"> 55 67 56 <?php do_action( 'bbp_theme_before_topic_author_details'); ?>68 <?php bbp_topic_content(); ?> 57 69 58 < ?php bbp_topic_author_link( array( 'sep' => '<br />' ) ); ?>70 </td> 59 71 60 <?php if ( is_super_admin() ) : ?>72 </tr><!-- #post-<?php bbp_topic_id(); ?> --> 61 73 62 <?php do_action( 'bbp_theme_before_topic_author_admin_details' ); ?> 74 </tbody> 75 </table><!-- #bbp-topic-<?php bbp_topic_id(); ?> --> 63 76 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_lead_topic' ); ?> 77 <?php do_action( 'bbp_template_after_lead_topic' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.