[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * BuddyPress - Membership Invitations Loop
   4   *
   5   * @package BuddyPress
   6   * @subpackage bp-legacy
   7   * @version 8.0.0
   8   */
   9  
  10  ?>
  11  <form action="" method="post" id="invitations-bulk-management">
  12      <table class="invitations">
  13          <thead>
  14              <tr>
  15                  <th class="bulk-select-all"><input id="select-all-invitations" type="checkbox">
  16                      <label class="bp-screen-reader-text" for="select-all-invitations">
  17                          <?php
  18                          /* translators: accessibility text */
  19                          esc_html_e( 'Select all', 'buddypress' );
  20                          ?>
  21                      </label>
  22                  </th>
  23                  <th class="title"><?php esc_html_e( 'Invitee', 'buddypress' ); ?></th>
  24                  <th class="content"><?php esc_html_e( 'Message', 'buddypress' ); ?></th>
  25                  <th class="sent"><?php esc_html_e( 'Sent', 'buddypress' ); ?></th>
  26                  <th class="accepted"><?php esc_html_e( 'Accepted', 'buddypress' ); ?></th>
  27                  <th class="date"><?php esc_html_e( 'Date Modified', 'buddypress' ); ?></th>
  28                  <th class="actions"><?php esc_html_e( 'Actions', 'buddypress' ); ?></th>
  29              </tr>
  30          </thead>
  31  
  32          <tbody>
  33  
  34              <?php while ( bp_the_members_invitations() ) : bp_the_members_invitation(); ?>
  35  
  36                  <tr>
  37                      <td class="bulk-select-check">
  38                          <label for="<?php bp_the_members_invitation_property( 'id', 'attribute' ); ?>">
  39                              <input id="<?php bp_the_members_invitation_property( 'id', 'attribute' ); ?>" type="checkbox" name="members_invitations[]" value="<?php bp_the_members_invitation_property( 'id', 'attribute' ); ?>" class="invitation-check">
  40                              <span class="bp-screen-reader-text">
  41                                  <?php
  42                                      /* translators: accessibility text */
  43                                      esc_html_e( 'Select this invitation', 'buddypress' );
  44                                  ?>
  45                              </span>
  46                          </label>
  47                      </td>
  48                      <td class="invitation-invitee"><?php bp_the_members_invitation_property( 'invitee_email' );  ?></td>
  49                      <td class="invitation-content"><?php bp_the_members_invitation_property( 'content' );  ?></td>
  50                      <td class="invitation-sent"><?php bp_the_members_invitation_property( 'invite_sent' );  ?></td>
  51                      <td class="invitation-accepted"><?php bp_the_members_invitation_property( 'accepted' );  ?></td>
  52                      <td class="invitation-date-modified"><?php bp_the_members_invitation_property( 'date_modified' );   ?></td>
  53                      <td class="invitation-actions"><?php bp_the_members_invitation_action_links(); ?></td>
  54                  </tr>
  55  
  56              <?php endwhile; ?>
  57  
  58          </tbody>
  59      </table>
  60  
  61      <div class="invitations-options-nav">
  62          <?php bp_members_invitations_bulk_management_dropdown(); ?>
  63      </div><!-- .invitations-options-nav -->
  64  
  65      <?php wp_nonce_field( 'invitations_bulk_nonce', 'invitations_bulk_nonce' ); ?>
  66  </form>


Generated: Wed Apr 24 01:01:03 2024 Cross-referenced by PHPXref 0.7.1