Ticket #5509: 5509-invite-loop.patch
| File 5509-invite-loop.patch, 1.3 KB (added by , 11 years ago) |
|---|
-
src/bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php
1 2 <h2 class="manage-invites-heading"><?php _e( 'Manage your member invites for this group', 'buddypress' ); ?></h2> 3 4 5 1 6 <div class="left-menu"> 2 7 3 8 <div id="invite-list"> 9 <?php 10 /* You may have friends but they may all be members of this group, invite list would then return false */ 11 if( bp_get_new_group_invite_friend_list() ) : 12 ?> 4 13 5 14 <ul> 6 15 <?php bp_new_group_invite_friend_list(); ?> … … 8 17 9 18 <?php wp_nonce_field( 'groups_invite_uninvite_user', '_wpnonce_invite_uninvite_user' ); ?> 10 19 20 <?php else: ?> 21 22 <p class="info"><?php _e('Your friends are currently all members of this group.','buddypress'); ?></p> 23 24 <?php endif; ?> 25 11 26 </div> 12 27 13 28 </div><!-- .left-menu --> … … 18 33 19 34 <?php if ( bp_group_has_invites( bp_ajax_querystring( 'invite' ) . '&per_page=10' ) ) : ?> 20 35 36 <h3 class="invite-list-heading"><?php _e('Your current invitations','buddypress'); ?></h3> 37 21 38 <div id="pag-top" class="pagination"> 22 39 23 40 <div class="pag-count" id="group-invite-count-top">