/bp-themes/bp-default/groups/single/activity.php

  1. <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 
  2. <ul> 
  3. <li class="feed"><a href="<?php bp_group_activity_feed_link(); ?>" title="<?php esc_attr_e( 'RSS Feed', 'buddypress' ); ?>"><?php _e( 'RSS', 'buddypress' ); ?></a></li> 
  4.  
  5. <?php do_action( 'bp_group_activity_syndication_options' ); ?> 
  6.  
  7. <li id="activity-filter-select" class="last"> 
  8. <label for="activity-filter-by"><?php _e( 'Show:', 'buddypress' ); ?></label>  
  9. <select id="activity-filter-by"> 
  10. <option value="-1"><?php _e( '— Everything —', 'buddypress' ); ?></option> 
  11. <option value="activity_update"><?php _e( 'Updates', 'buddypress' ); ?></option> 
  12.  
  13. <?php if ( bp_is_active( 'forums' ) ) : ?> 
  14. <option value="new_forum_topic"><?php _e( 'Forum Topics', 'buddypress' ); ?></option> 
  15. <option value="new_forum_post"><?php _e( 'Forum Replies', 'buddypress' ); ?></option> 
  16. <?php endif; ?> 
  17.  
  18. <option value="joined_group"><?php _e( 'Group Memberships', 'buddypress' ); ?></option> 
  19.  
  20. <?php do_action( 'bp_group_activity_filter_options' ); ?> 
  21. </select> 
  22. </li> 
  23. </ul> 
  24. </div><!-- .item-list-tabs --> 
  25.  
  26. <?php do_action( 'bp_before_group_activity_post_form' ); ?> 
  27.  
  28. <?php if ( is_user_logged_in() && bp_group_is_member() ) : ?> 
  29. <?php locate_template( array( 'activity/post-form.php'), true ); ?> 
  30. <?php endif; ?> 
  31.  
  32. <?php do_action( 'bp_after_group_activity_post_form' ); ?> 
  33. <?php do_action( 'bp_before_group_activity_content' ); ?> 
  34.  
  35. <div class="activity single-group" role="main"> 
  36. <?php locate_template( array( 'activity/activity-loop.php' ), true ); ?> 
  37. </div><!-- .activity.single-group --> 
  38.  
  39. <?php do_action( 'bp_after_group_activity_content' ); ?> 
.