Ticket #2129: 2129_forum_topic.diff
File 2129_forum_topic.diff, 1.8 KB (added by , 15 years ago) |
---|
-
bp-themes/bp-default/groups/single/forum/topic.php
1 <?php do_action( 'bp_before_group_forum_topic' ) ?> 2 1 3 <?php if ( bp_has_forum_topic_posts() ) : ?> 2 4 3 5 <form action="<?php bp_forum_topic_action() ?>" method="post" id="forum-topic-form" class="standard-form"> … … 14 16 15 17 </div> 16 18 19 <?php do_action( 'bp_before_group_forum_topic_posts' ) ?> 20 17 21 <div id="topic-meta"> 18 22 <h3><?php bp_the_topic_title() ?> (<?php bp_the_topic_total_post_count() ?>)</h3> 19 23 <a class="button" href="<?php bp_forum_permalink() ?>/">← <?php _e( 'Group Forum', 'buddypress' ) ?></a> <a class="button" href="<?php bp_forum_directory_permalink() ?>/"><?php _e( 'Group Forum Directory', 'buddypress') ?></a></span> … … 26 30 <ul id="topic-post-list" class="item-list"> 27 31 <?php while ( bp_forum_topic_posts() ) : bp_the_forum_topic_post(); ?> 28 32 29 <li id="post-<?php bp_the_topic_post_id() ?>" >33 <li id="post-<?php bp_the_topic_post_id() ?>" <?php do_action( 'groups_forum_topic_post_class' ) ?>> 30 34 <div class="poster-meta"> 31 35 <a href="<?php bp_the_topic_post_poster_link() ?>"> 32 36 <?php bp_the_topic_post_poster_avatar( 'width=40&height=40' ) ?> … … 49 53 <?php endwhile; ?> 50 54 </ul> 51 55 56 <?php do_action( 'bp_after_group_forum_topic_posts' ) ?> 57 52 58 <div class="pagination no-ajax"> 53 59 54 60 <div id="post-count" class="pag-count"> … … 108 114 <p><?php _e( 'There are no posts for this topic.', 'buddypress' ) ?></p> 109 115 </div> 110 116 111 <?php endif;?> 112 No newline at end of file 117 <?php endif;?> 118 119 <?php do_action( 'bp_after_group_forum_topic' ) ?>