[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-legacy/buddypress/groups/single/ -> activity.php (source)

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


Generated: Mon Apr 15 01:01:05 2024 Cross-referenced by PHPXref 0.7.1