[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * BuddyPress - Groups Requests Loop
   4   *
   5   * @since 3.0.0
   6   * @version 3.0.0
   7   */
   8  ?>
   9  
  10  <?php if ( bp_group_has_membership_requests( bp_ajax_querystring( 'membership_requests' ) ) ) : ?>
  11  
  12      <h2 class="bp-screen-title">
  13          <?php esc_html_e( 'Manage Membership Requests', 'buddypress' ); ?>
  14      </h2>
  15  
  16      <?php bp_nouveau_pagination( 'top' ); ?>
  17  
  18      <ul id="request-list" class="item-list bp-list membership-requests-list">
  19          <?php
  20          while ( bp_group_membership_requests() ) :
  21              bp_group_the_membership_request();
  22          ?>
  23  
  24              <li>
  25                  <div class="item-avatar">
  26                      <?php bp_group_request_user_avatar_thumb(); ?>
  27                  </div>
  28  
  29                  <div class="item">
  30  
  31                      <div class="item-title">
  32                          <h3><?php bp_group_request_user_link(); ?></h3>
  33                      </div>
  34  
  35                      <div class="item-meta">
  36                          <span class="comments"><?php bp_group_request_comment(); ?></span>
  37                          <span class="activity"><?php bp_group_request_time_since_requested(); ?></span>
  38                          <?php bp_nouveau_group_hook( '', 'membership_requests_admin_item' ); ?>
  39                      </div>
  40  
  41                  </div>
  42  
  43                  <?php bp_nouveau_groups_request_buttons(); ?>
  44              </li>
  45  
  46          <?php endwhile; ?>
  47      </ul>
  48  
  49      <?php bp_nouveau_pagination( 'bottom' ); ?>
  50  
  51  <?php else : ?>
  52  
  53      <?php bp_nouveau_user_feedback( 'group-requests-none' ); ?>
  54  
  55  <?php
  56  endif;


Generated: Wed Jul 24 01:01:43 2019 Cross-referenced by PHPXref 0.7.1