<!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] [3111] branches/1.2: Fixes #2465 and #2475, for real this time
 .</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd>3111</dd>
<dt>Author</dt> <dd>johnjamesjacoby</dd>
<dt>Date</dt> <dd>2010-06-29 09:55:44 +0000 (Tue, 29 Jun 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Fixes #2465 and #2475, for real this time.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#branches12bpactivityphp">branches/1.2/bp-activity.php</a></li>
<li><a href="#branches12bpcorebpcoretemplatetagsphp">branches/1.2/bp-core/bp-core-templatetags.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>
<li><a href="#branches12bpthemesbpdefaultmemberssinglemessagesmessagesloopphp">branches/1.2/bp-themes/bp-default/members/single/messages/messages-loop.php</a></li>
<li><a href="#branches12bpthemesbpdefaultmemberssinglemessagesnoticesloopphp">branches/1.2/bp-themes/bp-default/members/single/messages/notices-loop.php</a></li>
<li><a href="#branches12bpthemesbpdefaultmemberssingleprofileprofileloopphp">branches/1.2/bp-themes/bp-default/members/single/profile/profile-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 (3110 => 3111)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-activity.php        2010-06-29 02:00:51 UTC (rev 3110)
+++ branches/1.2/bp-activity.php        2010-06-29 09:55:44 UTC (rev 3111)
</span><span class="lines">@@ -261,7 +261,7 @@
</span><span class="cx"> 
</span><span class="cx"> function bp_activity_screen_notification_settings() {
</span><span class="cx">         global $bp; ?&gt;
</span><del>-        &lt;table class=&quot;notification-settings&quot; id=&quot;activity-notification-settings&quot;&gt;
</del><ins>+        &lt;table class=&quot;notification-settings zebra&quot; id=&quot;activity-notification-settings&quot;&gt;
</ins><span class="cx">                 &lt;thead&gt;
</span><span class="cx">                         &lt;tr&gt;
</span><span class="cx">                                 &lt;th class=&quot;icon&quot;&gt;&lt;/th&gt;
</span></span></pre></div>
<a id="branches12bpcorebpcoretemplatetagsphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-core/bp-core-templatetags.php (3110 => 3111)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-core/bp-core-templatetags.php        2010-06-29 02:00:51 UTC (rev 3110)
+++ branches/1.2/bp-core/bp-core-templatetags.php        2010-06-29 09:55:44 UTC (rev 3111)
</span><span class="lines">@@ -762,7 +762,7 @@
</span><span class="cx"> &lt;div class=&quot;bp-widget wp-profile&quot;&gt;
</span><span class="cx">         &lt;h4&gt;&lt;?php _e( 'My Profile' ) ?&gt;&lt;/h4&gt;
</span><span class="cx"> 
</span><del>-        &lt;table class=&quot;wp-profile-fields&quot;&gt;
</del><ins>+        &lt;table class=&quot;wp-profile-fields zebra&quot;&gt;
</ins><span class="cx">                 &lt;?php if ( $ud-&gt;display_name ) { ?&gt;
</span><span class="cx">                 &lt;tr id=&quot;wp_displayname&quot;&gt;
</span><span class="cx">                         &lt;td class=&quot;label&quot;&gt;
</span></span></pre></div>
<a id="branches12bpfriendsphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-friends.php (3110 => 3111)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-friends.php        2010-06-29 02:00:51 UTC (rev 3110)
+++ branches/1.2/bp-friends.php        2010-06-29 09:55:44 UTC (rev 3111)
</span><span class="lines">@@ -141,7 +141,7 @@
</span><span class="cx"> 
</span><span class="cx"> function friends_screen_notification_settings() {
</span><span class="cx">         global $current_user; ?&gt;
</span><del>-        &lt;table class=&quot;notification-settings&quot; id=&quot;friends-notification-settings&quot;&gt;
</del><ins>+        &lt;table class=&quot;notification-settings zebra&quot; id=&quot;friends-notification-settings&quot;&gt;
</ins><span class="cx">                 &lt;thead&gt;
</span><span class="cx">                         &lt;tr&gt;
</span><span class="cx">                                 &lt;th class=&quot;icon&quot;&gt;&lt;/th&gt;
</span></span></pre></div>
<a id="branches12bpgroupsphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-groups.php (3110 => 3111)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-groups.php        2010-06-29 02:00:51 UTC (rev 3110)
+++ branches/1.2/bp-groups.php        2010-06-29 09:55:44 UTC (rev 3111)
</span><span class="lines">@@ -960,7 +960,7 @@
</span><span class="cx"> 
</span><span class="cx"> function groups_screen_notification_settings() {
</span><span class="cx">         global $current_user; ?&gt;
</span><del>-        &lt;table class=&quot;notification-settings&quot; id=&quot;groups-notification-settings&quot;&gt;
</del><ins>+        &lt;table class=&quot;notification-settings zebra&quot; id=&quot;groups-notification-settings&quot;&gt;
</ins><span class="cx">                 &lt;thead&gt;
</span><span class="cx">                         &lt;tr&gt;
</span><span class="cx">                                 &lt;th class=&quot;icon&quot;&gt;&lt;/th&gt;
</span></span></pre></div>
<a id="branches12bpmessagesphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-messages.php (3110 => 3111)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-messages.php        2010-06-29 02:00:51 UTC (rev 3110)
+++ branches/1.2/bp-messages.php        2010-06-29 09:55:44 UTC (rev 3111)
</span><span class="lines">@@ -235,7 +235,7 @@
</span><span class="cx"> 
</span><span class="cx"> function messages_screen_notification_settings() {
</span><span class="cx">         global $current_user; ?&gt;
</span><del>-        &lt;table class=&quot;notification-settings&quot; id=&quot;messages-notification-settings&quot;&gt;
</del><ins>+        &lt;table class=&quot;notification-settings zebra&quot; id=&quot;messages-notification-settings&quot;&gt;
</ins><span class="cx">                 &lt;thead&gt;
</span><span class="cx">                         &lt;tr&gt;
</span><span class="cx">                                 &lt;th class=&quot;icon&quot;&gt;&lt;/th&gt;
</span></span></pre></div>
<a id="branches12bpthemesbpdefault_incglobaljs"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-themes/bp-default/_inc/global.js (3110 => 3111)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-themes/bp-default/_inc/global.js        2010-06-29 02:00:51 UTC (rev 3110)
+++ branches/1.2/bp-themes/bp-default/_inc/global.js        2010-06-29 09:55:44 UTC (rev 3111)
</span><span class="lines">@@ -819,13 +819,19 @@
</span><span class="cx"> 
</span><span class="cx">         /** Alternate Highlighting ******************************************/
</span><span class="cx"> 
</span><ins>+        jq('body#bp-default table.zebra tbody tr').mouseover( function() {
+                jq(this).addClass('over');
+        }).mouseout( function() {
+                jq(this).removeClass('over');
+        });
+                
+        jq('body#bp-default table.zebra tbody tr:odd').addClass('alt');
+
</ins><span class="cx">         jq('div.message-box').each( function(i) {
</span><span class="cx">                 if ( i % 2 == 1 )
</span><span class="cx">                         jq(this).addClass('alt');
</span><span class="cx">         });
</span><span class="cx"> 
</span><del>-        jq('body#bp-default table tbody tr:nth-child(even)').addClass('alt');
-
</del><span class="cx">         /** Private Messaging ******************************************/
</span><span class="cx"> 
</span><span class="cx">         /* AJAX send reply functionality */
</span></span></pre></div>
<a id="branches12bpthemesbpdefaultforumsforumsloopphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-themes/bp-default/forums/forums-loop.php (3110 => 3111)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-themes/bp-default/forums/forums-loop.php        2010-06-29 02:00:51 UTC (rev 3110)
+++ branches/1.2/bp-themes/bp-default/forums/forums-loop.php        2010-06-29 09:55:44 UTC (rev 3111)
</span><span class="lines">@@ -14,7 +14,7 @@
</span><span class="cx"> 
</span><span class="cx">         &lt;?php do_action( 'bp_before_directory_forums_list' ) ?&gt;
</span><span class="cx"> 
</span><del>-        &lt;table class=&quot;forum&quot;&gt;
</del><ins>+        &lt;table class=&quot;forum zebra&quot;&gt;
</ins><span class="cx">                 &lt;thead&gt;
</span><span class="cx">                         &lt;tr&gt;
</span><span class="cx">                                 &lt;th id=&quot;th-title&quot;&gt;&lt;?php _e( 'Topic Title', 'buddypress' ) ?&gt;&lt;/th&gt;
</span></span></pre></div>
<a id="branches12bpthemesbpdefaultmemberssinglemessagesmessagesloopphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-themes/bp-default/members/single/messages/messages-loop.php (3110 => 3111)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-themes/bp-default/members/single/messages/messages-loop.php        2010-06-29 02:00:51 UTC (rev 3110)
+++ branches/1.2/bp-themes/bp-default/members/single/messages/messages-loop.php        2010-06-29 09:55:44 UTC (rev 3111)
</span><span class="lines">@@ -17,7 +17,7 @@
</span><span class="cx">         &lt;?php do_action( 'bp_after_member_messages_pagination' ) ?&gt;
</span><span class="cx">         &lt;?php do_action( 'bp_before_member_messages_threads' ) ?&gt;
</span><span class="cx"> 
</span><del>-        &lt;table id=&quot;message-threads&quot;&gt;
</del><ins>+        &lt;table id=&quot;message-threads&quot; class=&quot;zebra&quot;&gt;
</ins><span class="cx">                 &lt;?php while ( bp_message_threads() ) : bp_message_thread(); ?&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;tr id=&quot;m-&lt;?php bp_message_thread_id() ?&gt;&quot;&lt;?php if ( bp_message_thread_has_unread() ) : ?&gt; class=&quot;unread&quot;&lt;?php else: ?&gt; class=&quot;read&quot;&lt;?php endif; ?&gt;&gt;
</span></span></pre></div>
<a id="branches12bpthemesbpdefaultmemberssinglemessagesnoticesloopphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-themes/bp-default/members/single/messages/notices-loop.php (3110 => 3111)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-themes/bp-default/members/single/messages/notices-loop.php        2010-06-29 02:00:51 UTC (rev 3110)
+++ branches/1.2/bp-themes/bp-default/members/single/messages/notices-loop.php        2010-06-29 09:55:44 UTC (rev 3111)
</span><span class="lines">@@ -17,7 +17,7 @@
</span><span class="cx">         &lt;?php do_action( 'bp_after_notices_pagination' ) ?&gt;
</span><span class="cx">         &lt;?php do_action( 'bp_before_notices' ) ?&gt;
</span><span class="cx"> 
</span><del>-        &lt;table id=&quot;message-threads&quot;&gt;
</del><ins>+        &lt;table id=&quot;message-threads&quot; class=&quot;zebra&quot;&gt;
</ins><span class="cx">                 &lt;?php while ( bp_message_threads() ) : bp_message_thread(); ?&gt;
</span><span class="cx">                         &lt;tr&gt;
</span><span class="cx">                                 &lt;td width=&quot;1%&quot;&gt;
</span></span></pre></div>
<a id="branches12bpthemesbpdefaultmemberssingleprofileprofileloopphp"></a>
<div class="modfile"><h4>Modified: branches/1.2/bp-themes/bp-default/members/single/profile/profile-loop.php (3110 => 3111)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.2/bp-themes/bp-default/members/single/profile/profile-loop.php        2010-06-29 02:00:51 UTC (rev 3110)
+++ branches/1.2/bp-themes/bp-default/members/single/profile/profile-loop.php        2010-06-29 09:55:44 UTC (rev 3111)
</span><span class="lines">@@ -15,7 +15,7 @@
</span><span class="cx">                                                 &lt;h4&gt;&lt;?php bp_the_profile_group_name() ?&gt;&lt;/h4&gt;
</span><span class="cx">                                         &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><del>-                                        &lt;table class=&quot;profile-fields&quot;&gt;
</del><ins>+                                        &lt;table class=&quot;profile-fields zebra&quot;&gt;
</ins><span class="cx">                                                 &lt;?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?&gt;
</span><span class="cx"> 
</span><span class="cx">                                                         &lt;?php if ( bp_field_has_data() ) : ?&gt;
</span></span></pre>
</div>
</div>

</body>
</html>