- Timestamp:
- 03/21/2012 10:26:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-themes/bbp-twentyten/single-reply.php
r3634 r3820 8 8 */ 9 9 10 ?> 11 12 <?php get_header(); ?> 10 get_header(); ?> 13 11 14 12 <div id="container"> … … 17 15 <?php do_action( 'bbp_template_notices' ); ?> 18 16 19 <?php if ( bbp_user_can_view_forum( array( 'forum_id' => bbp_get_reply_forum_id() ) ) ) :?>17 <?php while ( have_posts() ) : the_post(); ?> 20 18 21 <?php while ( have_posts() ) : the_post(); ?> 19 <div id="bbp-reply-wrapper-<?php bbp_reply_id(); ?>" class="bbp-reply-wrapper"> 20 <h1 class="entry-title"><?php bbp_reply_title(); ?></h1> 22 21 23 <div id="bbp-reply-wrapper-<?php bbp_reply_id(); ?>" class="bbp-reply-wrapper"> 24 <h1 class="entry-title"><?php bbp_reply_title(); ?></h1> 25 <div class="entry-content"> 22 <?php bbp_breadcrumb(); ?> 26 23 27 <?php bbp_get_template_part( 'bbpress/content', 'single-reply' ); ?>24 <div class="entry-content"> 28 25 29 </div><!-- .entry-content --> 30 </div><!-- #bbp-reply-wrapper-<?php bbp_reply_id(); ?> --> 26 <table class="bbp-replies" id="topic-<?php bbp_topic_id(); ?>-replies"> 27 <thead> 28 <tr> 29 <th class="bbp-reply-author"><?php _e( 'Author', 'bbpress' ); ?></th> 30 <th class="bbp-reply-content"><?php _e( 'Replies', 'bbpress' ); ?></th> 31 </tr> 32 </thead> 31 33 32 <?php endwhile; ?> 34 <tfoot> 35 <tr> 36 <td colspan="2"><?php bbp_topic_admin_links(); ?></td> 37 </tr> 38 </tfoot> 33 39 34 <?php elseif ( bbp_is_forum_private( bbp_get_reply_forum_id(), false ) ) : ?> 40 <tbody> 41 <tr class="bbp-reply-header"> 42 <td class="bbp-reply-author"> 35 43 36 <?php bbp_get_template_part( 'bbpress/feedback', 'no-access'); ?>44 <?php bbp_reply_author_display_name(); ?> 37 45 38 <?php endif; ?> 46 </td> 47 <td class="bbp-reply-content"> 48 <a href="<?php bbp_reply_url(); ?>" title="<?php bbp_reply_title(); ?>">#</a> 49 50 <?php printf( __( 'Posted on %1$s at %2$s', 'bbpress' ), get_the_date(), esc_attr( get_the_time() ) ); ?> 51 52 <span><?php bbp_reply_admin_links(); ?></span> 53 </td> 54 </tr> 55 56 <tr id="reply-<?php bbp_reply_id(); ?>" <?php bbp_reply_class(); ?>> 57 58 <td class="bbp-reply-author"><?php bbp_reply_author_link( array( 'type' => 'avatar' ) ); ?></td> 59 60 <td class="bbp-reply-content"> 61 62 <?php bbp_reply_content(); ?> 63 64 </td> 65 66 </tr><!-- #topic-<?php bbp_topic_id(); ?>-replies --> 67 </tbody> 68 </table> 69 70 </div><!-- .entry-content --> 71 </div><!-- #bbp-reply-wrapper-<?php bbp_reply_id(); ?> --> 72 73 <?php endwhile; ?> 39 74 40 75 </div><!-- #content -->
Note: See TracChangeset
for help on using the changeset viewer.