Changeset 2346
- Timestamp:
- 01/19/2010 10:29:18 AM (15 years ago)
- Location:
- trunk/bp-themes/bp-default/_inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/_inc/ajax.php
r2340 r2346 302 302 echo $user->avatar_thumb; 303 303 echo '<h4>' . $user->user_link . '</h4>'; 304 echo '<span class="activity">' . attribute_escape( $user->last_activity) . '</span>';304 echo '<span class="activity">' . esc_attr( $user->last_active ) . '</span>'; 305 305 echo '<div class="action"> 306 306 <a class="remove" href="' . wp_nonce_url( $bp->loggedin_user->domain . $bp->groups->slug . '/' . $_POST['group_id'] . '/invites/remove/' . $user->id, 'groups_invite_uninvite_user' ) . '" id="uid-' . attribute_escape( $user->id ) . '">' . __( 'Remove Invite', 'buddypress' ) . '</a> -
trunk/bp-themes/bp-default/_inc/global.js
r2334 r2346 680 680 var friend_action = 'uninvite'; 681 681 682 j('div.item-list-tabs li.selected').addClass('loading'); 683 682 684 j.post( ajaxurl, { 683 685 action: 'groups_invite_user', … … 700 702 j('#friend-list li#uid-' + friend_id).remove(); 701 703 } 704 705 j('div.item-list-tabs li.selected').removeClass('loading'); 702 706 }); 703 707 });
Note: See TracChangeset
for help on using the changeset viewer.