[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * BuddyPress - Users Activity
   4   *
   5   * @package BuddyPress
   6   * @subpackage bp-legacy
   7   * @version 3.0.0
   8   */
   9  
  10  ?>
  11  
  12  <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation">
  13      <ul>
  14  
  15          <?php bp_get_options_nav(); ?>
  16  
  17          <li id="activity-filter-select" class="last">
  18              <label for="activity-filter-by"><?php _e( 'Show:', 'buddypress' ); ?></label>
  19              <select id="activity-filter-by">
  20                  <option value="-1"><?php _e( '&mdash; Everything &mdash;', 'buddypress' ); ?></option>
  21  
  22                  <?php bp_activity_show_filters(); ?>
  23  
  24                  <?php
  25  
  26                  /**
  27                   * Fires inside the select input for member activity filter options.
  28                   *
  29                   * @since 1.2.0
  30                   */
  31                  do_action( 'bp_member_activity_filter_options' ); ?>
  32  
  33              </select>
  34          </li>
  35      </ul>
  36  </div><!-- .item-list-tabs -->
  37  
  38  <?php
  39  
  40  /**
  41   * Fires before the display of the member activity post form.
  42   *
  43   * @since 1.2.0
  44   */
  45  do_action( 'bp_before_member_activity_post_form' ); ?>
  46  
  47  <?php
  48  if ( is_user_logged_in() && bp_is_my_profile() && ( !bp_current_action() || bp_is_current_action( 'just-me' ) ) )
  49      bp_get_template_part( 'activity/post-form' );
  50  
  51  /**
  52   * Fires after the display of the member activity post form.
  53   *
  54   * @since 1.2.0
  55   */
  56  do_action( 'bp_after_member_activity_post_form' );
  57  
  58  /**
  59   * Fires before the display of the member activities list.
  60   *
  61   * @since 1.2.0
  62   */
  63  do_action( 'bp_before_member_activity_content' ); ?>
  64  
  65  <div class="activity" aria-live="polite" aria-atomic="true" aria-relevant="all">
  66  
  67      <?php bp_get_template_part( 'activity/activity-loop' ) ?>
  68  
  69  </div><!-- .activity -->
  70  
  71  <?php
  72  
  73  /**
  74   * Fires after the display of the member activities list.
  75   *
  76   * @since 1.2.0
  77   */
  78  do_action( 'bp_after_member_activity_content' );


Generated: Sun Dec 22 01:00:54 2024 Cross-referenced by PHPXref 0.7.1