Changeset 5696 for trunk/bp-messages/bp-messages-screens.php
- Timestamp:
- 02/10/2012 09:02:53 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/bp-messages/bp-messages-screens.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-messages/bp-messages-screens.php
r5417 r5696 1 1 <?php 2 /******************************************************************************* 2 3 /** 4 * BuddyPress Messages Screens 5 * 3 6 * Screen functions are the controllers of BuddyPress. They will execute when their 4 7 * specific URL is caught. They will first save or manipulate data using business 5 8 * functions, then pass on the user to a template file. 9 * 10 * @package BuddyPress 11 * @subpackage MessagesScreens 6 12 */ 7 13 … … 10 16 11 17 function messages_screen_inbox() { 12 global $bp;13 14 18 if ( bp_action_variables() ) { 15 19 bp_do_404(); … … 22 26 23 27 function messages_screen_sentbox() { 24 global $bp;25 26 28 if ( bp_action_variables() ) { 27 29 bp_do_404(); … … 129 131 130 132 function messages_screen_notification_settings() { 131 global $bp;132 133 133 if ( bp_action_variables() ) { 134 134 bp_do_404(); … … 140 140 141 141 if ( !$new_notices = bp_get_user_meta( bp_displayed_user_id(), 'notification_messages_new_notice', true ) ) 142 $new_notices = 'yes'; 143 ?> 142 $new_notices = 'yes'; ?> 144 143 145 144 <table class="notification-settings" id="messages-notification-settings">
Note: See TracChangeset
for help on using the changeset viewer.