[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-nouveau/buddypress/members/single/ -> friends.php (source)

   1  <?php
   2  /**
   3   * BuddyPress - Users Friends
   4   *
   5   * @since 3.0.0
   6   * @version 3.0.0
   7   */
   8  ?>
   9  
  10  <nav class="<?php bp_nouveau_single_item_subnav_classes(); ?>" id="subnav" role="navigation" aria-label="<?php esc_attr_e( 'Friends menu', 'buddypress' ); ?>">
  11      <ul class="subnav">
  12          <?php if ( bp_is_my_profile() ) : ?>
  13  
  14              <?php bp_get_template_part( 'members/single/parts/item-subnav' ); ?>
  15  
  16          <?php endif; ?>
  17      </ul>
  18  </nav><!-- .bp-navs -->
  19  
  20  <?php bp_get_template_part( 'common/search-and-filters-bar' ); ?>
  21  
  22  <?php
  23  switch ( bp_current_action() ) :
  24  
  25      // Home/My Friends
  26      case 'my-friends':
  27          bp_nouveau_member_hook( 'before', 'friends_content' );
  28          ?>
  29  
  30          <div class="members friends" data-bp-list="members">
  31  
  32              <div id="bp-ajax-loader"><?php bp_nouveau_user_feedback( 'member-friends-loading' ); ?></div>
  33  
  34          </div><!-- .members.friends -->
  35  
  36          <?php
  37          bp_nouveau_member_hook( 'after', 'friends_content' );
  38          break;
  39  
  40      case 'requests':
  41          bp_get_template_part( 'members/single/friends/requests' );
  42          break;
  43  
  44      // Any other
  45      default:
  46          bp_get_template_part( 'members/single/plugins' );
  47          break;
  48  endswitch;


Generated: Tue Jul 7 01:01:30 2020 Cross-referenced by PHPXref 0.7.1