<!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] [2197] trunk: Default theme css fixes and template updates.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd>2197</dd>
<dt>Author</dt> <dd>apeatling</dd>
<dt>Date</dt> <dd>2009-12-18 09:34:41 +0000 (Fri, 18 Dec 2009)</dd>
</dl>

<h3>Log Message</h3>
<pre>Default theme css fixes and template updates.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkbpcorebpcoretemplatetagsphp">trunk/bp-core/bp-core-templatetags.php</a></li>
<li><a href="#trunkbpthemesbpdefaultgroupssingleforumeditphp">trunk/bp-themes/bp-default/groups/single/forum/edit.php</a></li>
<li><a href="#trunkbpthemesbpdefaultgroupssingleforumphp">trunk/bp-themes/bp-default/groups/single/forum.php</a></li>
<li><a href="#trunkbpthemesbpdefaultgroupssinglehomephp">trunk/bp-themes/bp-default/groups/single/home.php</a></li>
<li><a href="#trunkbpthemesbpdefaultgroupssinglepluginsphp">trunk/bp-themes/bp-default/groups/single/plugins.php</a></li>
<li><a href="#trunkbpthemesbpdefaultmemberssinglehomephp">trunk/bp-themes/bp-default/members/single/home.php</a></li>
<li><a href="#trunkbpthemesbpdefaultmemberssinglepluginsphp">trunk/bp-themes/bp-default/members/single/plugins.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkbpcorebpcoretemplatetagsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-templatetags.php (2196 => 2197)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-templatetags.php        2009-12-17 14:11:11 UTC (rev 2196)
+++ trunk/bp-core/bp-core-templatetags.php        2009-12-18 09:34:41 UTC (rev 2197)
</span><span class="lines">@@ -1388,7 +1388,7 @@
</span><span class="cx"> function bp_is_user_activity() {
</span><span class="cx">         global $bp;
</span><span class="cx"> 
</span><del>-        if ( BP_ACTIVITY_SLUG == $bp-&gt;current_component &amp;&amp; ( !$bp-&gt;current_action || 'my-activity' == $bp-&gt;current_action ) )
</del><ins>+        if ( BP_ACTIVITY_SLUG == $bp-&gt;current_component )
</ins><span class="cx">                 return true;
</span><span class="cx"> 
</span><span class="cx">         return false;
</span><span class="lines">@@ -1451,7 +1451,7 @@
</span><span class="cx"> function bp_is_user_groups() {
</span><span class="cx">         global $bp;
</span><span class="cx"> 
</span><del>-        if ( BP_GROUPS_SLUG == $bp-&gt;current_component &amp;&amp; ( !$bp-&gt;current_action || 'my-groups' == $bp-&gt;current_action ) )
</del><ins>+        if ( BP_GROUPS_SLUG == $bp-&gt;current_component )
</ins><span class="cx">                 return true;
</span><span class="cx"> 
</span><span class="cx">         return false;
</span><span class="lines">@@ -1521,6 +1521,15 @@
</span><span class="cx">         return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+function bp_is_group_forum_topic_edit() {
+        global $bp;
+
+        if ( BP_GROUPS_SLUG == $bp-&gt;current_component &amp;&amp; $bp-&gt;is_single_item &amp;&amp; 'forum' == $bp-&gt;current_action &amp;&amp; 'topic' == $bp-&gt;action_variables[0] &amp;&amp; 'edit' == $bp-&gt;action_variables[2] )
+                return true;
+
+        return false;
+}
+
</ins><span class="cx"> function bp_is_group_members() {
</span><span class="cx">         global $bp;
</span><span class="cx"> 
</span><span class="lines">@@ -1533,12 +1542,21 @@
</span><span class="cx"> function bp_is_group_invites() {
</span><span class="cx">         global $bp;
</span><span class="cx"> 
</span><del>-        if ( BP_GROUPS_SLUG == $bp-&gt;current_component &amp;&amp; 'invites' == $bp-&gt;current_action )
</del><ins>+        if ( BP_GROUPS_SLUG == $bp-&gt;current_component &amp;&amp; 'send-invites' == $bp-&gt;current_action )
</ins><span class="cx">                 return true;
</span><span class="cx"> 
</span><span class="cx">         return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+function bp_is_group_membership_request() {
+        global $bp;
+
+        if ( BP_GROUPS_SLUG == $bp-&gt;current_component &amp;&amp; 'request-membership' == $bp-&gt;current_action )
+                return true;
+
+        return false;
+}
+
</ins><span class="cx"> function bp_is_group_leave() {
</span><span class="cx">         global $bp;
</span><span class="cx"> 
</span><span class="lines">@@ -1560,7 +1578,7 @@
</span><span class="cx"> function bp_is_user_blogs() {
</span><span class="cx">         global $bp;
</span><span class="cx"> 
</span><del>-        if ( BP_BLOGS_SLUG == $bp-&gt;current_component &amp;&amp; ( !$bp-&gt;current_action || 'my-blogs' == $bp-&gt;current_action ) )
</del><ins>+        if ( BP_BLOGS_SLUG == $bp-&gt;current_component )
</ins><span class="cx">                 return true;
</span><span class="cx"> 
</span><span class="cx">         return false;
</span><span class="lines">@@ -1596,7 +1614,7 @@
</span><span class="cx"> function bp_is_user_friends() {
</span><span class="cx">         global $bp;
</span><span class="cx"> 
</span><del>-        if ( BP_FRIENDS_SLUG == $bp-&gt;current_component &amp;&amp; ( !$bp-&gt;current_action || 'my-friends' == $bp-&gt;current_action ) )
</del><ins>+        if ( BP_FRIENDS_SLUG == $bp-&gt;current_component )
</ins><span class="cx">                 return true;
</span><span class="cx"> 
</span><span class="cx">         return false;
</span><span class="lines">@@ -1611,6 +1629,15 @@
</span><span class="cx">         return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+function bp_is_user_messages() {
+        global $bp;
+
+        if ( BP_MESSAGES_SLUG == $bp-&gt;current_component )
+                return true;
+
+        return false;
+}
+
</ins><span class="cx"> function bp_is_messages_inbox() {
</span><span class="cx">         global $bp;
</span><span class="cx"> 
</span><span class="lines">@@ -1768,6 +1795,9 @@
</span><span class="cx">                 if ( bp_is_group_forum_topic() )
</span><span class="cx">                         $bp_classes[] = 'group-forum-topic';
</span><span class="cx"> 
</span><ins>+                if ( bp_is_group_forum_topic_edit() )
+                        $bp_classes[] = 'group-forum-topic-edit';
+
</ins><span class="cx">                 if ( bp_is_group_forum() )
</span><span class="cx">                         $bp_classes[] = 'group-forum';
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultgroupssingleforumeditphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/groups/single/forum/edit.php (2196 => 2197)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/groups/single/forum/edit.php        2009-12-17 14:11:11 UTC (rev 2196)
+++ trunk/bp-themes/bp-default/groups/single/forum/edit.php        2009-12-18 09:34:41 UTC (rev 2197)
</span><span class="lines">@@ -1,100 +1,68 @@
</span><del>-&lt;?php get_header() ?&gt;
</del><ins>+&lt;?php if ( bp_has_topic_posts() ) : ?&gt;
</ins><span class="cx"> 
</span><del>-&lt;div class=&quot;content-header&quot;&gt;
-        
-&lt;/div&gt;
</del><ins>+        &lt;form action=&quot;&lt;?php bp_forum_topic_action() ?&gt;&quot; method=&quot;post&quot; id=&quot;forum-topic-form&quot; class=&quot;standard-form&quot;&gt;
</ins><span class="cx"> 
</span><del>-&lt;div id=&quot;content&quot;&gt;
-        &lt;?php do_action( 'template_notices' ) // (error/success feedback) ?&gt;
-        
-        &lt;?php if ( bp_has_groups() ) : while ( bp_groups() ) : bp_the_group(); ?&gt;
-        
-        &lt;div class=&quot;left-menu&quot;&gt;
-                &lt;?php locate_template( array( 'groups/single/menu.php' ), true ) ?&gt;
-        &lt;/div&gt;
</del><ins>+                &lt;div id=&quot;topic-meta&quot;&gt;
+                        &lt;h3&gt;&lt;?php bp_the_topic_title() ?&gt; (&lt;?php bp_the_topic_total_post_count() ?&gt;)&lt;/h3&gt;
+                        &lt;a class=&quot;button&quot; href=&quot;&lt;?php bp_forum_permalink() ?&gt;/&quot;&gt;&amp;larr; &lt;?php _e( 'Group Forum', 'buddypress' ) ?&gt;&lt;/a&gt; &amp;nbsp; &lt;a class=&quot;button&quot; href=&quot;&lt;?php bp_forum_directory_permalink() ?&gt;/&quot;&gt;&lt;?php _e( 'Group Forum Directory', 'buddypress') ?&gt;&lt;/a&gt;&lt;/span&gt;
</ins><span class="cx"> 
</span><del>-        &lt;div class=&quot;main-column&quot;&gt;
-                &lt;div class=&quot;inner-tube&quot;&gt;
-                        
-                        &lt;div id=&quot;group-name&quot;&gt;
-                                &lt;h1&gt;&lt;a href=&quot;&lt;?php bp_group_permalink() ?&gt;&quot;&gt;&lt;?php bp_group_name() ?&gt;&lt;/a&gt;&lt;/h1&gt;
-                                &lt;p class=&quot;status&quot;&gt;&lt;?php bp_group_type() ?&gt;&lt;/p&gt;
-                        &lt;/div&gt;
</del><ins>+                        &lt;?php if ( bp_group_is_admin() || bp_group_is_mod() || bp_get_the_topic_is_mine() ) : ?&gt;
+                                &lt;div class=&quot;admin-links&quot;&gt;&lt;?php bp_the_topic_admin_links() ?&gt;&lt;/div&gt;
+                        &lt;?php endif; ?&gt;
+                &lt;/div&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;div class=&quot;bp-widget&quot;&gt;
-                                &lt;?php if ( bp_has_topic_posts() ) : ?&gt;
-                                &lt;form action=&quot;&lt;?php bp_forum_topic_action() ?&gt;&quot; method=&quot;post&quot; id=&quot;forum-topic-form&quot;&gt;
-                        
-                                        &lt;h4&gt;&lt;?php _e( 'Forum', 'buddypress' ); ?&gt;&lt;/h4&gt;
-                                
-                                        &lt;ul id=&quot;topic-post-list&quot; class=&quot;item-list&quot;&gt;
-                                                &lt;li id=&quot;topic-meta&quot;&gt;
-                                                        &lt;a href=&quot;&lt;?php bp_forum_permalink() ?&gt;&quot;&gt;&lt;?php _e( 'Forum', 'buddypress') ?&gt;&lt;/a&gt; &amp;raquo; 
-                                                        &lt;strong&gt;&lt;?php bp_the_topic_title() ?&gt; (&lt;?php bp_the_topic_total_post_count() ?&gt;)&lt;/strong&gt;
-                                                &lt;/li&gt;
-                                        &lt;/ul&gt;
-                                        
-                                        &lt;?php if ( bp_group_is_member() ) : ?&gt;
-                                                
-                                                &lt;?php if ( bp_is_edit_topic() ) : ?&gt;
-                                                        
-                                                        &lt;div id=&quot;edit-topic&quot;&gt;
</del><ins>+                &lt;?php if ( bp_group_is_member() ) : ?&gt;
</ins><span class="cx"> 
</span><del>-                                                                &lt;?php do_action( 'groups_forum_edit_topic_before' ) ?&gt;
-                                                        
-                                                                &lt;p&gt;&lt;strong&gt;&lt;?php _e( 'Edit Topic:', 'buddypress' ) ?&gt;&lt;/strong&gt;&lt;/p&gt;
-                                                        
-                                                                &lt;label for=&quot;topic_title&quot;&gt;&lt;?php _e( 'Title:', 'buddypress' ) ?&gt;&lt;/label&gt;
-                                                                &lt;input type=&quot;text&quot; name=&quot;topic_title&quot; id=&quot;topic_title&quot; value=&quot;&lt;?php bp_the_topic_title() ?&gt;&quot; /&gt;
-                                
-                                                                &lt;label for=&quot;topic_text&quot;&gt;&lt;?php _e( 'Content:', 'buddypress' ) ?&gt;&lt;/label&gt;
-                                                                &lt;textarea name=&quot;topic_text&quot; id=&quot;topic_text&quot;&gt;&lt;?php bp_the_topic_text() ?&gt;&lt;/textarea&gt;
-                                        
-                                                                &lt;?php do_action( 'groups_forum_edit_topic_after' ) ?&gt;
-                                        
-                                                                &lt;p class=&quot;submit&quot;&gt;&lt;input type=&quot;submit&quot; name=&quot;save_changes&quot; id=&quot;save_changes&quot; value=&quot;&lt;?php _e( 'Save Changes', 'buddypress' ) ?&gt;&quot; /&gt;&lt;/p&gt;
-                                                        
-                                                                &lt;?php wp_nonce_field( 'bp_forums_edit_topic' ) ?&gt;
-                                                        
-                                                        &lt;/div&gt;
-                                                        
-                                                &lt;?php else : ?&gt;
-                                                        
-                                                        &lt;div id=&quot;edit-post&quot;&gt;
</del><ins>+                        &lt;?php if ( bp_is_edit_topic() ) : ?&gt;
</ins><span class="cx"> 
</span><del>-                                                                &lt;?php do_action( 'groups_forum_edit_post_before' ) ?&gt;
-                                                        
-                                                                &lt;p&gt;&lt;strong&gt;&lt;?php _e( 'Edit Post:', 'buddypress' ) ?&gt;&lt;/strong&gt;&lt;/p&gt;
</del><ins>+                                &lt;div id=&quot;edit-topic&quot;&gt;
</ins><span class="cx"> 
</span><del>-                                                                &lt;textarea name=&quot;post_text&quot; id=&quot;post_text&quot;&gt;&lt;?php bp_the_topic_post_edit_text() ?&gt;&lt;/textarea&gt;
-                
-                                                                &lt;?php do_action( 'groups_forum_edit_post_after' ) ?&gt;
-                                        
-                                                                &lt;p class=&quot;submit&quot;&gt;&lt;input type=&quot;submit&quot; name=&quot;save_changes&quot; id=&quot;save_changes&quot; value=&quot;&lt;?php _e( 'Save Changes', 'buddypress' ) ?&gt;&quot; /&gt;&lt;/p&gt;
-                                                        
-                                                                &lt;?php wp_nonce_field( 'bp_forums_edit_post' ) ?&gt;
-                                                        
-                                                        &lt;/div&gt;
-                                                        
-                                                &lt;?php endif; ?&gt;
-                                        
-                                        &lt;?php endif; ?&gt;
-                                        
-                                &lt;/form&gt;        
-                                &lt;?php else: ?&gt;
</del><ins>+                                        &lt;?php do_action( 'groups_forum_edit_topic_before' ) ?&gt;
</ins><span class="cx"> 
</span><del>-                                        &lt;div id=&quot;message&quot; class=&quot;info&quot;&gt;
-                                                &lt;p&gt;&lt;?php _e( 'This topic does not exist.', 'buddypress' ) ?&gt;&lt;/p&gt;
-                                        &lt;/div&gt;
</del><ins>+                                        &lt;p&gt;&lt;strong&gt;&lt;?php _e( 'Edit Topic:', 'buddypress' ) ?&gt;&lt;/strong&gt;&lt;/p&gt;
</ins><span class="cx"> 
</span><del>-                                &lt;?php endif;?&gt;
</del><ins>+                                        &lt;label for=&quot;topic_title&quot;&gt;&lt;?php _e( 'Title:', 'buddypress' ) ?&gt;&lt;/label&gt;
+                                        &lt;input type=&quot;text&quot; name=&quot;topic_title&quot; id=&quot;topic_title&quot; value=&quot;&lt;?php bp_the_topic_title() ?&gt;&quot; /&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;/div&gt;
-                        
-                &lt;/div&gt;
-        &lt;/div&gt;
</del><ins>+                                        &lt;label for=&quot;topic_text&quot;&gt;&lt;?php _e( 'Content:', 'buddypress' ) ?&gt;&lt;/label&gt;
+                                        &lt;textarea name=&quot;topic_text&quot; id=&quot;topic_text&quot;&gt;&lt;?php bp_the_topic_text() ?&gt;&lt;/textarea&gt;
</ins><span class="cx"> 
</span><del>-        &lt;?php endwhile; endif; ?&gt;
-&lt;/div&gt;
</del><ins>+                                        &lt;?php do_action( 'groups_forum_edit_topic_after' ) ?&gt;
</ins><span class="cx"> 
</span><del>-&lt;?php get_footer() ?&gt;
</del><ins>+                                        &lt;p class=&quot;submit&quot;&gt;&lt;input type=&quot;submit&quot; name=&quot;save_changes&quot; id=&quot;save_changes&quot; value=&quot;&lt;?php _e( 'Save Changes', 'buddypress' ) ?&gt;&quot; /&gt;&lt;/p&gt;
+
+                                        &lt;?php wp_nonce_field( 'bp_forums_edit_topic' ) ?&gt;
+
+                                &lt;/div&gt;
+
+                        &lt;?php else : ?&gt;
+
+                                &lt;div id=&quot;edit-post&quot;&gt;
+
+                                        &lt;?php do_action( 'groups_forum_edit_post_before' ) ?&gt;
+
+                                        &lt;p&gt;&lt;strong&gt;&lt;?php _e( 'Edit Post:', 'buddypress' ) ?&gt;&lt;/strong&gt;&lt;/p&gt;
+
+                                        &lt;textarea name=&quot;post_text&quot; id=&quot;post_text&quot;&gt;&lt;?php bp_the_topic_post_edit_text() ?&gt;&lt;/textarea&gt;
+
+                                        &lt;?php do_action( 'groups_forum_edit_post_after' ) ?&gt;
+
+                                        &lt;p class=&quot;submit&quot;&gt;&lt;input type=&quot;submit&quot; name=&quot;save_changes&quot; id=&quot;save_changes&quot; value=&quot;&lt;?php _e( 'Save Changes', 'buddypress' ) ?&gt;&quot; /&gt;&lt;/p&gt;
+
+                                        &lt;?php wp_nonce_field( 'bp_forums_edit_post' ) ?&gt;
+
+                                &lt;/div&gt;
+
+                        &lt;?php endif; ?&gt;
+
+                &lt;?php endif; ?&gt;
+
+        &lt;/form&gt;
+
+&lt;?php else: ?&gt;
+
+        &lt;div id=&quot;message&quot; class=&quot;info&quot;&gt;
+                &lt;p&gt;&lt;?php _e( 'This topic does not exist.', 'buddypress' ) ?&gt;&lt;/p&gt;
+        &lt;/div&gt;
+
+&lt;?php endif;?&gt;
</ins></span></pre></div>
<a id="trunkbpthemesbpdefaultgroupssingleforumphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/groups/single/forum.php (2196 => 2197)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/groups/single/forum.php        2009-12-17 14:11:11 UTC (rev 2196)
+++ trunk/bp-themes/bp-default/groups/single/forum.php        2009-12-18 09:34:41 UTC (rev 2197)
</span><span class="lines">@@ -1,5 +1,7 @@
</span><del>-&lt;?php if ( bp_is_group_forum_topic() ) : ?&gt;
</del><ins>+&lt;?php if ( bp_is_group_forum_topic_edit() ) : ?&gt;
+        &lt;?php locate_template( array( 'groups/single/forum/edit.php' ), true ) ?&gt;
</ins><span class="cx"> 
</span><ins>+&lt;?php elseif ( bp_is_group_forum_topic() ) : ?&gt;
</ins><span class="cx">         &lt;?php locate_template( array( 'groups/single/forum/topic.php' ), true ) ?&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;?php else : ?&gt;
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultgroupssinglehomephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/groups/single/home.php (2196 => 2197)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/groups/single/home.php        2009-12-17 14:11:11 UTC (rev 2196)
+++ trunk/bp-themes/bp-default/groups/single/home.php        2009-12-18 09:34:41 UTC (rev 2197)
</span><span class="lines">@@ -23,19 +23,19 @@
</span><span class="cx">                         &lt;div id=&quot;item-body&quot;&gt;
</span><span class="cx">                                 &lt;?php do_action( 'template_notices' ) ?&gt;
</span><span class="cx"> 
</span><del>-                                &lt;?php if ( 'admin' == bp_current_action() ) : ?&gt;
</del><ins>+                                &lt;?php if ( bp_is_group_admin_page() ) : ?&gt;
</ins><span class="cx">                                         &lt;?php locate_template( array( 'groups/single/admin.php' ), true ) ?&gt;
</span><span class="cx"> 
</span><del>-                                &lt;?php elseif ( 'members' == bp_current_action() ) : ?&gt;
</del><ins>+                                &lt;?php elseif ( bp_is_group_members() ) : ?&gt;
</ins><span class="cx">                                         &lt;?php locate_template( array( 'groups/single/members.php' ), true ) ?&gt;
</span><span class="cx"> 
</span><del>-                                &lt;?php elseif ( 'send-invites' == bp_current_action() ) : ?&gt;
</del><ins>+                                &lt;?php elseif ( bp_is_group_invites() ) : ?&gt;
</ins><span class="cx">                                         &lt;?php locate_template( array( 'groups/single/send-invites.php' ), true ) ?&gt;
</span><span class="cx"> 
</span><del>-                                &lt;?php elseif ( 'request-membership' == bp_current_action() ) : ?&gt;
</del><ins>+                                &lt;?php elseif ( bp_is_group_membership_request() ) : ?&gt;
</ins><span class="cx">                                         &lt;?php locate_template( array( 'groups/single/request-membership.php' ), true ) ?&gt;
</span><span class="cx"> 
</span><del>-                                &lt;?php elseif ( 'forum' == bp_current_action() ) : ?&gt;
</del><ins>+                                &lt;?php elseif ( bp_is_group_forum() ) : ?&gt;
</ins><span class="cx">                                         &lt;?php locate_template( array( 'groups/single/forum.php' ), true ) ?&gt;
</span><span class="cx"> 
</span><span class="cx">                                 &lt;?php else : ?&gt;
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultgroupssinglepluginsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/groups/single/plugins.php (2196 => 2197)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/groups/single/plugins.php        2009-12-17 14:11:11 UTC (rev 2196)
+++ trunk/bp-themes/bp-default/groups/single/plugins.php        2009-12-18 09:34:41 UTC (rev 2197)
</span><span class="lines">@@ -6,13 +6,30 @@
</span><span class="cx">                 &lt;div class=&quot;padder&quot;&gt;
</span><span class="cx">                         &lt;?php if ( bp_has_groups() ) : while ( bp_groups() ) : bp_the_group(); ?&gt;
</span><span class="cx"> 
</span><del>-                        &lt;?php locate_template( array( 'groups/single/group-header.php' ), true ) ?&gt;
</del><ins>+                        &lt;div id=&quot;item-header&quot;&gt;
+                                &lt;?php locate_template( array( 'groups/single/group-header.php' ), true ) ?&gt;
+                        &lt;/div&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;?php do_action( 'bp_template_content' ) ?&gt;
</del><ins>+                        &lt;div id=&quot;item-nav&quot;&gt;
+                                &lt;div class=&quot;item-list-tabs no-ajax&quot; id=&quot;user-nav&quot;&gt;
+                                        &lt;ul&gt;
+                                                &lt;?php bp_get_options_nav() ?&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;?php do_action( 'bp_directory_members_content' ) ?&gt;
</del><ins>+                                                &lt;?php do_action( 'bp_members_directory_member_types' ) ?&gt;
+                                        &lt;/ul&gt;
+                                &lt;/div&gt;
+                        &lt;/div&gt;
</ins><span class="cx"> 
</span><ins>+                        &lt;div id=&quot;item-body&quot;&gt;
+
+                                &lt;?php do_action( 'bp_template_content' ) ?&gt;
+
+                                &lt;?php do_action( 'bp_directory_members_content' ) ?&gt;
+
+                        &lt;/div&gt;&lt;!-- #item-body --&gt;
+
</ins><span class="cx">                         &lt;?php endwhile; endif; ?&gt;
</span><ins>+
</ins><span class="cx">                 &lt;/div&gt;&lt;!-- .padder --&gt;
</span><span class="cx">         &lt;/div&gt;&lt;!-- #content --&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultmemberssinglehomephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/members/single/home.php (2196 => 2197)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/members/single/home.php        2009-12-17 14:11:11 UTC (rev 2196)
+++ trunk/bp-themes/bp-default/members/single/home.php        2009-12-18 09:34:41 UTC (rev 2197)
</span><span class="lines">@@ -20,28 +20,24 @@
</span><span class="cx">                         &lt;/div&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;div id=&quot;item-body&quot;&gt;
</span><del>-
-                                &lt;?php if ( 'home' == bp_current_component() || 'activity' == bp_current_component() || !bp_current_component() ) : ?&gt;
</del><ins>+                                &lt;?php if ( bp_is_user_activity() || !bp_current_component() ) : ?&gt;
</ins><span class="cx">                                         &lt;?php locate_template( array( 'members/single/activity.php' ), true ) ?&gt;
</span><span class="cx"> 
</span><del>-                                &lt;?php elseif ( 'blogs' == bp_current_component() ) : ?&gt;
</del><ins>+                                &lt;?php elseif ( bp_is_user_blogs() ) : ?&gt;
</ins><span class="cx">                                         &lt;?php locate_template( array( 'members/single/blogs.php' ), true ) ?&gt;
</span><span class="cx"> 
</span><del>-                                &lt;?php elseif ( 'friends' == bp_current_component() ) : ?&gt;
</del><ins>+                                &lt;?php elseif ( bp_is_user_friends() ) : ?&gt;
</ins><span class="cx">                                         &lt;?php locate_template( array( 'members/single/friends.php' ), true ) ?&gt;
</span><span class="cx"> 
</span><del>-                                &lt;?php elseif ( 'groups' == bp_current_component() ) : ?&gt;
</del><ins>+                                &lt;?php elseif ( bp_is_user_groups() ) : ?&gt;
</ins><span class="cx">                                         &lt;?php locate_template( array( 'members/single/groups.php' ), true ) ?&gt;
</span><span class="cx"> 
</span><del>-                                &lt;?php elseif ( 'messages' == bp_current_component() ) : ?&gt;
</del><ins>+                                &lt;?php elseif ( bp_is_user_messages() ) : ?&gt;
</ins><span class="cx">                                         &lt;?php locate_template( array( 'members/single/messages.php' ), true ) ?&gt;
</span><span class="cx"> 
</span><del>-                                &lt;?php elseif ( 'profile' == bp_current_component() ) : ?&gt;
</del><ins>+                                &lt;?php elseif ( bp_is_user_profile() ) : ?&gt;
</ins><span class="cx">                                         &lt;?php locate_template( array( 'members/single/profile.php' ), true ) ?&gt;
</span><span class="cx"> 
</span><del>-                                &lt;?php else : ?&gt;
-                                        &lt;?php locate_template( array( 'members/single/plugins.php' ), true ) ?&gt;
-
</del><span class="cx">                                 &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><span class="cx">                                 &lt;?php do_action( 'bp_directory_members_content' ) ?&gt;
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultmemberssinglepluginsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/members/single/plugins.php (2196 => 2197)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/members/single/plugins.php        2009-12-17 14:11:11 UTC (rev 2196)
+++ trunk/bp-themes/bp-default/members/single/plugins.php        2009-12-18 09:34:41 UTC (rev 2197)
</span><span class="lines">@@ -1,9 +1,43 @@
</span><del>-&lt;div class=&quot;item-list-tabs no-ajax&quot; id=&quot;user-subnav&quot;&gt;
-        &lt;ul&gt;
-                &lt;?php bp_get_options_nav() ?&gt;
-        &lt;/ul&gt;
-&lt;/div&gt;
</del><ins>+&lt;?php get_header() ?&gt;
</ins><span class="cx"> 
</span><del>-&lt;?php do_action( 'bp_template_content' ) ?&gt;
</del><ins>+        &lt;?php do_action( 'bp_before_directory_members_content' ) ?&gt;
</ins><span class="cx"> 
</span><del>-&lt;?php do_action( 'bp_directory_members_content' ) ?&gt;
</del><span class="cx">\ No newline at end of file
</span><ins>+        &lt;div id=&quot;content&quot;&gt;
+                &lt;div class=&quot;padder&quot;&gt;
+
+                        &lt;div id=&quot;item-header&quot;&gt;
+                                &lt;?php locate_template( array( 'members/single/member-header.php' ), true ) ?&gt;
+                        &lt;/div&gt;
+
+                        &lt;div id=&quot;item-nav&quot;&gt;
+                                &lt;div class=&quot;item-list-tabs no-ajax&quot; id=&quot;user-nav&quot;&gt;
+                                        &lt;ul&gt;
+                                                &lt;?php bp_get_user_nav() ?&gt;
+
+                                                &lt;?php do_action( 'bp_members_directory_member_types' ) ?&gt;
+                                        &lt;/ul&gt;
+                                &lt;/div&gt;
+                        &lt;/div&gt;
+
+                        &lt;div id=&quot;item-body&quot;&gt;
+
+                                &lt;div class=&quot;item-list-tabs no-ajax&quot; id=&quot;user-subnav&quot;&gt;
+                                        &lt;ul&gt;
+                                                &lt;?php bp_get_options_nav() ?&gt;
+                                        &lt;/ul&gt;
+                                &lt;/div&gt;
+
+                                &lt;?php do_action( 'bp_template_content' ) ?&gt;
+
+                                &lt;?php do_action( 'bp_directory_members_content' ) ?&gt;
+
+                        &lt;/div&gt;&lt;!-- #item-body --&gt;
+
+                &lt;/div&gt;&lt;!-- .padder --&gt;
+        &lt;/div&gt;&lt;!-- #content --&gt;
+
+        &lt;?php locate_template( array( 'sidebar.php' ), true ) ?&gt;
+
+        &lt;?php do_action( 'bp_after_directory_members_content' ) ?&gt;
+
+&lt;?php get_footer() ?&gt;
</ins><span class="cx">\ No newline at end of file
</span></span></pre>
</div>
</div>

</body>
</html>