Changeset 2717
- Timestamp:
- 02/15/2010 07:04:18 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
bp-activity/bp-activity-notifications.php (modified) (3 diffs)
-
bp-core/bp-core-settings.php (modified) (4 diffs)
-
bp-friends/bp-friends-notifications.php (modified) (2 diffs)
-
bp-groups/bp-groups-notifications.php (modified) (6 diffs)
-
bp-messages/bp-messages-notifications.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-notifications.php
r2697 r2717 21 21 22 22 $message_link = bp_activity_get_permalink( $activity_id ); 23 $settings_link = bp_core_get_user_domain( $receiver_user_id ) . 'settings/notifications/';23 $settings_link = bp_core_get_user_domain( $receiver_user_id ) . BP_SETTINGS_SLUG . '/notifications/'; 24 24 25 25 // Set up and send the message … … 61 61 $poster_name = bp_core_get_user_displayname( $commenter_id ); 62 62 $thread_link = bp_activity_get_permalink( $activity_id ); 63 $settings_link = bp_core_get_user_domain( $original_activity->user_id ) . 'settings/notifications/';63 $settings_link = bp_core_get_user_domain( $original_activity->user_id ) . BP_SETTINGS_SLUG . '/notifications/'; 64 64 65 65 // Set up and send the message … … 100 100 $poster_name = bp_core_get_user_displayname( $commenter_id ); 101 101 $thread_link = bp_activity_get_permalink( $activity_id ); 102 $settings_link = bp_core_get_user_domain( $parent_comment->user_id ) . 'settings/notifications/';102 $settings_link = bp_core_get_user_domain( $parent_comment->user_id ) . BP_SETTINGS_SLUG . '/notifications/'; 103 103 104 104 // Set up and send the message -
trunk/bp-core/bp-core-settings.php
r2695 r2717 17 17 bp_core_new_nav_item( array( 'name' => __('Settings', 'buddypress'), 'slug' => $bp->settings->slug, 'position' => 100, 'show_for_displayed_user' => false, 'screen_function' => 'bp_core_screen_general_settings', 'default_subnav_slug' => 'general' ) ); 18 18 19 $settings_link = $bp->loggedin_user->domain . 'settings/';19 $settings_link = $bp->loggedin_user->domain . $bp->settings->slug . '/'; 20 20 21 21 bp_core_new_subnav_item( array( 'name' => __( 'General', 'buddypress' ), 'slug' => 'general', 'parent_url' => $settings_link, 'parent_slug' => $bp->settings->slug, 'screen_function' => 'bp_core_screen_general_settings', 'position' => 10, 'user_has_access' => bp_is_my_profile() ) ); … … 86 86 <?php } ?> 87 87 88 <form action="<?php echo $bp->loggedin_user->domain . 'settings/general' ?>" method="post" class="standard-form" id="settings-form">88 <form action="<?php echo $bp->loggedin_user->domain . BP_SETTINGS_SLUG . '/general' ?>" method="post" class="standard-form" id="settings-form"> 89 89 <label for="email"><?php _e( 'Account Email', 'buddypress' ) ?></label> 90 90 <input type="text" name="email" id="email" value="<?php echo attribute_escape( $current_user->user_email ); ?>" class="settings-input" /> … … 141 141 <?php } ?> 142 142 143 <form action="<?php echo $bp->loggedin_user->domain . 'settings/notifications' ?>" method="post" id="settings-form">143 <form action="<?php echo $bp->loggedin_user->domain . BP_SETTINGS_SLUG . '/notifications' ?>" method="post" id="settings-form"> 144 144 <h3><?php _e( 'Email Notifications', 'buddypress' ) ?></h3> 145 145 <p><?php _e( 'Send a notification by email when:', 'buddypress' ) ?></p> … … 181 181 global $bp, $current_user, $bp_settings_updated, $pass_error; ?> 182 182 183 <form action="<?php echo $bp->loggedin_user->domain . 'settings/delete-account'; ?>" name="account-delete-form" id="account-delete-form" class="standard-form" method="post">183 <form action="<?php echo $bp->loggedin_user->domain . BP_SETTINGS_SLUG . '/delete-account'; ?>" name="account-delete-form" id="account-delete-form" class="standard-form" method="post"> 184 184 185 185 <div id="message" class="info"> -
trunk/bp-friends/bp-friends-notifications.php
r2697 r2717 13 13 14 14 $all_requests_link = bp_core_get_user_domain( $friend_id ) . BP_FRIENDS_SLUG . '/requests/'; 15 $settings_link = bp_core_get_user_domain( $friend_id ) . 'settings/notifications';15 $settings_link = bp_core_get_user_domain( $friend_id ) . BP_SETTINGS_SLUG . '/notifications'; 16 16 17 17 $initiator_link = bp_core_get_user_domain( $initiator_id ); … … 54 54 55 55 $friend_link = bp_core_get_user_domain( $friend_id ); 56 $settings_link = bp_core_get_user_domain( $initiator_id ) . 'settings/notifications';56 $settings_link = bp_core_get_user_domain( $initiator_id ) . BP_SETTINGS_SLUG . '/notifications'; 57 57 58 58 // Set up and send the message -
trunk/bp-groups/bp-groups-notifications.php
r2697 r2717 17 17 18 18 $group_link = site_url( $bp->groups->slug . '/' . $group->slug ); 19 $settings_link = bp_core_get_user_domain( $user_id ) . 'settings/notifications/';19 $settings_link = bp_core_get_user_domain( $user_id ) . BP_SETTINGS_SLUG . '/notifications/'; 20 20 21 21 $message = sprintf( __( … … 56 56 $group_requests = bp_get_group_permalink( $group ) . 'admin/membership-requests'; 57 57 $profile_link = bp_core_get_user_domain( $requesting_user_id ); 58 $settings_link = bp_core_get_user_domain( $requesting_user_id ) . 'settings/notifications/';58 $settings_link = bp_core_get_user_domain( $requesting_user_id ) . BP_SETTINGS_SLUG . '/notifications/'; 59 59 60 60 // Set up and send the message … … 102 102 103 103 $group_link = bp_get_group_permalink( $group ); 104 $settings_link = bp_core_get_user_domain( $requesting_user_id ) . 'settings/notifications/';104 $settings_link = bp_core_get_user_domain( $requesting_user_id ) . BP_SETTINGS_SLUG . '/notifications/'; 105 105 106 106 // Set up and send the message … … 159 159 160 160 $group_link = bp_get_group_permalink( $group ); 161 $settings_link = bp_core_get_user_domain( $user_id ) . 'settings/notifications/';161 $settings_link = bp_core_get_user_domain( $user_id ) . BP_SETTINGS_SLUG . '/notifications/'; 162 162 163 163 // Set up and send the message … … 205 205 $invited_ud = bp_core_get_core_userdata($invited_user_id); 206 206 207 $settings_link = bp_core_get_user_domain( $invited_user_id ) . 'settings/notifications/';207 $settings_link = bp_core_get_user_domain( $invited_user_id ) . BP_SETTINGS_SLUG . '/notifications/'; 208 208 $invited_link = bp_core_get_user_domain( $invited_user_id ); 209 209 $invites_link = $invited_link . $bp->groups->slug . '/invites'; … … 263 263 264 264 $message_link = bp_activity_get_permalink( $activity_id ); 265 $settings_link = bp_core_get_user_domain( $receiver_user_id ) . 'settings/notifications/';265 $settings_link = bp_core_get_user_domain( $receiver_user_id ) . BP_SETTINGS_SLUG . '/notifications/'; 266 266 267 267 // Set up and send the message -
trunk/bp-messages/bp-messages-notifications.php
r2697 r2717 12 12 $ud = get_userdata( $recipient->user_id ); 13 13 $message_link = bp_core_get_user_domain( $recipient->user_id ) . BP_MESSAGES_SLUG .'/'; 14 $settings_link = bp_core_get_user_domain( $recipient->user_id ) . 'settings/notifications/';14 $settings_link = bp_core_get_user_domain( $recipient->user_id ) . BP_SETTINGS_SLUG . '/notifications/'; 15 15 16 16 // Set up and send the message
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)