Changeset 5737 for trunk/bp-themes/bp-default/comments.php
- Timestamp:
- 02/12/2012 08:09:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/comments.php
r5729 r5737 22 22 23 23 <h3> 24 <?php printf( _n( '1 response to %2$s', '%1$s responses to %2$s', $num_comments, 'buddypress' ), number_format_i18n( $num_comments ), '<em>' . get_the_title() . '</em>' ) ?>24 <?php printf( _n( '1 response to %2$s', '%1$s responses to %2$s', $num_comments, 'buddypress' ), number_format_i18n( $num_comments ), '<em>' . get_the_title() . '</em>' ); ?> 25 25 </h3> 26 26 27 <?php do_action( 'bp_before_blog_comment_list' ) ?>27 <?php do_action( 'bp_before_blog_comment_list' ); ?> 28 28 29 29 <ol class="commentlist"> 30 <?php wp_list_comments( array( 'callback' => 'bp_dtheme_blog_comments', 'type' => 'comment' ) ) ?>30 <?php wp_list_comments( array( 'callback' => 'bp_dtheme_blog_comments', 'type' => 'comment' ) ); ?> 31 31 </ol><!-- .comment-list --> 32 32 33 <?php do_action( 'bp_after_blog_comment_list' ) ?>33 <?php do_action( 'bp_after_blog_comment_list' ); ?> 34 34 35 35 <?php if ( get_option( 'page_comments' ) ) : ?> 36 36 <div class="comment-navigation paged-navigation"> 37 <?php paginate_comments_links() ?>37 <?php paginate_comments_links(); ?> 38 38 </div> 39 39 <?php endif; ?> … … 44 44 <?php if ( pings_open() && !comments_open() && ( is_single() || is_page() ) ) : ?> 45 45 <p class="comments-closed pings-open"> 46 <?php printf( __( 'Comments are closed, but <a href="%1$s" title="Trackback URL for this post">trackbacks</a> and pingbacks are open.', 'buddypress' ), trackback_url( '0' ) ) ?>46 <?php printf( __( 'Comments are closed, but <a href="%1$s" title="Trackback URL for this post">trackbacks</a> and pingbacks are open.', 'buddypress' ), trackback_url( '0' ) ); ?> 47 47 </p> 48 48 <?php elseif ( !comments_open() && ( is_single() || is_page() ) ) : ?> 49 49 <p class="comments-closed"> 50 <?php _e( 'Comments are closed.', 'buddypress' ) ?>50 <?php _e( 'Comments are closed.', 'buddypress' ); ?> 51 51 </p> 52 52 <?php endif; ?> … … 55 55 56 56 <?php if ( comments_open() ) : ?> 57 <?php comment_form() ?>57 <?php comment_form(); ?> 58 58 <?php endif; ?> 59 59 60 60 <?php if ( !empty( $num_trackbacks ) ) : ?> 61 61 <div id="trackbacks"> 62 <h3><?php printf( _n( '1 trackback', '%d trackbacks', $num_trackbacks, 'buddypress' ), number_format_i18n( $num_trackbacks ) ) ?></h3>62 <h3><?php printf( _n( '1 trackback', '%d trackbacks', $num_trackbacks, 'buddypress' ), number_format_i18n( $num_trackbacks ) ); ?></h3> 63 63 64 64 <ul id="trackbacklist"> … … 67 67 <?php if ( 'comment' != get_comment_type() ) : ?> 68 68 <li> 69 <h5><?php comment_author_link() ?></h5>70 <em>on <?php comment_date() ?></em>69 <h5><?php comment_author_link(); ?></h5> 70 <em>on <?php comment_date(); ?></em> 71 71 </li> 72 72 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.