- Timestamp:
- 02/12/2012 08:09:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/groups/single/send-invites.php
r3955 r5737 1 <?php do_action( 'bp_before_group_send_invites_content' ) ?>1 <?php do_action( 'bp_before_group_send_invites_content' ); ?> 2 2 3 3 <?php if ( bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> 4 4 5 <form action="<?php bp_group_send_invite_form_action() ?>" method="post" id="send-invite-form" class="standard-form" role="main">5 <form action="<?php bp_group_send_invite_form_action(); ?>" method="post" id="send-invite-form" class="standard-form" role="main"> 6 6 7 7 <div class="left-menu"> … … 9 9 <div id="invite-list"> 10 10 <ul> 11 <?php bp_new_group_invite_friend_list() ?>11 <?php bp_new_group_invite_friend_list(); ?> 12 12 </ul> 13 13 14 <?php wp_nonce_field( 'groups_invite_uninvite_user', '_wpnonce_invite_uninvite_user' ) ?>14 <?php wp_nonce_field( 'groups_invite_uninvite_user', '_wpnonce_invite_uninvite_user' ); ?> 15 15 </div> 16 16 … … 23 23 </div> 24 24 25 <?php do_action( 'bp_before_group_send_invites_list' ) ?>25 <?php do_action( 'bp_before_group_send_invites_list' ); ?> 26 26 27 27 <?php /* The ID 'friend-list' is important for AJAX support. */ ?> … … 31 31 <?php while ( bp_group_invites() ) : bp_group_the_invite(); ?> 32 32 33 <li id="<?php bp_group_invite_item_id() ?>">34 <?php bp_group_invite_user_avatar() ?>33 <li id="<?php bp_group_invite_item_id(); ?>"> 34 <?php bp_group_invite_user_avatar(); ?> 35 35 36 <h4><?php bp_group_invite_user_link() ?></h4>37 <span class="activity"><?php bp_group_invite_user_last_active() ?></span>36 <h4><?php bp_group_invite_user_link(); ?></h4> 37 <span class="activity"><?php bp_group_invite_user_last_active(); ?></span> 38 38 39 <?php do_action( 'bp_group_send_invites_item' ) ?>39 <?php do_action( 'bp_group_send_invites_item' ); ?> 40 40 41 41 <div class="action"> 42 <a class="button remove" href="<?php bp_group_invite_user_remove_invite_url() ?>" id="<?php bp_group_invite_item_id() ?>"><?php _e( 'Remove Invite', 'buddypress' )?></a>42 <a class="button remove" href="<?php bp_group_invite_user_remove_invite_url(); ?>" id="<?php bp_group_invite_item_id(); ?>"><?php _e( 'Remove Invite', 'buddypress' ); ?></a> 43 43 44 <?php do_action( 'bp_group_send_invites_item_action' ) ?>44 <?php do_action( 'bp_group_send_invites_item_action' ); ?> 45 45 </div> 46 46 </li> … … 51 51 </ul><!-- #friend-list --> 52 52 53 <?php do_action( 'bp_after_group_send_invites_list' ) ?>53 <?php do_action( 'bp_after_group_send_invites_list' ); ?> 54 54 55 55 </div><!-- .main-column --> … … 58 58 59 59 <div class="submit"> 60 <input type="submit" name="submit" id="submit" value="<?php _e( 'Send Invites', 'buddypress' ) ?>" />60 <input type="submit" name="submit" id="submit" value="<?php _e( 'Send Invites', 'buddypress' ); ?>" /> 61 61 </div> 62 62 63 <?php wp_nonce_field( 'groups_send_invites', '_wpnonce_send_invites') ?>63 <?php wp_nonce_field( 'groups_send_invites', '_wpnonce_send_invites'); ?> 64 64 65 65 <?php /* This is important, don't forget it */ ?> 66 <input type="hidden" name="group_id" id="group_id" value="<?php bp_group_id() ?>" />66 <input type="hidden" name="group_id" id="group_id" value="<?php bp_group_id(); ?>" /> 67 67 68 68 </form><!-- #send-invite-form --> … … 76 76 <?php endif; ?> 77 77 78 <?php do_action( 'bp_after_group_send_invites_content' ) ?>78 <?php do_action( 'bp_after_group_send_invites_content' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.