<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[BuddyPress] [3069] branches/1.2: Fixes #2465</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd>3069</dd>
<dt>Author</dt> <dd>johnjamesjacoby</dd>
<dt>Date</dt> <dd>2010-06-27 00:29:31 +0000 (Sun, 27 Jun 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Fixes #2465</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#branches12bpactivityphp">branches/1.2/bp-activity.php</a></li>
<li><a href="#branches12bpfriendsphp">branches/1.2/bp-friends.php</a></li>
<li><a href="#branches12bpgroupsphp">branches/1.2/bp-groups.php</a></li>
<li><a href="#branches12bpmessagesphp">branches/1.2/bp-messages.php</a></li>
<li><a href="#branches12bpthemesbpdefault_incglobaljs">branches/1.2/bp-themes/bp-default/_inc/global.js</a></li>
<li><a href="#branches12bpthemesbpdefaultforumsforumsloopphp">branches/1.2/bp-themes/bp-default/forums/forums-loop.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="branches12bpactivityphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-activity.php (3068 => 3069)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-activity.php        2010-06-26 23:30:43 UTC (rev 3068)
+++ branches/1.2/bp-activity.php        2010-06-27 00:29:31 UTC (rev 3069)
</span><span class="lines">@@ -262,27 +262,31 @@
</span><span class="cx"> function bp_activity_screen_notification_settings() {
</span><span class="cx">         global $bp; ?&gt;
</span><span class="cx">         &lt;table class=&quot;notification-settings&quot; id=&quot;activity-notification-settings&quot;&gt;
</span><del>-                &lt;tr&gt;
-                        &lt;th class=&quot;icon&quot;&gt;&lt;/th&gt;
-                        &lt;th class=&quot;title&quot;&gt;&lt;?php _e( 'Activity', 'buddypress' ) ?&gt;&lt;/th&gt;
-                        &lt;th class=&quot;yes&quot;&gt;&lt;?php _e( 'Yes', 'buddypress' ) ?&gt;&lt;/th&gt;
-                        &lt;th class=&quot;no&quot;&gt;&lt;?php _e( 'No', 'buddypress' )?&gt;&lt;/th&gt;
-                &lt;/tr&gt;
</del><ins>+                &lt;thead&gt;
+                        &lt;tr&gt;
+                                &lt;th class=&quot;icon&quot;&gt;&lt;/th&gt;
+                                &lt;th class=&quot;title&quot;&gt;&lt;?php _e( 'Activity', 'buddypress' ) ?&gt;&lt;/th&gt;
+                                &lt;th class=&quot;yes&quot;&gt;&lt;?php _e( 'Yes', 'buddypress' ) ?&gt;&lt;/th&gt;
+                                &lt;th class=&quot;no&quot;&gt;&lt;?php _e( 'No', 'buddypress' )?&gt;&lt;/th&gt;
+                        &lt;/tr&gt;
+                &lt;/thead&gt;
</ins><span class="cx"> 
</span><del>-                &lt;tr&gt;
-                        &lt;td&gt;&lt;/td&gt;
-                        &lt;td&gt;&lt;?php printf( __( 'A member mentions you in an update using &quot;@%s&quot;', 'buddypress' ), bp_core_get_username( $bp-&gt;loggedin_user-&gt;id, $bp-&gt;loggedin_user-&gt;userdata-&gt;user_nicename, $bp-&gt;loggedin_user-&gt;userdata-&gt;user_login ) ) ?&gt;&lt;/td&gt;
-                        &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_activity_new_mention]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $bp-&gt;loggedin_user-&gt;id, 'notification_activity_new_mention' ) || 'yes' == get_usermeta( $bp-&gt;loggedin_user-&gt;id, 'notification_activity_new_mention' ) ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                        &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_activity_new_mention]&quot; value=&quot;no&quot; &lt;?php if ( 'no' == get_usermeta( $bp-&gt;loggedin_user-&gt;id, 'notification_activity_new_mention' ) ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                &lt;/tr&gt;
-                &lt;tr&gt;
-                        &lt;td&gt;&lt;/td&gt;
-                        &lt;td&gt;&lt;?php printf( __( &quot;A member replies to an update or comment you've posted&quot;, 'buddypress' ), $current_user-&gt;user_login ) ?&gt;&lt;/td&gt;
-                        &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_activity_new_reply]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $bp-&gt;loggedin_user-&gt;id, 'notification_activity_new_reply' ) || 'yes' == get_usermeta( $bp-&gt;loggedin_user-&gt;id, 'notification_activity_new_reply' ) ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                        &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_activity_new_reply]&quot; value=&quot;no&quot; &lt;?php if ( 'no' == get_usermeta( $bp-&gt;loggedin_user-&gt;id, 'notification_activity_new_reply' ) ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                &lt;/tr&gt;
</del><ins>+                &lt;tbody&gt;
+                        &lt;tr&gt;
+                                &lt;td&gt;&lt;/td&gt;
+                                &lt;td&gt;&lt;?php printf( __( 'A member mentions you in an update using &quot;@%s&quot;', 'buddypress' ), bp_core_get_username( $bp-&gt;loggedin_user-&gt;id, $bp-&gt;loggedin_user-&gt;userdata-&gt;user_nicename, $bp-&gt;loggedin_user-&gt;userdata-&gt;user_login ) ) ?&gt;&lt;/td&gt;
+                                &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_activity_new_mention]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $bp-&gt;loggedin_user-&gt;id, 'notification_activity_new_mention' ) || 'yes' == get_usermeta( $bp-&gt;loggedin_user-&gt;id, 'notification_activity_new_mention' ) ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                                &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_activity_new_mention]&quot; value=&quot;no&quot; &lt;?php if ( 'no' == get_usermeta( $bp-&gt;loggedin_user-&gt;id, 'notification_activity_new_mention' ) ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                        &lt;/tr&gt;
+                        &lt;tr&gt;
+                                &lt;td&gt;&lt;/td&gt;
+                                &lt;td&gt;&lt;?php printf( __( &quot;A member replies to an update or comment you've posted&quot;, 'buddypress' ), $current_user-&gt;user_login ) ?&gt;&lt;/td&gt;
+                                &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_activity_new_reply]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $bp-&gt;loggedin_user-&gt;id, 'notification_activity_new_reply' ) || 'yes' == get_usermeta( $bp-&gt;loggedin_user-&gt;id, 'notification_activity_new_reply' ) ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                                &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_activity_new_reply]&quot; value=&quot;no&quot; &lt;?php if ( 'no' == get_usermeta( $bp-&gt;loggedin_user-&gt;id, 'notification_activity_new_reply' ) ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                        &lt;/tr&gt;
</ins><span class="cx"> 
</span><del>-                &lt;?php do_action( 'bp_activity_screen_notification_settings' ) ?&gt;
</del><ins>+                        &lt;?php do_action( 'bp_activity_screen_notification_settings' ) ?&gt;
+                &lt;/tbody&gt;
</ins><span class="cx">         &lt;/table&gt;
</span><span class="cx"> &lt;?php
</span><span class="cx"> }
</span></span></pre></div>
<a id="branches12bpfriendsphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-friends.php (3068 => 3069)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-friends.php        2010-06-26 23:30:43 UTC (rev 3068)
+++ branches/1.2/bp-friends.php        2010-06-27 00:29:31 UTC (rev 3069)
</span><span class="lines">@@ -142,26 +142,31 @@
</span><span class="cx"> function friends_screen_notification_settings() {
</span><span class="cx">         global $current_user; ?&gt;
</span><span class="cx">         &lt;table class=&quot;notification-settings&quot; id=&quot;friends-notification-settings&quot;&gt;
</span><del>-                &lt;tr&gt;
-                        &lt;th class=&quot;icon&quot;&gt;&lt;/th&gt;
-                        &lt;th class=&quot;title&quot;&gt;&lt;?php _e( 'Friends', 'buddypress' ) ?&gt;&lt;/th&gt;
-                        &lt;th class=&quot;yes&quot;&gt;&lt;?php _e( 'Yes', 'buddypress' ) ?&gt;&lt;/th&gt;
-                        &lt;th class=&quot;no&quot;&gt;&lt;?php _e( 'No', 'buddypress' )?&gt;&lt;/th&gt;
-                &lt;/tr&gt;
-                &lt;tr&gt;
-                        &lt;td&gt;&lt;/td&gt;
-                        &lt;td&gt;&lt;?php _e( 'A member sends you a friendship request', 'buddypress' ) ?&gt;&lt;/td&gt;
-                        &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_friends_friendship_request]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $current_user-&gt;id,'notification_friends_friendship_request') || 'yes' == get_usermeta( $current_user-&gt;id,'notification_friends_friendship_request') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                        &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_friends_friendship_request]&quot; value=&quot;no&quot; &lt;?php if ( get_usermeta( $current_user-&gt;id,'notification_friends_friendship_request') == 'no' ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                &lt;/tr&gt;
-                &lt;tr&gt;
-                        &lt;td&gt;&lt;/td&gt;
-                        &lt;td&gt;&lt;?php _e( 'A member accepts your friendship request', 'buddypress' ) ?&gt;&lt;/td&gt;
-                        &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_friends_friendship_accepted]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $current_user-&gt;id,'notification_friends_friendship_accepted') || 'yes' == get_usermeta( $current_user-&gt;id,'notification_friends_friendship_accepted') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                        &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_friends_friendship_accepted]&quot; value=&quot;no&quot; &lt;?php if ( 'no' == get_usermeta( $current_user-&gt;id,'notification_friends_friendship_accepted') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                &lt;/tr&gt;
</del><ins>+                &lt;thead&gt;
+                        &lt;tr&gt;
+                                &lt;th class=&quot;icon&quot;&gt;&lt;/th&gt;
+                                &lt;th class=&quot;title&quot;&gt;&lt;?php _e( 'Friends', 'buddypress' ) ?&gt;&lt;/th&gt;
+                                &lt;th class=&quot;yes&quot;&gt;&lt;?php _e( 'Yes', 'buddypress' ) ?&gt;&lt;/th&gt;
+                                &lt;th class=&quot;no&quot;&gt;&lt;?php _e( 'No', 'buddypress' )?&gt;&lt;/th&gt;
+                        &lt;/tr&gt;
+                &lt;/thead&gt;
</ins><span class="cx"> 
</span><del>-                &lt;?php do_action( 'friends_screen_notification_settings' ); ?&gt;
</del><ins>+                &lt;tbody&gt;
+                        &lt;tr&gt;
+                                &lt;td&gt;&lt;/td&gt;
+                                &lt;td&gt;&lt;?php _e( 'A member sends you a friendship request', 'buddypress' ) ?&gt;&lt;/td&gt;
+                                &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_friends_friendship_request]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $current_user-&gt;id,'notification_friends_friendship_request') || 'yes' == get_usermeta( $current_user-&gt;id,'notification_friends_friendship_request') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                                &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_friends_friendship_request]&quot; value=&quot;no&quot; &lt;?php if ( get_usermeta( $current_user-&gt;id,'notification_friends_friendship_request') == 'no' ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                        &lt;/tr&gt;
+                        &lt;tr&gt;
+                                &lt;td&gt;&lt;/td&gt;
+                                &lt;td&gt;&lt;?php _e( 'A member accepts your friendship request', 'buddypress' ) ?&gt;&lt;/td&gt;
+                                &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_friends_friendship_accepted]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $current_user-&gt;id,'notification_friends_friendship_accepted') || 'yes' == get_usermeta( $current_user-&gt;id,'notification_friends_friendship_accepted') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                                &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_friends_friendship_accepted]&quot; value=&quot;no&quot; &lt;?php if ( 'no' == get_usermeta( $current_user-&gt;id,'notification_friends_friendship_accepted') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                        &lt;/tr&gt;
+
+                        &lt;?php do_action( 'friends_screen_notification_settings' ); ?&gt;
+                &lt;/tbody&gt;
</ins><span class="cx">         &lt;/table&gt;
</span><span class="cx"> &lt;?php
</span><span class="cx"> }
</span></span></pre></div>
<a id="branches12bpgroupsphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-groups.php (3068 => 3069)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-groups.php        2010-06-26 23:30:43 UTC (rev 3068)
+++ branches/1.2/bp-groups.php        2010-06-27 00:29:31 UTC (rev 3069)
</span><span class="lines">@@ -961,38 +961,43 @@
</span><span class="cx"> function groups_screen_notification_settings() {
</span><span class="cx">         global $current_user; ?&gt;
</span><span class="cx">         &lt;table class=&quot;notification-settings&quot; id=&quot;groups-notification-settings&quot;&gt;
</span><del>-                &lt;tr&gt;
-                        &lt;th class=&quot;icon&quot;&gt;&lt;/th&gt;
-                        &lt;th class=&quot;title&quot;&gt;&lt;?php _e( 'Groups', 'buddypress' ) ?&gt;&lt;/th&gt;
-                        &lt;th class=&quot;yes&quot;&gt;&lt;?php _e( 'Yes', 'buddypress' ) ?&gt;&lt;/th&gt;
-                        &lt;th class=&quot;no&quot;&gt;&lt;?php _e( 'No', 'buddypress' )?&gt;&lt;/th&gt;
-                &lt;/tr&gt;
-                &lt;tr&gt;
-                        &lt;td&gt;&lt;/td&gt;
-                        &lt;td&gt;&lt;?php _e( 'A member invites you to join a group', 'buddypress' ) ?&gt;&lt;/td&gt;
-                        &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_groups_invite]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $current_user-&gt;id, 'notification_groups_invite') || 'yes' == get_usermeta( $current_user-&gt;id, 'notification_groups_invite') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                        &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_groups_invite]&quot; value=&quot;no&quot; &lt;?php if ( 'no' == get_usermeta( $current_user-&gt;id, 'notification_groups_invite') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                &lt;/tr&gt;
-                &lt;tr&gt;
-                        &lt;td&gt;&lt;/td&gt;
-                        &lt;td&gt;&lt;?php _e( 'Group information is updated', 'buddypress' ) ?&gt;&lt;/td&gt;
-                        &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_groups_group_updated]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $current_user-&gt;id, 'notification_groups_group_updated') || 'yes' == get_usermeta( $current_user-&gt;id, 'notification_groups_group_updated') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                        &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_groups_group_updated]&quot; value=&quot;no&quot; &lt;?php if ( 'no' == get_usermeta( $current_user-&gt;id, 'notification_groups_group_updated') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                &lt;/tr&gt;
-                &lt;tr&gt;
-                        &lt;td&gt;&lt;/td&gt;
-                        &lt;td&gt;&lt;?php _e( 'You are promoted to a group administrator or moderator', 'buddypress' ) ?&gt;&lt;/td&gt;
-                        &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_groups_admin_promotion]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $current_user-&gt;id, 'notification_groups_admin_promotion') || 'yes' == get_usermeta( $current_user-&gt;id, 'notification_groups_admin_promotion') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                        &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_groups_admin_promotion]&quot; value=&quot;no&quot; &lt;?php if ( 'no' == get_usermeta( $current_user-&gt;id, 'notification_groups_admin_promotion') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                &lt;/tr&gt;
-                &lt;tr&gt;
-                        &lt;td&gt;&lt;/td&gt;
-                        &lt;td&gt;&lt;?php _e( 'A member requests to join a private group for which you are an admin', 'buddypress' ) ?&gt;&lt;/td&gt;
-                        &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_groups_membership_request]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $current_user-&gt;id, 'notification_groups_membership_request') || 'yes' == get_usermeta( $current_user-&gt;id, 'notification_groups_membership_request') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                        &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_groups_membership_request]&quot; value=&quot;no&quot; &lt;?php if ( 'no' == get_usermeta( $current_user-&gt;id, 'notification_groups_membership_request') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                &lt;/tr&gt;
</del><ins>+                &lt;thead&gt;
+                        &lt;tr&gt;
+                                &lt;th class=&quot;icon&quot;&gt;&lt;/th&gt;
+                                &lt;th class=&quot;title&quot;&gt;&lt;?php _e( 'Groups', 'buddypress' ) ?&gt;&lt;/th&gt;
+                                &lt;th class=&quot;yes&quot;&gt;&lt;?php _e( 'Yes', 'buddypress' ) ?&gt;&lt;/th&gt;
+                                &lt;th class=&quot;no&quot;&gt;&lt;?php _e( 'No', 'buddypress' )?&gt;&lt;/th&gt;
+                        &lt;/tr&gt;
+                &lt;/thead&gt;
</ins><span class="cx"> 
</span><del>-                &lt;?php do_action( 'groups_screen_notification_settings' ); ?&gt;
</del><ins>+                &lt;tbody&gt;
+                        &lt;tr&gt;
+                                &lt;td&gt;&lt;/td&gt;
+                                &lt;td&gt;&lt;?php _e( 'A member invites you to join a group', 'buddypress' ) ?&gt;&lt;/td&gt;
+                                &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_groups_invite]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $current_user-&gt;id, 'notification_groups_invite') || 'yes' == get_usermeta( $current_user-&gt;id, 'notification_groups_invite') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                                &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_groups_invite]&quot; value=&quot;no&quot; &lt;?php if ( 'no' == get_usermeta( $current_user-&gt;id, 'notification_groups_invite') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                        &lt;/tr&gt;
+                        &lt;tr&gt;
+                                &lt;td&gt;&lt;/td&gt;
+                                &lt;td&gt;&lt;?php _e( 'Group information is updated', 'buddypress' ) ?&gt;&lt;/td&gt;
+                                &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_groups_group_updated]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $current_user-&gt;id, 'notification_groups_group_updated') || 'yes' == get_usermeta( $current_user-&gt;id, 'notification_groups_group_updated') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                                &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_groups_group_updated]&quot; value=&quot;no&quot; &lt;?php if ( 'no' == get_usermeta( $current_user-&gt;id, 'notification_groups_group_updated') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                        &lt;/tr&gt;
+                        &lt;tr&gt;
+                                &lt;td&gt;&lt;/td&gt;
+                                &lt;td&gt;&lt;?php _e( 'You are promoted to a group administrator or moderator', 'buddypress' ) ?&gt;&lt;/td&gt;
+                                &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_groups_admin_promotion]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $current_user-&gt;id, 'notification_groups_admin_promotion') || 'yes' == get_usermeta( $current_user-&gt;id, 'notification_groups_admin_promotion') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                                &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_groups_admin_promotion]&quot; value=&quot;no&quot; &lt;?php if ( 'no' == get_usermeta( $current_user-&gt;id, 'notification_groups_admin_promotion') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                        &lt;/tr&gt;
+                        &lt;tr&gt;
+                                &lt;td&gt;&lt;/td&gt;
+                                &lt;td&gt;&lt;?php _e( 'A member requests to join a private group for which you are an admin', 'buddypress' ) ?&gt;&lt;/td&gt;
+                                &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_groups_membership_request]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $current_user-&gt;id, 'notification_groups_membership_request') || 'yes' == get_usermeta( $current_user-&gt;id, 'notification_groups_membership_request') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                                &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_groups_membership_request]&quot; value=&quot;no&quot; &lt;?php if ( 'no' == get_usermeta( $current_user-&gt;id, 'notification_groups_membership_request') ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                        &lt;/tr&gt;
+
+                        &lt;?php do_action( 'groups_screen_notification_settings' ); ?&gt;
+                &lt;/tbody&gt;
</ins><span class="cx">         &lt;/table&gt;
</span><span class="cx"> &lt;?php
</span><span class="cx"> }
</span></span></pre></div>
<a id="branches12bpmessagesphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-messages.php (3068 => 3069)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-messages.php        2010-06-26 23:30:43 UTC (rev 3068)
+++ branches/1.2/bp-messages.php        2010-06-27 00:29:31 UTC (rev 3069)
</span><span class="lines">@@ -236,26 +236,31 @@
</span><span class="cx"> function messages_screen_notification_settings() {
</span><span class="cx">         global $current_user; ?&gt;
</span><span class="cx">         &lt;table class=&quot;notification-settings&quot; id=&quot;messages-notification-settings&quot;&gt;
</span><del>-                &lt;tr&gt;
-                        &lt;th class=&quot;icon&quot;&gt;&lt;/th&gt;
-                        &lt;th class=&quot;title&quot;&gt;&lt;?php _e( 'Messages', 'buddypress' ) ?&gt;&lt;/th&gt;
-                        &lt;th class=&quot;yes&quot;&gt;&lt;?php _e( 'Yes', 'buddypress' ) ?&gt;&lt;/th&gt;
-                        &lt;th class=&quot;no&quot;&gt;&lt;?php _e( 'No', 'buddypress' )?&gt;&lt;/th&gt;
-                &lt;/tr&gt;
-                &lt;tr&gt;
-                        &lt;td&gt;&lt;/td&gt;
-                        &lt;td&gt;&lt;?php _e( 'A member sends you a new message', 'buddypress' ) ?&gt;&lt;/td&gt;
-                        &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_messages_new_message]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $current_user-&gt;id, 'notification_messages_new_message' ) || 'yes' == get_usermeta( $current_user-&gt;id, 'notification_messages_new_message' ) ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                        &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_messages_new_message]&quot; value=&quot;no&quot; &lt;?php if ( 'no' == get_usermeta( $current_user-&gt;id, 'notification_messages_new_message' ) ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                &lt;/tr&gt;
-                &lt;tr&gt;
-                        &lt;td&gt;&lt;/td&gt;
-                        &lt;td&gt;&lt;?php _e( 'A new site notice is posted', 'buddypress' ) ?&gt;&lt;/td&gt;
-                        &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_messages_new_notice]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $current_user-&gt;id, 'notification_messages_new_notice' ) || 'yes' == get_usermeta( $current_user-&gt;id, 'notification_messages_new_notice' ) ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                        &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_messages_new_notice]&quot; value=&quot;no&quot; &lt;?php if ( 'no' == get_usermeta( $current_user-&gt;id, 'notification_messages_new_notice' ) ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
-                &lt;/tr&gt;
</del><ins>+                &lt;thead&gt;
+                        &lt;tr&gt;
+                                &lt;th class=&quot;icon&quot;&gt;&lt;/th&gt;
+                                &lt;th class=&quot;title&quot;&gt;&lt;?php _e( 'Messages', 'buddypress' ) ?&gt;&lt;/th&gt;
+                                &lt;th class=&quot;yes&quot;&gt;&lt;?php _e( 'Yes', 'buddypress' ) ?&gt;&lt;/th&gt;
+                                &lt;th class=&quot;no&quot;&gt;&lt;?php _e( 'No', 'buddypress' )?&gt;&lt;/th&gt;
+                        &lt;/tr&gt;
+                &lt;/thead&gt;
</ins><span class="cx"> 
</span><del>-                &lt;?php do_action( 'messages_screen_notification_settings' ) ?&gt;
</del><ins>+                &lt;tbody&gt;
+                        &lt;tr&gt;
+                                &lt;td&gt;&lt;/td&gt;
+                                &lt;td&gt;&lt;?php _e( 'A member sends you a new message', 'buddypress' ) ?&gt;&lt;/td&gt;
+                                &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_messages_new_message]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $current_user-&gt;id, 'notification_messages_new_message' ) || 'yes' == get_usermeta( $current_user-&gt;id, 'notification_messages_new_message' ) ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                                &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_messages_new_message]&quot; value=&quot;no&quot; &lt;?php if ( 'no' == get_usermeta( $current_user-&gt;id, 'notification_messages_new_message' ) ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                        &lt;/tr&gt;
+                        &lt;tr&gt;
+                                &lt;td&gt;&lt;/td&gt;
+                                &lt;td&gt;&lt;?php _e( 'A new site notice is posted', 'buddypress' ) ?&gt;&lt;/td&gt;
+                                &lt;td class=&quot;yes&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_messages_new_notice]&quot; value=&quot;yes&quot; &lt;?php if ( !get_usermeta( $current_user-&gt;id, 'notification_messages_new_notice' ) || 'yes' == get_usermeta( $current_user-&gt;id, 'notification_messages_new_notice' ) ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                                &lt;td class=&quot;no&quot;&gt;&lt;input type=&quot;radio&quot; name=&quot;notifications[notification_messages_new_notice]&quot; value=&quot;no&quot; &lt;?php if ( 'no' == get_usermeta( $current_user-&gt;id, 'notification_messages_new_notice' ) ) { ?&gt;checked=&quot;checked&quot; &lt;?php } ?&gt;/&gt;&lt;/td&gt;
+                        &lt;/tr&gt;
+
+                        &lt;?php do_action( 'messages_screen_notification_settings' ) ?&gt;
+                &lt;/tbody&gt;
</ins><span class="cx">         &lt;/table&gt;
</span><span class="cx"> &lt;?php
</span><span class="cx"> }
</span></span></pre></div>
<a id="branches12bpthemesbpdefault_incglobaljs"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-themes/bp-default/_inc/global.js (3068 => 3069)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-themes/bp-default/_inc/global.js        2010-06-26 23:30:43 UTC (rev 3068)
+++ branches/1.2/bp-themes/bp-default/_inc/global.js        2010-06-27 00:29:31 UTC (rev 3069)
</span><span class="lines">@@ -819,7 +819,7 @@
</span><span class="cx"> 
</span><span class="cx">         /** Alternate Highlighting ******************************************/
</span><span class="cx"> 
</span><del>-        jq('table tr, div.message-box').each( function(i) {
</del><ins>+        jq('body#bp-default table tbody tr, div.message-box').each( function(i) {
</ins><span class="cx">                 if ( i % 2 != 1 )
</span><span class="cx">                         jq(this).addClass('alt');
</span><span class="cx">         });
</span></span></pre></div>
<a id="branches12bpthemesbpdefaultforumsforumsloopphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-themes/bp-default/forums/forums-loop.php (3068 => 3069)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-themes/bp-default/forums/forums-loop.php        2010-06-26 23:30:43 UTC (rev 3068)
+++ branches/1.2/bp-themes/bp-default/forums/forums-loop.php        2010-06-27 00:29:31 UTC (rev 3069)
</span><span class="lines">@@ -19,56 +19,60 @@
</span><span class="cx">         &lt;?php do_action( 'bp_before_directory_forums_list' ) ?&gt;
</span><span class="cx"> 
</span><span class="cx">         &lt;table class=&quot;forum&quot;&gt;
</span><ins>+                &lt;thead&gt;
+                        &lt;tr&gt;
+                                &lt;th id=&quot;th-title&quot;&gt;&lt;?php _e( 'Topic Title', 'buddypress' ) ?&gt;&lt;/th&gt;
+                                &lt;th id=&quot;th-poster&quot;&gt;&lt;?php _e( 'Latest Poster', 'buddypress' ) ?&gt;&lt;/th&gt;
</ins><span class="cx"> 
</span><del>-                &lt;tr&gt;
-                        &lt;th id=&quot;th-title&quot;&gt;&lt;?php _e( 'Topic Title', 'buddypress' ) ?&gt;&lt;/th&gt;
-                        &lt;th id=&quot;th-poster&quot;&gt;&lt;?php _e( 'Latest Poster', 'buddypress' ) ?&gt;&lt;/th&gt;
</del><ins>+                                &lt;?php if ( !bp_is_group_forum() ) : ?&gt;
+                                        &lt;th id=&quot;th-group&quot;&gt;&lt;?php _e( 'Posted In Group', 'buddypress' ) ?&gt;&lt;/th&gt;
+                                &lt;?php endif; ?&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;?php if ( !bp_is_group_forum() ) : ?&gt;
-                                &lt;th id=&quot;th-group&quot;&gt;&lt;?php _e( 'Posted In Group', 'buddypress' ) ?&gt;&lt;/th&gt;
-                        &lt;?php endif; ?&gt;
</del><ins>+                                &lt;th id=&quot;th-postcount&quot;&gt;&lt;?php _e( 'Posts', 'buddypress' ) ?&gt;&lt;/th&gt;
+                                &lt;th id=&quot;th-freshness&quot;&gt;&lt;?php _e( 'Freshness', 'buddypress' ) ?&gt;&lt;/th&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;th id=&quot;th-postcount&quot;&gt;&lt;?php _e( 'Posts', 'buddypress' ) ?&gt;&lt;/th&gt;
-                        &lt;th id=&quot;th-freshness&quot;&gt;&lt;?php _e( 'Freshness', 'buddypress' ) ?&gt;&lt;/th&gt;
</del><ins>+                                &lt;?php do_action( 'bp_directory_forums_extra_cell_head' ) ?&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;?php do_action( 'bp_directory_forums_extra_cell_head' ) ?&gt;
</del><ins>+                        &lt;/tr&gt;
+                &lt;/thead&gt;
</ins><span class="cx"> 
</span><del>-                &lt;/tr&gt;
</del><ins>+                &lt;tbody&gt;
</ins><span class="cx"> 
</span><del>-                &lt;?php while ( bp_forum_topics() ) : bp_the_forum_topic(); ?&gt;
</del><ins>+                        &lt;?php while ( bp_forum_topics() ) : bp_the_forum_topic(); ?&gt;
</ins><span class="cx"> 
</span><del>-                &lt;tr class=&quot;&lt;?php bp_the_topic_css_class() ?&gt;&quot;&gt;
-                        &lt;td class=&quot;td-title&quot;&gt;
-                                &lt;a class=&quot;topic-title&quot; href=&quot;&lt;?php bp_the_topic_permalink() ?&gt;&quot; title=&quot;&lt;?php bp_the_topic_title() ?&gt; - &lt;?php _e( 'Permalink', 'buddypress' ) ?&gt;&quot;&gt;
-                                        &lt;?php bp_the_topic_title() ?&gt;
-                                &lt;/a&gt;
-                        &lt;/td&gt;
-                        &lt;td class=&quot;td-poster&quot;&gt;
-                                &lt;a href=&quot;&lt;?php bp_the_topic_permalink() ?&gt;&quot;&gt;&lt;?php bp_the_topic_last_poster_avatar( 'type=thumb&amp;width=20&amp;height=20' ) ?&gt;&lt;/a&gt;
-                                &lt;div class=&quot;poster-name&quot;&gt;&lt;?php bp_the_topic_last_poster_name() ?&gt;&lt;/div&gt;
-                        &lt;/td&gt;
</del><ins>+                        &lt;tr class=&quot;&lt;?php bp_the_topic_css_class() ?&gt;&quot;&gt;
+                                &lt;td class=&quot;td-title&quot;&gt;
+                                        &lt;a class=&quot;topic-title&quot; href=&quot;&lt;?php bp_the_topic_permalink() ?&gt;&quot; title=&quot;&lt;?php bp_the_topic_title() ?&gt; - &lt;?php _e( 'Permalink', 'buddypress' ) ?&gt;&quot;&gt;
+                                                &lt;?php bp_the_topic_title() ?&gt;
+                                        &lt;/a&gt;
+                                &lt;/td&gt;
+                                &lt;td class=&quot;td-poster&quot;&gt;
+                                        &lt;a href=&quot;&lt;?php bp_the_topic_permalink() ?&gt;&quot;&gt;&lt;?php bp_the_topic_last_poster_avatar( 'type=thumb&amp;width=20&amp;height=20' ) ?&gt;&lt;/a&gt;
+                                        &lt;div class=&quot;poster-name&quot;&gt;&lt;?php bp_the_topic_last_poster_name() ?&gt;&lt;/div&gt;
+                                &lt;/td&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;?php if ( !bp_is_group_forum() ) : ?&gt;
-                                &lt;td class=&quot;td-group&quot;&gt;
-                                        &lt;a href=&quot;&lt;?php bp_the_topic_object_permalink() ?&gt;&quot;&gt;&lt;?php bp_the_topic_object_avatar( 'type=thumb&amp;width=20&amp;height=20' ) ?&gt;&lt;/a&gt;
-                                        &lt;div class=&quot;object-name&quot;&gt;&lt;a href=&quot;&lt;?php bp_the_topic_object_permalink() ?&gt;&quot; title=&quot;&lt;?php bp_the_topic_object_name() ?&gt;&quot;&gt;&lt;?php bp_the_topic_object_name() ?&gt;&lt;/a&gt;&lt;/div&gt;
</del><ins>+                                &lt;?php if ( !bp_is_group_forum() ) : ?&gt;
+                                        &lt;td class=&quot;td-group&quot;&gt;
+                                                &lt;a href=&quot;&lt;?php bp_the_topic_object_permalink() ?&gt;&quot;&gt;&lt;?php bp_the_topic_object_avatar( 'type=thumb&amp;width=20&amp;height=20' ) ?&gt;&lt;/a&gt;
+                                                &lt;div class=&quot;object-name&quot;&gt;&lt;a href=&quot;&lt;?php bp_the_topic_object_permalink() ?&gt;&quot; title=&quot;&lt;?php bp_the_topic_object_name() ?&gt;&quot;&gt;&lt;?php bp_the_topic_object_name() ?&gt;&lt;/a&gt;&lt;/div&gt;
+                                        &lt;/td&gt;
+                                &lt;?php endif; ?&gt;
+
+                                &lt;td class=&quot;td-postcount&quot;&gt;
+                                        &lt;?php bp_the_topic_total_posts() ?&gt;
</ins><span class="cx">                                 &lt;/td&gt;
</span><del>-                        &lt;?php endif; ?&gt;
</del><ins>+                                &lt;td class=&quot;td-freshness&quot;&gt;
+                                        &lt;?php bp_the_topic_time_since_last_post() ?&gt;
+                                &lt;/td&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;td class=&quot;td-postcount&quot;&gt;
-                                &lt;?php bp_the_topic_total_posts() ?&gt;
-                        &lt;/td&gt;
-                        &lt;td class=&quot;td-freshness&quot;&gt;
-                                &lt;?php bp_the_topic_time_since_last_post() ?&gt;
-                        &lt;/td&gt;
</del><ins>+                                &lt;?php do_action( 'bp_directory_forums_extra_cell' ) ?&gt;
+                        &lt;/tr&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;?php do_action( 'bp_directory_forums_extra_cell' ) ?&gt;
-                &lt;/tr&gt;
</del><ins>+                        &lt;?php do_action( 'bp_directory_forums_extra_row' ) ?&gt;
</ins><span class="cx"> 
</span><del>-                &lt;?php do_action( 'bp_directory_forums_extra_row' ) ?&gt;
</del><ins>+                        &lt;?php endwhile; ?&gt;
</ins><span class="cx"> 
</span><del>-                &lt;?php endwhile; ?&gt;
-
</del><ins>+                &lt;/tbody&gt;
</ins><span class="cx">         &lt;/table&gt;
</span><span class="cx"> 
</span><span class="cx">         &lt;?php do_action( 'bp_after_directory_forums_list' ) ?&gt;
</span></span></pre>
</div>
</div>

</body>
</html>