Changeset 6806 for trunk/bp-messages/bp-messages-screens.php
- Timestamp:
- 02/21/2013 12:31:09 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/bp-messages/bp-messages-screens.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-messages/bp-messages-screens.php
r6545 r6806 160 160 161 161 if ( !$new_messages = bp_get_user_meta( bp_displayed_user_id(), 'notification_messages_new_message', true ) ) 162 $new_messages = 'yes'; 163 164 if ( !$new_notices = bp_get_user_meta( bp_displayed_user_id(), 'notification_messages_new_notice', true ) ) 165 $new_notices = 'yes'; ?> 162 $new_messages = 'yes'; ?> 166 163 167 164 <table class="notification-settings" id="messages-notification-settings"> … … 182 179 <td class="no"><input type="radio" name="notifications[notification_messages_new_message]" value="no" <?php checked( $new_messages, 'no', true ) ?>/></td> 183 180 </tr> 184 <tr id="messages-notification-settings-new-site-notice">185 <td></td>186 <td><?php _e( 'A new site notice is posted', 'buddypress' ) ?></td>187 <td class="yes"><input type="radio" name="notifications[notification_messages_new_notice]" value="yes" <?php checked( $new_notices, 'yes', true ) ?>/></td>188 <td class="no"><input type="radio" name="notifications[notification_messages_new_notice]" value="no" <?php checked( $new_notices, 'no', true ) ?>/></td>189 </tr>190 181 191 182 <?php do_action( 'messages_screen_notification_settings' ) ?>
Note: See TracChangeset
for help on using the changeset viewer.