Ticket #2063: aps-theme-patch1.diff
| File aps-theme-patch1.diff, 2.2 KB (added by , 16 years ago) |
|---|
-
bp-themes/bp-default/groups/single/forum/topic.php
24 24 </div> 25 25 26 26 <ul id="topic-post-list" class="item-list"> 27 <?php while ( bp_forum_topic_posts() ) : bp_the_forum_topic_post(); ?> 28 29 <li id="post-<?php bp_the_topic_post_id() ?>"> 27 <?php while ( bp_forum_topic_posts() ) : bp_the_forum_topic_post(); ?> 28 <li <?php 29 $topic_post_id = bp_get_the_topic_post_id(); 30 echo "id='post-$topic_post_id' class='", 31 apply_filters('bp_single_forum_topic_post_css',array('class'=>'', 'post_id'=>$topic_post_id)), 32 "'"; 33 ?> > 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' ) ?> … … 39 43 </div> 40 44 41 45 <div class="admin-links"> 42 <?php if ( bp_group_is_admin() || bp_group_is_mod() || bp_get_the_topic_post_is_mine() ) : ?> 43 <?php bp_the_topic_post_admin_links() ?> 44 <?php endif; ?> 45 <a href="#post-<?php bp_the_topic_post_id() ?>" title="<?php _e( 'Permanent link to this post', 'buddypress' ) ?>">#</a> 46 <?php 47 if ( bp_group_is_admin() || bp_group_is_mod() || bp_get_the_topic_post_is_mine() ) : 48 bp_the_topic_post_admin_links(); 49 endif; 50 do_action( 'bp_single_forum_topic_links' , $topic_post_id ); 51 ?> 52 <a href="#post-<?php echo $topic_post_id; ?>" title="<?php _e( 'Permanent link to this post', 'buddypress' ) ?>">#</a> 46 53 </div> 47 54 </li> 48 55 -
bp-themes/bp-default/forums/forums-loop.php
30 30 31 31 <th id="th-postcount"><?php _e( 'Posts', 'buddypress' ) ?></th> 32 32 <th id="th-freshness"><?php _e( 'Freshness', 'buddypress' ) ?></th> 33 <?php do_action( 'bp_directory_forums_extra_cell_head' ); ?> 33 34 </tr> 34 35 35 36 <?php while ( bp_forum_topics() ) : bp_the_forum_topic(); ?>