Changeset 871 for trunk/bp-messages.php
- Timestamp:
- 01/19/2009 05:09:19 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-messages.php
r854 r871 172 172 173 173 function messages_screen_inbox() { 174 do_action( 'messages_screen_inbox' ); 174 175 bp_catch_uri( 'messages/index' ); 175 176 } 176 177 177 178 function messages_screen_sentbox() { 179 do_action( 'messages_screen_sentbox' ); 178 180 bp_catch_uri( 'messages/sentbox' ); 179 181 } … … 200 202 messages_send_message( $recipients, $_POST['subject'], $_POST['content'], $_POST['thread_id'], false, true ); 201 203 } 204 205 do_action( 'messages_screen_compose' ); 202 206 203 207 bp_catch_uri( 'messages/compose' ); … … 236 240 bp_core_redirect( $bp['loggedin_domain'] . $bp['messages']['slug'] . '/notices' ); 237 241 } 242 243 do_action( 'messages_screen_notices' ); 244 238 245 bp_catch_uri( 'messages/notices' ); 239 246 } … … 260 267 <td class="no"><input type="radio" name="notifications[notification_messages_new_notice]" value="no" <?php if ( get_usermeta( $current_user->id, 'notification_messages_new_notice' ) == 'no' ) { ?>checked="checked" <?php } ?>/></td> 261 268 </tr> 269 270 <?php do_action( 'messages_screen_notification_settings' ) ?> 262 271 </table> 263 272 <?php … … 365 374 return apply_filters( 'bp_messages_single_new_message_notification', '<a href="' . $bp['loggedin_domain'] . $bp['messages']['slug'] . '/inbox" title="Inbox">' . sprintf( __('You have %d new message'), (int)$total_items ) . '</a>', $total_items ); 366 375 } 376 377 do_action( 'messages_format_notifications', $action, $item_id, $secondary_item_id, $total_items ); 378 379 return false; 367 380 } 368 381
Note: See TracChangeset
for help on using the changeset viewer.