[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * BuddyPress - Members Friends Requests Loop
   4   *
   5   * @since 5.0.0
   6   * @version 5.0.0
   7   */
   8  ?>
   9  
  10  <?php if ( bp_has_members( bp_ajax_querystring( 'friendship_requests' ) . '&include=' . bp_get_friendship_requests() ) ) : ?>
  11  
  12      <?php bp_nouveau_pagination( 'top' ); ?>
  13  
  14      <ul id="friend-list" class="<?php bp_nouveau_loop_classes(); ?>">
  15          <?php
  16          while ( bp_members() ) :
  17              bp_the_member();
  18          ?>
  19  
  20              <li id="friendship-<?php bp_friend_friendship_id(); ?>" <?php bp_member_class( array( 'item-entry' ) ); ?> data-bp-item-id="<?php bp_friend_friendship_id(); ?>" data-bp-item-component="members">
  21                  <div class="item-avatar">
  22                      <a href="<?php bp_member_link(); ?>"><?php bp_member_avatar( array( 'type' => 'full' ) ); ?></a>
  23                  </div>
  24  
  25                  <div class="item">
  26                      <div class="item-title"><a href="<?php bp_member_link(); ?>"><?php bp_member_name(); ?></a></div>
  27                      <div class="item-meta"><span class="activity"><?php bp_member_last_active(); ?></span></div>
  28  
  29                      <?php bp_nouveau_friend_hook( 'requests_item' ); ?>
  30                  </div>
  31  
  32                  <?php bp_nouveau_members_loop_buttons(); ?>
  33              </li>
  34  
  35          <?php endwhile; ?>
  36      </ul>
  37  
  38      <?php bp_nouveau_friend_hook( 'requests_content' ); ?>
  39  
  40      <?php bp_nouveau_pagination( 'bottom' ); ?>
  41  
  42  <?php else : ?>
  43  
  44      <?php bp_nouveau_user_feedback( 'member-requests-none' ); ?>
  45  
  46  <?php endif; ?>


Generated: Fri Jul 19 01:01:43 2019 Cross-referenced by PHPXref 0.7.1