Changeset 1151
- Timestamp:
- 02/25/2009 04:45:17 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-notifications.php
r1150 r1151 10 10 11 11 $ud = get_userdata( $friend_id ); 12 $initiator_ud = get_userdata( $initiator_id ); 12 13 13 14 $all_requests_link = site_url( MEMBERS_SLUG . '/' . $ud->user_login . '/friends/requests/' ); 14 15 $settings_link = site_url( MEMBERS_SLUG . '/' . $ud->user_login . '/settings/notifications' ); 16 17 $initiator_link = site_url( MEMBERS_SLUG . '/' . $initiator_ud->user_login . '/profile' ); 15 18 16 19 // Set up and send the message … … 19 22 20 23 $message = sprintf( __( 21 '%s wants to add you as a friend.24 "%s wants to add you as a friend. 22 25 23 26 To view all of your pending friendship requests: %s 24 27 28 To view %s's profile: %s 29 25 30 --------------------- 26 ', 'buddypress' ), $initiator_name, $all_requests_link, $message_link );31 ", 'buddypress' ), $initiator_name, $all_requests_link, $initiator_name, $initiator_link ); 27 32 28 33 $message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link );
Note: See TracChangeset
for help on using the changeset viewer.