[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

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


Generated: Fri Dec 13 01:00:56 2024 Cross-referenced by PHPXref 0.7.1