<!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; ?>
</span><del>-        <table class="notification-settings" id="activity-notification-settings">
</del><ins>+        <table class="notification-settings zebra" id="activity-notification-settings">
</ins><span class="cx">                 <thead>
</span><span class="cx">                         <tr>
</span><span class="cx">                                 <th class="icon"></th>
</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"> <div class="bp-widget wp-profile">
</span><span class="cx">         <h4><?php _e( 'My Profile' ) ?></h4>
</span><span class="cx">
</span><del>-        <table class="wp-profile-fields">
</del><ins>+        <table class="wp-profile-fields zebra">
</ins><span class="cx">                 <?php if ( $ud->display_name ) { ?>
</span><span class="cx">                 <tr id="wp_displayname">
</span><span class="cx">                         <td class="label">
</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; ?>
</span><del>-        <table class="notification-settings" id="friends-notification-settings">
</del><ins>+        <table class="notification-settings zebra" id="friends-notification-settings">
</ins><span class="cx">                 <thead>
</span><span class="cx">                         <tr>
</span><span class="cx">                                 <th class="icon"></th>
</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; ?>
</span><del>-        <table class="notification-settings" id="groups-notification-settings">
</del><ins>+        <table class="notification-settings zebra" id="groups-notification-settings">
</ins><span class="cx">                 <thead>
</span><span class="cx">                         <tr>
</span><span class="cx">                                 <th class="icon"></th>
</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; ?>
</span><del>-        <table class="notification-settings" id="messages-notification-settings">
</del><ins>+        <table class="notification-settings zebra" id="messages-notification-settings">
</ins><span class="cx">                 <thead>
</span><span class="cx">                         <tr>
</span><span class="cx">                                 <th class="icon"></th>
</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">         <?php do_action( 'bp_before_directory_forums_list' ) ?>
</span><span class="cx">
</span><del>-        <table class="forum">
</del><ins>+        <table class="forum zebra">
</ins><span class="cx">                 <thead>
</span><span class="cx">                         <tr>
</span><span class="cx">                                 <th id="th-title"><?php _e( 'Topic Title', 'buddypress' ) ?></th>
</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">         <?php do_action( 'bp_after_member_messages_pagination' ) ?>
</span><span class="cx">         <?php do_action( 'bp_before_member_messages_threads' ) ?>
</span><span class="cx">
</span><del>-        <table id="message-threads">
</del><ins>+        <table id="message-threads" class="zebra">
</ins><span class="cx">                 <?php while ( bp_message_threads() ) : bp_message_thread(); ?>
</span><span class="cx">
</span><span class="cx">                         <tr id="m-<?php bp_message_thread_id() ?>"<?php if ( bp_message_thread_has_unread() ) : ?> class="unread"<?php else: ?> class="read"<?php endif; ?>>
</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">         <?php do_action( 'bp_after_notices_pagination' ) ?>
</span><span class="cx">         <?php do_action( 'bp_before_notices' ) ?>
</span><span class="cx">
</span><del>-        <table id="message-threads">
</del><ins>+        <table id="message-threads" class="zebra">
</ins><span class="cx">                 <?php while ( bp_message_threads() ) : bp_message_thread(); ?>
</span><span class="cx">                         <tr>
</span><span class="cx">                                 <td width="1%">
</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">                                                 <h4><?php bp_the_profile_group_name() ?></h4>
</span><span class="cx">                                         <?php endif; ?>
</span><span class="cx">
</span><del>-                                        <table class="profile-fields">
</del><ins>+                                        <table class="profile-fields zebra">
</ins><span class="cx">                                                 <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
</span><span class="cx">
</span><span class="cx">                                                         <?php if ( bp_field_has_data() ) : ?>
</span></span></pre>
</div>
</div>
</body>
</html>