[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * BuddyPress - Members Notifications Loop
   4   *
   5   * @package BuddyPress
   6   * @subpackage bp-legacy
   7   * @version 3.0.0
   8   */
   9  
  10  ?>
  11  <form action="" method="post" id="notifications-bulk-management">
  12      <table class="notifications">
  13          <thead>
  14              <tr>
  15                  <th class="icon"></th>
  16                  <th class="bulk-select-all"><input id="select-all-notifications" type="checkbox"><label class="bp-screen-reader-text" for="select-all-notifications"><?php
  17                      /* translators: accessibility text */
  18                      _e( 'Select all', 'buddypress' );
  19                  ?></label></th>
  20                  <th class="title"><?php _e( 'Notification', 'buddypress' ); ?></th>
  21                  <th class="date"><?php _e( 'Date Received', 'buddypress' ); ?></th>
  22                  <th class="actions"><?php _e( 'Actions',    'buddypress' ); ?></th>
  23              </tr>
  24          </thead>
  25  
  26          <tbody>
  27  
  28              <?php while ( bp_the_notifications() ) : bp_the_notification(); ?>
  29  
  30                  <tr>
  31                      <td></td>
  32                      <td class="bulk-select-check"><label for="<?php bp_the_notification_id(); ?>"><input id="<?php bp_the_notification_id(); ?>" type="checkbox" name="notifications[]" value="<?php bp_the_notification_id(); ?>" class="notification-check"><span class="bp-screen-reader-text"><?php
  33                          /* translators: accessibility text */
  34                          _e( 'Select this notification', 'buddypress' );
  35                      ?></span></label></td>
  36                      <td class="notification-description"><?php bp_the_notification_description();  ?></td>
  37                      <td class="notification-since"><?php bp_the_notification_time_since();   ?></td>
  38                      <td class="notification-actions"><?php bp_the_notification_action_links(); ?></td>
  39                  </tr>
  40  
  41              <?php endwhile; ?>
  42  
  43          </tbody>
  44      </table>
  45  
  46      <div class="notifications-options-nav">
  47          <?php bp_notifications_bulk_management_dropdown(); ?>
  48      </div><!-- .notifications-options-nav -->
  49  
  50      <?php wp_nonce_field( 'notifications_bulk_nonce', 'notifications_bulk_nonce' ); ?>
  51  </form>


Generated: Fri Apr 26 01:01:11 2024 Cross-referenced by PHPXref 0.7.1