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