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


Generated: Tue Dec 10 01:01:39 2019 Cross-referenced by PHPXref 0.7.1