/bp-templates/bp-legacy/buddypress/groups/single/activity.php

  1. <?php 
  2. /** 
  3. * BuddyPress - Groups Activity 
  4. * 
  5. * @package BuddyPress 
  6. * @subpackage bp-legacy 
  7. */ 
  8.  
  9. ?> 
  10. <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Group secondary navigation', 'buddypress' ); ?>" role="navigation"> 
  11. <ul> 
  12. <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> 
  13.  
  14. <?php 
  15.  
  16. /** 
  17. * Fires inside the syndication options list, after the RSS option. 
  18. * 
  19. * @since 1.2.0 
  20. */ 
  21. do_action( 'bp_group_activity_syndication_options' ); ?> 
  22.  
  23. <li id="activity-filter-select" class="last"> 
  24. <label for="activity-filter-by"><?php _e( 'Show:', 'buddypress' ); ?></label> 
  25. <select id="activity-filter-by"> 
  26. <option value="-1"><?php _e( '— Everything —', 'buddypress' ); ?></option> 
  27.  
  28. <?php bp_activity_show_filters( 'group' ); ?> 
  29.  
  30. <?php 
  31.  
  32. /** 
  33. * Fires inside the select input for group activity filter options. 
  34. * 
  35. * @since 1.2.0 
  36. */ 
  37. do_action( 'bp_group_activity_filter_options' ); ?> 
  38. </select> 
  39. </li> 
  40. </ul> 
  41. </div><!-- .item-list-tabs --> 
  42.  
  43. <?php 
  44.  
  45. /** 
  46. * Fires before the display of the group activity post form. 
  47. * 
  48. * @since 1.2.0 
  49. */ 
  50. do_action( 'bp_before_group_activity_post_form' ); ?> 
  51.  
  52. <?php if ( is_user_logged_in() && bp_group_is_member() ) : ?> 
  53.  
  54. <?php bp_get_template_part( 'activity/post-form' ); ?> 
  55.  
  56. <?php endif; ?> 
  57.  
  58. <?php 
  59.  
  60. /** 
  61. * Fires after the display of the group activity post form. 
  62. * 
  63. * @since 1.2.0 
  64. */ 
  65. do_action( 'bp_after_group_activity_post_form' ); ?> 
  66. <?php 
  67.  
  68. /** 
  69. * Fires before the display of the group activities list. 
  70. * 
  71. * @since 1.2.0 
  72. */ 
  73. do_action( 'bp_before_group_activity_content' ); ?> 
  74.  
  75. <div class="activity single-group" aria-live="polite" aria-atomic="true" aria-relevant="all"> 
  76.  
  77. <?php bp_get_template_part( 'activity/activity-loop' ); ?> 
  78.  
  79. </div><!-- .activity.single-group --> 
  80.  
  81. <?php 
  82.  
  83. /** 
  84. * Fires after the display of the group activities list. 
  85. * 
  86. * @since 1.2.0 
  87. */ 
  88. do_action( 'bp_after_group_activity_content' ); ?> 
.