<!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" />
<title>[BuddyPress][3808] trunk/bp-themes/bp-default/members/single: Clean up single member root template files</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { 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 #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#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>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd>3808</dd>
<dt>Author</dt> <dd>johnjamesjacoby</dd>
<dt>Date</dt> <dd>2011-01-22 08:58:56 +0000 (Sat, 22 Jan 2011)</dd>
</dl>

<h3>Log Message</h3>
<pre>Clean up single member root template files</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkbpthemesbpdefaultmemberssingleactivityphp">trunk/bp-themes/bp-default/members/single/activity.php</a></li>
<li><a href="#trunkbpthemesbpdefaultmemberssingleblogsphp">trunk/bp-themes/bp-default/members/single/blogs.php</a></li>
<li><a href="#trunkbpthemesbpdefaultmemberssinglefriendsphp">trunk/bp-themes/bp-default/members/single/friends.php</a></li>
<li><a href="#trunkbpthemesbpdefaultmemberssinglegroupsphp">trunk/bp-themes/bp-default/members/single/groups.php</a></li>
<li><a href="#trunkbpthemesbpdefaultmemberssinglehomephp">trunk/bp-themes/bp-default/members/single/home.php</a></li>
<li><a href="#trunkbpthemesbpdefaultmemberssinglememberheaderphp">trunk/bp-themes/bp-default/members/single/member-header.php</a></li>
<li><a href="#trunkbpthemesbpdefaultmemberssinglemessagesphp">trunk/bp-themes/bp-default/members/single/messages.php</a></li>
<li><a href="#trunkbpthemesbpdefaultmemberssinglepluginsphp">trunk/bp-themes/bp-default/members/single/plugins.php</a></li>
<li><a href="#trunkbpthemesbpdefaultmemberssingleprofilephp">trunk/bp-themes/bp-default/members/single/profile.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkbpthemesbpdefaultmemberssingleactivityphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/members/single/activity.php (3807 => 3808)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/members/single/activity.php        2011-01-22 08:42:46 UTC (rev 3807)
+++ trunk/bp-themes/bp-default/members/single/activity.php        2011-01-22 08:58:56 UTC (rev 3808)
</span><span class="lines">@@ -1,5 +1,6 @@
</span><span class="cx"> &lt;div class=&quot;item-list-tabs no-ajax&quot; id=&quot;subnav&quot; role=&quot;navigation&quot;&gt;
</span><span class="cx">         &lt;ul&gt;
</span><ins>+
</ins><span class="cx">                 &lt;?php bp_get_options_nav() ?&gt;
</span><span class="cx"> 
</span><span class="cx">                 &lt;li id=&quot;activity-filter-select&quot; class=&quot;last&quot;&gt;
</span><span class="lines">@@ -7,44 +8,58 @@
</span><span class="cx">                                 &lt;option value=&quot;-1&quot;&gt;&lt;?php _e( 'No Filter', 'buddypress' ) ?&gt;&lt;/option&gt;
</span><span class="cx">                                 &lt;option value=&quot;activity_update&quot;&gt;&lt;?php _e( 'Show Updates', 'buddypress' ) ?&gt;&lt;/option&gt;
</span><span class="cx"> 
</span><del>-                                &lt;?php if ( 'groups' != bp_current_action() ) : ?&gt;
-                                        &lt;?php if ( bp_is_active( 'blogs' ) ) : ?&gt;
</del><ins>+                                &lt;?php
+                                if ( 'groups' != bp_current_action() ) :
+                                        if ( bp_is_active( 'blogs' ) ) : ?&gt;
+
</ins><span class="cx">                                                 &lt;option value=&quot;new_blog_post&quot;&gt;&lt;?php _e( 'Show Blog Posts', 'buddypress' ) ?&gt;&lt;/option&gt;
</span><span class="cx">                                                 &lt;option value=&quot;new_blog_comment&quot;&gt;&lt;?php _e( 'Show Blog Comments', 'buddypress' ) ?&gt;&lt;/option&gt;
</span><del>-                                        &lt;?php endif; ?&gt;
</del><span class="cx"> 
</span><del>-                                        &lt;?php if ( bp_is_active( 'friends' ) ) : ?&gt;
</del><ins>+                                        &lt;?php
+                                        endif;
+
+                                        if ( bp_is_active( 'friends' ) ) : ?&gt;
+
</ins><span class="cx">                                                 &lt;option value=&quot;friendship_accepted,friendship_created&quot;&gt;&lt;?php _e( 'Show Friendship Connections', 'buddypress' ) ?&gt;&lt;/option&gt;
</span><del>-                                        &lt;?php endif; ?&gt;
-                                &lt;?php endif; ?&gt;
</del><span class="cx"> 
</span><del>-                                &lt;?php if ( bp_is_active( 'forums' ) ) : ?&gt;
</del><ins>+                                        &lt;?php endif;
+
+                                endif;
+
+                                if ( bp_is_active( 'forums' ) ) : ?&gt;
+
</ins><span class="cx">                                         &lt;option value=&quot;new_forum_topic&quot;&gt;&lt;?php _e( 'Show New Forum Topics', 'buddypress' ) ?&gt;&lt;/option&gt;
</span><span class="cx">                                         &lt;option value=&quot;new_forum_post&quot;&gt;&lt;?php _e( 'Show Forum Replies', 'buddypress' ) ?&gt;&lt;/option&gt;
</span><del>-                                &lt;?php endif; ?&gt;
</del><span class="cx"> 
</span><del>-                                &lt;?php if ( bp_is_active( 'groups' ) ) : ?&gt;
</del><ins>+                                &lt;?php endif;
+
+                                if ( bp_is_active( 'groups' ) ) : ?&gt;
+
</ins><span class="cx">                                         &lt;option value=&quot;created_group&quot;&gt;&lt;?php _e( 'Show New Groups', 'buddypress' ) ?&gt;&lt;/option&gt;
</span><span class="cx">                                         &lt;option value=&quot;joined_group&quot;&gt;&lt;?php _e( 'Show New Group Memberships', 'buddypress' ) ?&gt;&lt;/option&gt;
</span><del>-                                &lt;?php endif; ?&gt;
</del><span class="cx"> 
</span><del>-                                &lt;?php do_action( 'bp_member_activity_filter_options' ) ?&gt;
</del><ins>+                                &lt;?php endif;
+
+                                do_action( 'bp_member_activity_filter_options' ); ?&gt;
+
</ins><span class="cx">                         &lt;/select&gt;
</span><span class="cx">                 &lt;/li&gt;
</span><span class="cx">         &lt;/ul&gt;
</span><span class="cx"> &lt;/div&gt;&lt;!-- .item-list-tabs --&gt;
</span><span class="cx"> 
</span><del>-&lt;?php do_action( 'bp_before_member_activity_post_form' ) ?&gt;
</del><ins>+&lt;?php do_action( 'bp_before_member_activity_post_form' ); ?&gt;
</ins><span class="cx"> 
</span><del>-&lt;?php if ( is_user_logged_in() &amp;&amp; bp_is_my_profile() &amp;&amp; ( '' == bp_current_action() || 'just-me' == bp_current_action() ) ) : ?&gt;
-        &lt;?php locate_template( array( 'activity/post-form.php'), true ) ?&gt;
-&lt;?php endif; ?&gt;
</del><ins>+&lt;?php
+if ( is_user_logged_in() &amp;&amp; bp_is_my_profile() &amp;&amp; ( !bp_is_current_action() || bp_is_current_action( 'just-me' ) ) )
+        locate_template( array( 'activity/post-form.php'), true );
</ins><span class="cx"> 
</span><del>-&lt;?php do_action( 'bp_after_member_activity_post_form' ) ?&gt;
-&lt;?php do_action( 'bp_before_member_activity_content' ) ?&gt;
</del><ins>+do_action( 'bp_after_member_activity_post_form' );
+do_action( 'bp_before_member_activity_content' ); ?&gt;
</ins><span class="cx"> 
</span><span class="cx"> &lt;div class=&quot;activity&quot; role=&quot;main&quot;&gt;
</span><del>-        &lt;?php locate_template( array( 'activity/activity-loop.php' ), true ) ?&gt;
</del><ins>+
+        &lt;?php locate_template( array( 'activity/activity-loop.php' ), true ); ?&gt;
+
</ins><span class="cx"> &lt;/div&gt;&lt;!-- .activity --&gt;
</span><span class="cx"> 
</span><del>-&lt;?php do_action( 'bp_after_member_activity_content' ) ?&gt;
</del><ins>+&lt;?php do_action( 'bp_after_member_activity_content' ); ?&gt;
</ins></span></pre></div>
<a id="trunkbpthemesbpdefaultmemberssingleblogsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/members/single/blogs.php (3807 => 3808)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/members/single/blogs.php        2011-01-22 08:42:46 UTC (rev 3807)
+++ trunk/bp-themes/bp-default/members/single/blogs.php        2011-01-22 08:58:56 UTC (rev 3808)
</span><span class="lines">@@ -1,24 +1,30 @@
</span><span class="cx"> &lt;div class=&quot;item-list-tabs&quot; id=&quot;subnav&quot; role=&quot;navigation&quot;&gt;
</span><span class="cx">         &lt;ul&gt;
</span><del>-                &lt;?php bp_get_options_nav() ?&gt;
</del><span class="cx"> 
</span><ins>+                &lt;?php bp_get_options_nav(); ?&gt;
+
</ins><span class="cx">                 &lt;li id=&quot;blogs-order-select&quot; class=&quot;last filter&quot;&gt;
</span><del>-                        &lt;?php _e( 'Order By:', 'buddypress' ) ?&gt;
</del><ins>+
+                        &lt;?php _e( 'Order By:', 'buddypress' ); ?&gt;
+
</ins><span class="cx">                         &lt;select id=&quot;blogs-all&quot;&gt;
</span><del>-                                &lt;option value=&quot;active&quot;&gt;&lt;?php _e( 'Last Active', 'buddypress' ) ?&gt;&lt;/option&gt;
-                                &lt;option value=&quot;newest&quot;&gt;&lt;?php _e( 'Newest', 'buddypress' ) ?&gt;&lt;/option&gt;
-                                &lt;option value=&quot;alphabetical&quot;&gt;&lt;?php _e( 'Alphabetical', 'buddypress' ) ?&gt;&lt;/option&gt;
</del><ins>+                                &lt;option value=&quot;active&quot;&gt;&lt;?php _e( 'Last Active', 'buddypress' ); ?&gt;&lt;/option&gt;
+                                &lt;option value=&quot;newest&quot;&gt;&lt;?php _e( 'Newest', 'buddypress' ); ?&gt;&lt;/option&gt;
+                                &lt;option value=&quot;alphabetical&quot;&gt;&lt;?php _e( 'Alphabetical', 'buddypress' ); ?&gt;&lt;/option&gt;
</ins><span class="cx"> 
</span><del>-                                &lt;?php do_action( 'bp_member_blog_order_options' ) ?&gt;
</del><ins>+                                &lt;?php do_action( 'bp_member_blog_order_options' ); ?&gt;
+
</ins><span class="cx">                         &lt;/select&gt;
</span><span class="cx">                 &lt;/li&gt;
</span><span class="cx">         &lt;/ul&gt;
</span><span class="cx"> &lt;/div&gt;&lt;!-- .item-list-tabs --&gt;
</span><span class="cx"> 
</span><del>-&lt;?php do_action( 'bp_before_member_blogs_content' ) ?&gt;
</del><ins>+&lt;?php do_action( 'bp_before_member_blogs_content' ); ?&gt;
</ins><span class="cx"> 
</span><span class="cx"> &lt;div class=&quot;blogs myblogs&quot; role=&quot;main&quot;&gt;
</span><del>-        &lt;?php locate_template( array( 'blogs/blogs-loop.php' ), true ) ?&gt;
</del><ins>+
+        &lt;?php locate_template( array( 'blogs/blogs-loop.php' ), true ); ?&gt;
+
</ins><span class="cx"> &lt;/div&gt;&lt;!-- .blogs.myblogs --&gt;
</span><span class="cx"> 
</span><del>-&lt;?php do_action( 'bp_after_member_blogs_content' ) ?&gt;
</del><ins>+&lt;?php do_action( 'bp_after_member_blogs_content' ); ?&gt;
</ins></span></pre></div>
<a id="trunkbpthemesbpdefaultmemberssinglefriendsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/members/single/friends.php (3807 => 3808)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/members/single/friends.php        2011-01-22 08:42:46 UTC (rev 3807)
+++ trunk/bp-themes/bp-default/members/single/friends.php        2011-01-22 08:58:56 UTC (rev 3808)
</span><span class="lines">@@ -1,34 +1,37 @@
</span><span class="cx"> &lt;div class=&quot;item-list-tabs no-ajax&quot; id=&quot;subnav&quot; role=&quot;navigation&quot;&gt;
</span><span class="cx">         &lt;ul&gt;
</span><del>-                &lt;?php if ( bp_is_my_profile() ) : ?&gt;
-                        &lt;?php bp_get_options_nav() ?&gt;
-                &lt;?php endif; ?&gt;
</del><ins>+                &lt;?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?&gt;
</ins><span class="cx"> 
</span><span class="cx">                 &lt;li id=&quot;members-order-select&quot; class=&quot;last filter&quot;&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;?php _e( 'Order By:', 'buddypress' ) ?&gt;
</span><ins>+
</ins><span class="cx">                         &lt;select id=&quot;members-all&quot;&gt;
</span><span class="cx">                                 &lt;option value=&quot;active&quot;&gt;&lt;?php _e( 'Last Active', 'buddypress' ) ?&gt;&lt;/option&gt;
</span><span class="cx">                                 &lt;option value=&quot;newest&quot;&gt;&lt;?php _e( 'Newest Registered', 'buddypress' ) ?&gt;&lt;/option&gt;
</span><span class="cx">                                 &lt;option value=&quot;alphabetical&quot;&gt;&lt;?php _e( 'Alphabetical', 'buddypress' ) ?&gt;&lt;/option&gt;
</span><span class="cx"> 
</span><span class="cx">                                 &lt;?php do_action( 'bp_member_blog_order_options' ) ?&gt;
</span><ins>+
</ins><span class="cx">                         &lt;/select&gt;
</span><span class="cx">                 &lt;/li&gt;
</span><span class="cx">         &lt;/ul&gt;
</span><span class="cx"> &lt;/div&gt;
</span><span class="cx"> 
</span><del>-&lt;?php if ( 'requests' == bp_current_action() ) : ?&gt;
-        &lt;?php locate_template( array( 'members/single/friends/requests.php' ), true ) ?&gt;
</del><ins>+&lt;?php
</ins><span class="cx"> 
</span><del>-&lt;?php else : ?&gt;
</del><ins>+if ( bp_is_current_action( 'requests' ) ) :
+         locate_template( array( 'members/single/friends/requests.php' ), true );
</ins><span class="cx"> 
</span><del>-        &lt;?php do_action( 'bp_before_member_friends_content' ) ?&gt;
</del><ins>+else :
+        do_action( 'bp_before_member_friends_content' ); ?&gt;
</ins><span class="cx"> 
</span><span class="cx">         &lt;div class=&quot;members friends&quot;&gt;
</span><del>-                &lt;?php locate_template( array( 'members/members-loop.php' ), true ) ?&gt;
</del><ins>+
+                &lt;?php locate_template( array( 'members/members-loop.php' ), true ); ?&gt;
+
</ins><span class="cx">         &lt;/div&gt;&lt;!-- .members.friends --&gt;
</span><span class="cx"> 
</span><del>-        &lt;?php do_action( 'bp_after_member_friends_content' ) ?&gt;
</del><ins>+        &lt;?php do_action( 'bp_after_member_friends_content' ); ?&gt;
</ins><span class="cx"> 
</span><span class="cx"> &lt;?php endif; ?&gt;
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultmemberssinglegroupsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/members/single/groups.php (3807 => 3808)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/members/single/groups.php        2011-01-22 08:42:46 UTC (rev 3807)
+++ trunk/bp-themes/bp-default/members/single/groups.php        2011-01-22 08:58:56 UTC (rev 3808)
</span><span class="lines">@@ -1,37 +1,43 @@
</span><span class="cx"> &lt;div class=&quot;item-list-tabs no-ajax&quot; id=&quot;subnav&quot; role=&quot;navigation&quot;&gt;
</span><span class="cx">         &lt;ul&gt;
</span><del>-                &lt;?php if ( bp_is_my_profile() ) : ?&gt;
-                        &lt;?php bp_get_options_nav() ?&gt;
-                &lt;?php endif; ?&gt;
</del><ins>+                &lt;?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?&gt;
</ins><span class="cx"> 
</span><del>-                &lt;?php if ( 'invites' != bp_current_action() ) : ?&gt;
-                &lt;li id=&quot;groups-order-select&quot; class=&quot;last filter&quot;&gt;
</del><ins>+                &lt;?php if ( !bp_is_current_action( 'invites' ) ) : ?&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;?php _e( 'Order By:', 'buddypress' ) ?&gt;
-                        &lt;select id=&quot;groups-sort-by&quot;&gt;
-                                &lt;option value=&quot;active&quot;&gt;&lt;?php _e( 'Last Active', 'buddypress' ) ?&gt;&lt;/option&gt;
-                                &lt;option value=&quot;popular&quot;&gt;&lt;?php _e( 'Most Members', 'buddypress' ) ?&gt;&lt;/option&gt;
-                                &lt;option value=&quot;newest&quot;&gt;&lt;?php _e( 'Newly Created', 'buddypress' ) ?&gt;&lt;/option&gt;
-                                &lt;option value=&quot;alphabetical&quot;&gt;&lt;?php _e( 'Alphabetical', 'buddypress' ) ?&gt;&lt;/option&gt;
</del><ins>+                        &lt;li id=&quot;groups-order-select&quot; class=&quot;last filter&quot;&gt;
</ins><span class="cx"> 
</span><del>-                                &lt;?php do_action( 'bp_member_group_order_options' ) ?&gt;
-                        &lt;/select&gt;
-                &lt;/li&gt;
</del><ins>+                                &lt;?php _e( 'Order By:', 'buddypress' ) ?&gt;
+
+                                &lt;select id=&quot;groups-sort-by&quot;&gt;
+                                        &lt;option value=&quot;active&quot;&gt;&lt;?php _e( 'Last Active', 'buddypress' ); ?&gt;&lt;/option&gt;
+                                        &lt;option value=&quot;popular&quot;&gt;&lt;?php _e( 'Most Members', 'buddypress' ); ?&gt;&lt;/option&gt;
+                                        &lt;option value=&quot;newest&quot;&gt;&lt;?php _e( 'Newly Created', 'buddypress' ); ?&gt;&lt;/option&gt;
+                                        &lt;option value=&quot;alphabetical&quot;&gt;&lt;?php _e( 'Alphabetical', 'buddypress' ); ?&gt;&lt;/option&gt;
+
+                                        &lt;?php do_action( 'bp_member_group_order_options' ) ?&gt;
+
+                                &lt;/select&gt;
+                        &lt;/li&gt;
+
</ins><span class="cx">                 &lt;?php endif; ?&gt;
</span><ins>+
</ins><span class="cx">         &lt;/ul&gt;
</span><span class="cx"> &lt;/div&gt;&lt;!-- .item-list-tabs --&gt;
</span><span class="cx"> 
</span><del>-&lt;?php if ( 'invites' == bp_current_action() ) : ?&gt;
-        &lt;?php locate_template( array( 'members/single/groups/invites.php' ), true ) ?&gt;
</del><ins>+&lt;?php
</ins><span class="cx"> 
</span><del>-&lt;?php else : ?&gt;
</del><ins>+if ( bp_is_current_action( 'invites' ) ) :
+        locate_template( array( 'members/single/groups/invites.php' ), true );
</ins><span class="cx"> 
</span><del>-        &lt;?php do_action( 'bp_before_member_groups_content' ) ?&gt;
</del><ins>+else :
+        do_action( 'bp_before_member_groups_content' ); ?&gt;
</ins><span class="cx"> 
</span><span class="cx">         &lt;div class=&quot;groups mygroups&quot;&gt;
</span><del>-                &lt;?php locate_template( array( 'groups/groups-loop.php' ), true ) ?&gt;
</del><ins>+
+                &lt;?php locate_template( array( 'groups/groups-loop.php' ), true ); ?&gt;
+
</ins><span class="cx">         &lt;/div&gt;
</span><span class="cx"> 
</span><del>-        &lt;?php do_action( 'bp_after_member_groups_content' ) ?&gt;
</del><ins>+        &lt;?php do_action( 'bp_after_member_groups_content' ); ?&gt;
</ins><span class="cx"> 
</span><span class="cx"> &lt;?php endif; ?&gt;
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultmemberssinglehomephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/members/single/home.php (3807 => 3808)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/members/single/home.php        2011-01-22 08:42:46 UTC (rev 3807)
+++ trunk/bp-themes/bp-default/members/single/home.php        2011-01-22 08:58:56 UTC (rev 3808)
</span><span class="lines">@@ -1,9 +1,9 @@
</span><del>-&lt;?php get_header() ?&gt;
</del><ins>+&lt;?php get_header(); ?&gt;
</ins><span class="cx"> 
</span><span class="cx">         &lt;div id=&quot;content&quot;&gt;
</span><span class="cx">                 &lt;div class=&quot;padder&quot;&gt;
</span><span class="cx"> 
</span><del>-                        &lt;?php do_action( 'bp_before_member_home_content' ) ?&gt;
</del><ins>+                        &lt;?php do_action( 'bp_before_member_home_content' ); ?&gt;
</ins><span class="cx"> 
</span><span class="cx">                         &lt;div id=&quot;item-header&quot; role=&quot;complementary&quot;&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -15,44 +15,43 @@
</span><span class="cx">                                 &lt;div class=&quot;item-list-tabs no-ajax&quot; id=&quot;object-nav&quot; role=&quot;navigation&quot;&gt;
</span><span class="cx">                                         &lt;ul&gt;
</span><span class="cx"> 
</span><del>-                                                &lt;?php bp_get_displayed_user_nav() ?&gt;
</del><ins>+                                                &lt;?php bp_get_displayed_user_nav(); ?&gt;
</ins><span class="cx"> 
</span><del>-                                                &lt;?php do_action( 'bp_member_options_nav' ) ?&gt;
</del><ins>+                                                &lt;?php do_action( 'bp_member_options_nav' ); ?&gt;
</ins><span class="cx"> 
</span><span class="cx">                                         &lt;/ul&gt;
</span><span class="cx">                                 &lt;/div&gt;
</span><span class="cx">                         &lt;/div&gt;&lt;!-- #item-nav --&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;div id=&quot;item-body&quot;&gt;
</span><del>-                                &lt;?php do_action( 'bp_before_member_body' ); ?&gt;
</del><ins>+                                &lt;?php do_action( 'bp_before_member_body' );
</ins><span class="cx"> 
</span><del>-                                &lt;?php if ( bp_is_user_activity() || !bp_current_component() ) : ?&gt;
-                                        &lt;?php locate_template( array( 'members/single/activity.php' ), true ); ?&gt;
</del><ins>+                                if ( bp_is_user_activity() || !bp_current_component() ) :
+                                        locate_template( array( 'members/single/activity.php' ), true );
</ins><span class="cx"> 
</span><del>-                                &lt;?php elseif ( bp_is_user_blogs() ) : ?&gt;
-                                        &lt;?php locate_template( array( 'members/single/blogs.php' ), true ); ?&gt;
</del><ins>+                                 elseif ( bp_is_user_blogs() ) :
+                                        locate_template( array( 'members/single/blogs.php'    ), true );
</ins><span class="cx"> 
</span><del>-                                &lt;?php elseif ( bp_is_user_friends() ) : ?&gt;
-                                        &lt;?php locate_template( array( 'members/single/friends.php' ), true ); ?&gt;
</del><ins>+                                elseif ( bp_is_user_friends() ) :
+                                        locate_template( array( 'members/single/friends.php'  ), true );
</ins><span class="cx"> 
</span><del>-                                &lt;?php elseif ( bp_is_user_groups() ) : ?&gt;
-                                        &lt;?php locate_template( array( 'members/single/groups.php' ), true ); ?&gt;
</del><ins>+                                elseif ( bp_is_user_groups() ) :
+                                        locate_template( array( 'members/single/groups.php'   ), true );
</ins><span class="cx"> 
</span><del>-                                &lt;?php elseif ( bp_is_user_messages() ) : ?&gt;
-                                        &lt;?php locate_template( array( 'members/single/messages.php' ), true ); ?&gt;
</del><ins>+                                elseif ( bp_is_user_messages() ) :
+                                        locate_template( array( 'members/single/messages.php' ), true );
</ins><span class="cx"> 
</span><del>-                                &lt;?php elseif ( bp_is_user_profile() ) : ?&gt;
-                                        &lt;?php locate_template( array( 'members/single/profile.php' ), true ); ?&gt;
</del><ins>+                                elseif ( bp_is_user_profile() ) :
+                                        locate_template( array( 'members/single/profile.php'  ), true );
</ins><span class="cx"> 
</span><del>-                                &lt;?php else : ?&gt;
-                                        &lt;?php
-                                                // If nothing sticks, load a generic template
-                                                locate_template( array( 'members/single/front.php' ), true );
-                                        ?&gt;
-                                &lt;?php endif; ?&gt;
</del><ins>+                                // If nothing sticks, load a generic template
+                                else :
+                                        locate_template( array( 'members/single/front.php'    ), true );
</ins><span class="cx"> 
</span><del>-                                &lt;?php do_action( 'bp_after_member_body' ); ?&gt;
</del><ins>+                                endif;
</ins><span class="cx"> 
</span><ins>+                                do_action( 'bp_after_member_body' ); ?&gt;
+
</ins><span class="cx">                         &lt;/div&gt;&lt;!-- #item-body --&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;?php do_action( 'bp_after_member_home_content' ); ?&gt;
</span><span class="lines">@@ -61,4 +60,4 @@
</span><span class="cx">         &lt;/div&gt;&lt;!-- #content --&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;?php get_sidebar(); ?&gt;
</span><del>-&lt;?php get_footer() ?&gt;
</del><ins>+&lt;?php get_footer(); ?&gt;
</ins></span></pre></div>
<a id="trunkbpthemesbpdefaultmemberssinglememberheaderphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/members/single/member-header.php (3807 => 3808)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/members/single/member-header.php        2011-01-22 08:42:46 UTC (rev 3807)
+++ trunk/bp-themes/bp-default/members/single/member-header.php        2011-01-22 08:58:56 UTC (rev 3808)
</span><span class="lines">@@ -1,23 +1,33 @@
</span><del>-&lt;?php do_action( 'bp_before_member_header' ) ?&gt;
</del><ins>+&lt;?php do_action( 'bp_before_member_header' ); ?&gt;
</ins><span class="cx"> 
</span><span class="cx"> &lt;div id=&quot;item-header-avatar&quot;&gt;
</span><del>-        &lt;a href=&quot;&lt;?php bp_user_link() ?&gt;&quot;&gt;
-                &lt;?php bp_displayed_user_avatar( 'type=full' ) ?&gt;
</del><ins>+        &lt;a href=&quot;&lt;?php bp_user_link(); ?&gt;&quot;&gt;
+
+                &lt;?php bp_displayed_user_avatar( 'type=full' ); ?&gt;
+
</ins><span class="cx">         &lt;/a&gt;
</span><span class="cx"> &lt;/div&gt;&lt;!-- #item-header-avatar --&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;div id=&quot;item-header-content&quot;&gt;
</span><span class="cx"> 
</span><del>-        &lt;h2 class=&quot;fn&quot;&gt;&lt;a href=&quot;&lt;?php bp_displayed_user_link() ?&gt;&quot;&gt;&lt;?php bp_displayed_user_fullname() ?&gt;&lt;/a&gt; &lt;span class=&quot;highlight&quot;&gt;@&lt;?php bp_displayed_user_username() ?&gt; &lt;span&gt;?&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
-        &lt;span class=&quot;activity&quot;&gt;&lt;?php bp_last_activity( bp_displayed_user_id() ) ?&gt;&lt;/span&gt;
</del><ins>+        &lt;h2 class=&quot;fn&quot;&gt;
+                &lt;a href=&quot;&lt;?php bp_displayed_user_link(); ?&gt;&quot;&gt;&lt;?php bp_displayed_user_fullname(); ?&gt;&lt;/a&gt;
+                &lt;span class=&quot;highlight&quot;&gt;@&lt;?php bp_displayed_user_username(); ?&gt; &lt;span&gt;?&lt;/span&gt;&lt;/span&gt;
+        &lt;/h2&gt;
+        &lt;span class=&quot;activity&quot;&gt;&lt;?php bp_last_activity( bp_displayed_user_id() ); ?&gt;&lt;/span&gt;
</ins><span class="cx"> 
</span><del>-        &lt;?php do_action( 'bp_before_member_header_meta' ) ?&gt;
</del><ins>+        &lt;?php do_action( 'bp_before_member_header_meta' ); ?&gt;
</ins><span class="cx"> 
</span><span class="cx">         &lt;div id=&quot;item-meta&quot;&gt;
</span><ins>+
</ins><span class="cx">                 &lt;?php if ( bp_is_active( 'activity' ) ) : ?&gt;
</span><ins>+
</ins><span class="cx">                         &lt;div id=&quot;latest-update&quot;&gt;
</span><del>-                                &lt;?php bp_activity_latest_update( bp_displayed_user_id() ) ?&gt;
</del><ins>+
+                                &lt;?php bp_activity_latest_update( bp_displayed_user_id() ); ?&gt;
+
</ins><span class="cx">                         &lt;/div&gt;
</span><ins>+
</ins><span class="cx">                 &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><span class="cx">                 &lt;div id=&quot;item-buttons&quot;&gt;
</span><span class="lines">@@ -27,18 +37,18 @@
</span><span class="cx">                 &lt;/div&gt;&lt;!-- #item-buttons --&gt;
</span><span class="cx"> 
</span><span class="cx">                 &lt;?php
</span><del>-                 /***
-                  * If you'd like to show specific profile fields here use:
-                  * bp_profile_field_data( 'field=About Me' ); -- Pass the name of the field
-                  */
-                ?&gt;
</del><ins>+                /***
+                 * If you'd like to show specific profile fields here use:
+                 * bp_profile_field_data( 'field=About Me' ); -- Pass the name of the field
+                 */
+                 do_action( 'bp_profile_header_meta' );
</ins><span class="cx"> 
</span><del>-                &lt;?php do_action( 'bp_profile_header_meta' ) ?&gt;
</del><ins>+                 ?&gt;
</ins><span class="cx"> 
</span><span class="cx">         &lt;/div&gt;&lt;!-- #item-meta --&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;/div&gt;&lt;!-- #item-header-content --&gt;
</span><span class="cx"> 
</span><del>-&lt;?php do_action( 'bp_after_member_header' ) ?&gt;
</del><ins>+&lt;?php do_action( 'bp_after_member_header' ); ?&gt;
</ins><span class="cx"> 
</span><del>-&lt;?php do_action( 'template_notices' ) ?&gt;
</del><span class="cx">\ No newline at end of file
</span><ins>+&lt;?php do_action( 'template_notices' ); ?&gt;
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultmemberssinglemessagesphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/members/single/messages.php (3807 => 3808)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/members/single/messages.php        2011-01-22 08:42:46 UTC (rev 3807)
+++ trunk/bp-themes/bp-default/members/single/messages.php        2011-01-22 08:58:56 UTC (rev 3808)
</span><span class="lines">@@ -8,10 +8,10 @@
</span><span class="cx"> 
</span><span class="cx"> &lt;?php
</span><span class="cx"> 
</span><del>-        if ( 'compose' == bp_current_action() ) :
</del><ins>+        if ( bp_is_current_action( 'compose' ) ) :
</ins><span class="cx">                 locate_template( array( 'members/single/messages/compose.php' ), true );
</span><span class="cx"> 
</span><del>-        elseif ( 'view' == bp_current_action() ) :
</del><ins>+        elseif ( bp_is_current_action( 'view' ) ) :
</ins><span class="cx">                 locate_template( array( 'members/single/messages/single.php' ), true );
</span><span class="cx"> 
</span><span class="cx">         else :
</span><span class="lines">@@ -20,13 +20,10 @@
</span><span class="cx">         &lt;div class=&quot;messages&quot; role=&quot;main&quot;&gt;
</span><span class="cx"> 
</span><span class="cx">                 &lt;?php
</span><del>-                        if ( 'notices' == bp_current_action() ) :
</del><ins>+                        if ( bp_is_current_action( 'notices' ) )
</ins><span class="cx">                                 locate_template( array( 'members/single/messages/notices-loop.php' ), true );
</span><del>-
-                        else :
</del><ins>+                        else
</ins><span class="cx">                                 locate_template( array( 'members/single/messages/messages-loop.php' ), true );
</span><del>-
-                        endif;
</del><span class="cx">                 ?&gt;
</span><span class="cx"> 
</span><span class="cx">         &lt;/div&gt;&lt;!-- .messages --&gt;
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultmemberssinglepluginsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/members/single/plugins.php (3807 => 3808)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/members/single/plugins.php        2011-01-22 08:42:46 UTC (rev 3807)
+++ trunk/bp-themes/bp-default/members/single/plugins.php        2011-01-22 08:58:56 UTC (rev 3808)
</span><span class="lines">@@ -1,48 +1,54 @@
</span><del>-&lt;?php get_header() ?&gt;
</del><ins>+&lt;?php get_header(); ?&gt;
</ins><span class="cx"> 
</span><span class="cx">         &lt;div id=&quot;content&quot;&gt;
</span><span class="cx">                 &lt;div class=&quot;padder&quot;&gt;
</span><span class="cx"> 
</span><del>-                        &lt;?php do_action( 'bp_before_member_plugin_template' ) ?&gt;
</del><ins>+                        &lt;?php do_action( 'bp_before_member_plugin_template' ); ?&gt;
</ins><span class="cx"> 
</span><span class="cx">                         &lt;div id=&quot;item-header&quot;&gt;
</span><del>-                                &lt;?php locate_template( array( 'members/single/member-header.php' ), true ) ?&gt;
</del><ins>+
+                                &lt;?php locate_template( array( 'members/single/member-header.php' ), true ); ?&gt;
+
</ins><span class="cx">                         &lt;/div&gt;&lt;!-- #item-header --&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;div id=&quot;item-nav&quot;&gt;
</span><span class="cx">                                 &lt;div class=&quot;item-list-tabs no-ajax&quot; id=&quot;object-nav&quot; role=&quot;navigation&quot;&gt;
</span><span class="cx">                                         &lt;ul&gt;
</span><del>-                                                &lt;?php bp_get_displayed_user_nav() ?&gt;
</del><span class="cx"> 
</span><del>-                                                &lt;?php do_action( 'bp_member_options_nav' ) ?&gt;
</del><ins>+                                                &lt;?php bp_get_displayed_user_nav(); ?&gt;
+
+                                                &lt;?php do_action( 'bp_member_options_nav' ); ?&gt;
+
</ins><span class="cx">                                         &lt;/ul&gt;
</span><span class="cx">                                 &lt;/div&gt;
</span><span class="cx">                         &lt;/div&gt;&lt;!-- #item-nav --&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;div id=&quot;item-body&quot; role=&quot;main&quot;&gt;
</span><del>-                                &lt;?php do_action( 'bp_before_member_body' ) ?&gt;
</del><span class="cx"> 
</span><ins>+                                &lt;?php do_action( 'bp_before_member_body' ); ?&gt;
+
</ins><span class="cx">                                 &lt;div class=&quot;item-list-tabs no-ajax&quot; id=&quot;subnav&quot;&gt;
</span><span class="cx">                                         &lt;ul&gt;
</span><del>-                                                &lt;?php bp_get_options_nav() ?&gt;
</del><span class="cx"> 
</span><del>-                                                &lt;?php do_action( 'bp_member_plugin_options_nav' ) ?&gt;
</del><ins>+                                                &lt;?php bp_get_options_nav(); ?&gt;
+
+                                                &lt;?php do_action( 'bp_member_plugin_options_nav' ); ?&gt;
+
</ins><span class="cx">                                         &lt;/ul&gt;
</span><span class="cx">                                 &lt;/div&gt;&lt;!-- .item-list-tabs --&gt;
</span><span class="cx"> 
</span><del>-                                &lt;h3&gt;&lt;?php do_action( 'bp_template_title' ) ?&gt;&lt;/h3&gt;
</del><ins>+                                &lt;h3&gt;&lt;?php do_action( 'bp_template_title' ); ?&gt;&lt;/h3&gt;
</ins><span class="cx"> 
</span><del>-                                &lt;?php do_action( 'bp_template_content' ) ?&gt;
</del><ins>+                                &lt;?php do_action( 'bp_template_content' ); ?&gt;
</ins><span class="cx"> 
</span><del>-                                &lt;?php do_action( 'bp_after_member_body' ) ?&gt;
</del><ins>+                                &lt;?php do_action( 'bp_after_member_body' ); ?&gt;
</ins><span class="cx"> 
</span><span class="cx">                         &lt;/div&gt;&lt;!-- #item-body --&gt;
</span><span class="cx"> 
</span><del>-                        &lt;?php do_action( 'bp_after_member_plugin_template' ) ?&gt;
</del><ins>+                        &lt;?php do_action( 'bp_after_member_plugin_template' ); ?&gt;
</ins><span class="cx"> 
</span><span class="cx">                 &lt;/div&gt;&lt;!-- .padder --&gt;
</span><span class="cx">         &lt;/div&gt;&lt;!-- #content --&gt;
</span><span class="cx"> 
</span><del>-        &lt;?php get_sidebar() ?&gt;
-
-&lt;?php get_footer() ?&gt;
</del><span class="cx">\ No newline at end of file
</span><ins>+&lt;?php get_sidebar(); ?&gt;
+&lt;?php get_footer(); ?&gt;
</ins></span></pre></div>
<a id="trunkbpthemesbpdefaultmemberssingleprofilephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/members/single/profile.php (3807 => 3808)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/members/single/profile.php        2011-01-22 08:42:46 UTC (rev 3807)
+++ trunk/bp-themes/bp-default/members/single/profile.php        2011-01-22 08:58:56 UTC (rev 3808)
</span><span class="lines">@@ -15,19 +15,14 @@
</span><span class="cx"> &lt;div class=&quot;profile&quot; role=&quot;main&quot;&gt;
</span><span class="cx"> 
</span><span class="cx">         &lt;?php
</span><del>-                if ( 'edit' == bp_current_action() ) :
</del><ins>+                if ( bp_is_current_action( 'edit' ) )
</ins><span class="cx">                         locate_template( array( 'members/single/profile/edit.php' ), true );
</span><del>-
-                elseif ( 'change-avatar' == bp_current_action() ) :
</del><ins>+                elseif ( bp_is_current_action( 'change-avatar' ) )
</ins><span class="cx">                         locate_template( array( 'members/single/profile/change-avatar.php' ), true );
</span><del>-
-                elseif ( bp_is_active( 'profile' ) ) :
</del><ins>+                elseif ( bp_is_active( 'profile' ) )
</ins><span class="cx">                         locate_template( array( 'members/single/profile/profile-loop.php' ), true );
</span><del>-
-                else :
</del><ins>+                else
</ins><span class="cx">                         locate_template( array( 'members/single/profile/profile-wp.php' ), true );
</span><del>-
-                endif;
</del><span class="cx">         ?&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;/div&gt;&lt;!-- .profile --&gt;
</span></span></pre>
</div>
</div>

</body>
</html>