<!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] [2204] trunk/bp-themes/bp-default: Updated blog styles.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd>2204</dd>
<dt>Author</dt> <dd>apeatling</dd>
<dt>Date</dt> <dd>2009-12-18 14:28:54 +0000 (Fri, 18 Dec 2009)</dd>
</dl>

<h3>Log Message</h3>
<pre>Updated blog styles.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkbpthemesbpdefault_inccssdefaultcss">trunk/bp-themes/bp-default/_inc/css/default.css</a></li>
<li><a href="#trunkbpthemesbpdefaultcommentsphp">trunk/bp-themes/bp-default/comments.php</a></li>
<li><a href="#trunkbpthemesbpdefaultfunctionsphp">trunk/bp-themes/bp-default/functions.php</a></li>
<li><a href="#trunkbpthemesbpdefaultindexphp">trunk/bp-themes/bp-default/index.php</a></li>
<li><a href="#trunkbpthemesbpdefaultsinglephp">trunk/bp-themes/bp-default/single.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkbpthemesbpdefault_inccssdefaultcss"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/_inc/css/default.css (2203 => 2204)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/_inc/css/default.css        2009-12-18 14:11:08 UTC (rev 2203)
+++ trunk/bp-themes/bp-default/_inc/css/default.css        2009-12-18 14:28:54 UTC (rev 2204)
</span><span class="lines">@@ -1370,12 +1370,12 @@
</span><span class="cx">                 background: #f4f4f4;
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        ul#topic-post-list li div.poster-meta {
</del><ins>+        ul#topic-post-list li divdiv.poster-meta {
</ins><span class="cx">                 margin-bottom: 10px;
</span><span class="cx">                 color: #888;
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        ul#topic-post-list li div.post-content {
</del><ins>+        ul#topic-post-list li divdiv.post-content {
</ins><span class="cx">                 margin-left: 54px;
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="lines">@@ -1407,52 +1407,72 @@
</span><span class="cx"> /* &gt; WordPress Blog Styles
</span><span class="cx"> -------------------------------------------------------------- */
</span><span class="cx"> 
</span><del>-.post {
-        margin: 0 0 40px 0;
</del><ins>+div.post {
+        margin: 0 0 60px 0;
</ins><span class="cx"> }
</span><del>-        .post h3 {
</del><ins>+        div.post div.author-box, div.comment-avatar-box {
+                background: #f0f0f0;
+                padding: 10px;
+                float: left;
+                margin: 0 15px 15px 0;
+                text-align: center;
+                width: 70px;
+                -moz-border-radius: 3px;
+                -webkit-border-radius: 3px;
+                border-radius: 3px;
+        }
+                div.post div.author-box img, div.comment-avatar-box img {
+                        float: none;
+                        border: 4px solid #fff;
+                }
+
+        div.post div.post-content, div.comment-content {
+                margin-left: 105px;
+        }
+
+        div.post h3 {
</ins><span class="cx">                 font-size: 24px;
</span><span class="cx">                 margin-bottom: 5px;
</span><ins>+                line-height: 120%;
</ins><span class="cx">         }
</span><del>-                .post h3 a {
</del><ins>+                div.post h3 a {
</ins><span class="cx">                         text-decoration: none;
</span><span class="cx">                         color: #666;
</span><span class="cx">                         font-weight: normal;
</span><span class="cx">                 }
</span><span class="cx"> 
</span><del>-        .post p.date, .post p.postmetadata {
</del><ins>+        div.post p.date, div.post p.postmetadata, div.comment-meta, div.comment-options {
</ins><span class="cx">                 color: #888;
</span><span class="cx">                 font-size: 11px;
</span><del>-                padding-bottom: 5px;
</del><ins>+                padding: 3px 0;
+                margin: 10px 0;
</ins><span class="cx">                 border-bottom: 1px solid #e4e4e4;
</span><ins>+                border-top: 1px solid #e4e4e4;
</ins><span class="cx">         }
</span><span class="cx"> 
</span><del>-        .post p.postmetadata {
-                padding-top: 5px;
-                border-top: 1px solid #e4e4e4;
-                border-bottom: none;
</del><ins>+        div.post p.postmetadata {
</ins><span class="cx">                 margin-top: 15px;
</span><span class="cx">                 overflow: hidden;
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        .post .tags { float: left; }
-        .post .comments { float: right; }
</del><ins>+        div.post .tags { float: left; }
+        div.post .comments { float: right; }
</ins><span class="cx"> 
</span><del>-        .post img.wp-smiley { padding: 0 !important; margin: 0 !important; border: none !important; float: none !important; clear: none !important; }
</del><ins>+        div.post img.wp-smiley { padding: 0 !important; margin: 0 !important; border: none !important; float: none !important; clear: none !important; }
</ins><span class="cx"> 
</span><del>-        .post img.centered, img.aligncenter {
</del><ins>+        div.post img.centered, img.aligncenter {
</ins><span class="cx">                 display: block;
</span><span class="cx">                 margin-left: auto;
</span><span class="cx">                 margin-right: auto;
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        .post img.alignright {
</del><ins>+        div.post img.alignright {
</ins><span class="cx">                 padding: 4px;
</span><span class="cx">                 margin: 0 0 2px 7px;
</span><span class="cx">                 display: inline;
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        .post img.alignleft {
</del><ins>+        div.post img.alignleft {
</ins><span class="cx">                 padding: 4px;
</span><span class="cx">                 margin: 0 7px 2px 0;
</span><span class="cx">                 display: inline;
</span><span class="lines">@@ -1469,77 +1489,75 @@
</span><span class="cx">                         float: left;
</span><span class="cx">                 }
</span><span class="cx"> 
</span><del>-        .post .aligncenter, .post div.aligncenter {
</del><ins>+        div.post .aligncenter, div.post div.aligncenter {
</ins><span class="cx">                 display: block;
</span><span class="cx">                 margin-left: auto;
</span><span class="cx">                 margin-right: auto;
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        .post .wp-caption {
</del><ins>+        div.post .wp-caption {
</ins><span class="cx">                 border: 1px solid #ddd;
</span><span class="cx">                 text-align: center;
</span><span class="cx">                 background-color: #f3f3f3;
</span><span class="cx">                 padding-top: 4px;
</span><span class="cx">                 margin: 10px 0;
</span><span class="cx">                 -moz-border-radius: 3px;
</span><del>-                -khtml-border-radius: 3px;
</del><span class="cx">                 -webkit-border-radius: 3px;
</span><span class="cx">                 border-radius: 3px;
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        .post .wp-caption img {
</del><ins>+        div.post .wp-caption img {
</ins><span class="cx">                 margin: 0;
</span><span class="cx">                 padding: 0;
</span><span class="cx">                 border: 0 none;
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        .post dd.wp-caption p.wp-caption-text, .post .wp-caption p.wp-caption-text {
</del><ins>+        div.post dd.wp-caption p.wp-caption-text, div.post .wp-caption p.wp-caption-text {
</ins><span class="cx">                 font-size: 0.9em;
</span><span class="cx">                 line-height: 17px;
</span><span class="cx">                 padding: 0 4px 5px 0;
</span><span class="cx">                 margin: 0;
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        /* WordPress comment form styles */
</del><ins>+/* &gt; WordPress Blog Comment Styles
+-------------------------------------------------------------- */
</ins><span class="cx"> 
</span><del>-        #commentform { padding: 1em 1.5em; }
-        #commentform textarea { width: 100%;}
-        #comment-textarea { float: right; width: 80%; }
</del><ins>+#trackbacks {
+        margin-top: 30px;
+}
</ins><span class="cx"> 
</span><del>-        .comment-details { float: left; width: 20%; }
-        .comment-content { float: right; width: 80%; }
</del><ins>+#comments h3, #trackbacks h3, #respond h3 {
+        font-size: 20px;
+        margin: 5px 0 25px 0;
+        font-weight: normal;
+        color: #555;
+}
</ins><span class="cx"> 
</span><del>-        .commentlist li {
-                padding: 15px;
-                background: #fff;
-                margin-bottom: 1em;
-                        -moz-border-radius: 3px;
-                        -khtml-border-radius: 3px;
-                        -webkit-border-radius: 3px;
-                        border-radius: 3px;
-        }
</del><ins>+#comments span.title, #trackbacks span.title {
+        color: #aaa;
+}
</ins><span class="cx"> 
</span><del>-                .commentlist li.alt { background: #f0f0f0; }
-                .commentlist li img.avatar {
-                        padding: 0;
-                        margin: 0 10px 10px 0;
-                        float: left;
</del><ins>+ol.commentlist li {
+        margin: 0 0 30px 0;
+}
</ins><span class="cx"> 
</span><del>-                }
-                .commentlist li.alt img.avatar { border-color: #fff !important; }
</del><ins>+        div.comment-meta {
+                border-top: none;
+                padding-top: 0;
+        }
</ins><span class="cx"> 
</span><del>-        .commentmetadata {
-        font-size: 0.9em;
-        border-bottom: 1px solid #ddd;
-                padding-bottom: 10px;
-                margin-bottom: 15px;
</del><ins>+        div.comment-meta h5 {
+                font-weight: normal;
</ins><span class="cx">         }
</span><del>-                .commentmetadata a { color: #888; }
</del><span class="cx"> 
</span><del>-        #commentform input, #commentform textarea {
-                margin: 0 5px 8px 0;
</del><ins>+        div.comment-meta em {
+                float: right;
</ins><span class="cx">         }
</span><span class="cx"> 
</span><ins>+        div.comment-options {
+                border-bottom: none;
+        }
+
</ins><span class="cx"> /* &gt; Footer
</span><span class="cx"> -------------------------------------------------------------- */
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultcommentsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/comments.php (2203 => 2204)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/comments.php        2009-12-18 14:11:08 UTC (rev 2203)
+++ trunk/bp-themes/bp-default/comments.php        2009-12-18 14:28:54 UTC (rev 2204)
</span><span class="lines">@@ -9,61 +9,80 @@
</span><span class="cx">                         return;
</span><span class="cx">         ?&gt;
</span><span class="cx"> 
</span><del>-        &lt;div id=&quot;comments-template&quot;&gt;
</del><ins>+        &lt;?php if ( have_comments() ) : ?&gt;
</ins><span class="cx"> 
</span><del>-                &lt;?php if ( have_comments() ) : ?&gt;
</del><ins>+                &lt;div id=&quot;comments&quot;&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;div id=&quot;comments&quot;&gt;
</del><ins>+                        &lt;?php
+                        $numTrackBacks = 0; $numComments = 0;
+                        foreach ( $comments as $comment ) if ( get_comment_type() != &quot;comment&quot;) $numTrackBacks++; else $numComments++;
+                        ?&gt;
</ins><span class="cx"> 
</span><del>-                                &lt;h3 id=&quot;comments-number&quot; class=&quot;comments-header&quot;&gt;&lt;?php comments_number( sprintf( __('No responses to %1$s', 'buddypress'), the_title( '&amp;#8220;', '&amp;#8221;', false ) ), sprintf( __('One response to %1$s', 'buddypress'), the_title( '&amp;#8220;', '&amp;#8221;', false ) ), sprintf( __('%1$s responses to %2$s', 'buddypress'), '%', the_title( '&amp;#8220;', '&amp;#8221;', false ) ) ); ?&gt;&lt;/h3&gt;
</del><ins>+                        &lt;span class=&quot;title&quot;&gt;&lt;?php the_title() ?&gt;&lt;/span&gt;
+                        &lt;h3 id=&quot;comments&quot;&gt;&lt;?php comments_number( 'No Comments', 'One Comment', $numComments . ' Comments' );?&gt;&lt;/h3&gt;
</ins><span class="cx"> 
</span><del>-                                &lt;?php do_action( 'bp_before_blog_comment_list' ) ?&gt;
</del><ins>+                        &lt;?php do_action( 'bp_before_blog_comment_list' ) ?&gt;
</ins><span class="cx"> 
</span><del>-                                &lt;ol class=&quot;commentlist&quot;&gt;
-                                        &lt;?php wp_list_comments( array( 'style' =&gt; 'ol', 'type' =&gt; 'all' ) ); ?&gt;
-                                &lt;/ol&gt;&lt;!-- .comment-list --&gt;
</del><ins>+                        &lt;ol class=&quot;commentlist&quot;&gt;
+                                &lt;?php wp_list_comments( array( 'callback' =&gt; 'bp_dtheme_comments' ) ); ?&gt;
+                        &lt;/ol&gt;&lt;!-- .comment-list --&gt;
</ins><span class="cx"> 
</span><del>-                                &lt;?php do_action( 'bp_after_blog_comment_list' ) ?&gt;
</del><ins>+                        &lt;?php do_action( 'bp_after_blog_comment_list' ) ?&gt;
</ins><span class="cx"> 
</span><del>-                                &lt;?php if ( get_option( 'page_comments' ) ) : ?&gt;
</del><ins>+                        &lt;?php if ( get_option( 'page_comments' ) ) : ?&gt;
</ins><span class="cx"> 
</span><del>-                                        &lt;div class=&quot;comment-navigation paged-navigation&quot;&gt;
</del><ins>+                                &lt;div class=&quot;comment-navigation paged-navigation&quot;&gt;
</ins><span class="cx"> 
</span><del>-                                                &lt;?php paginate_comments_links(); ?&gt;
</del><ins>+                                        &lt;?php paginate_comments_links(); ?&gt;
</ins><span class="cx"> 
</span><del>-                                        &lt;/div&gt;
-                                &lt;?php endif; ?&gt;
</del><ins>+                                &lt;/div&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;/div&gt;&lt;!-- #comments --&gt;
</del><ins>+                        &lt;?php endif; ?&gt;
</ins><span class="cx"> 
</span><del>-                &lt;?php else : ?&gt;
</del><ins>+                &lt;/div&gt;&lt;!-- #comments --&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;?php if ( pings_open() &amp;&amp; !comments_open() &amp;&amp; is_single() ) : ?&gt;
</del><ins>+        &lt;?php else : ?&gt;
</ins><span class="cx"> 
</span><del>-                                &lt;p class=&quot;comments-closed pings-open&quot;&gt;
-                                        &lt;?php printf( __('Comments are closed, but &lt;a href=&quot;%1$s&quot; title=&quot;Trackback URL for this post&quot;&gt;trackbacks&lt;/a&gt; and pingbacks are open.', 'buddypress'), trackback_url( '0' ) ); ?&gt;
-                                &lt;/p&gt;
</del><ins>+                &lt;?php if ( pings_open() &amp;&amp; !comments_open() &amp;&amp; is_single() ) : ?&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;?php elseif ( !comments_open() &amp;&amp; is_single() ) : ?&gt;
</del><ins>+                        &lt;p class=&quot;comments-closed pings-open&quot;&gt;
+                                &lt;?php printf( __('Comments are closed, but &lt;a href=&quot;%1$s&quot; title=&quot;Trackback URL for this post&quot;&gt;trackbacks&lt;/a&gt; and pingbacks are open.', 'buddypress'), trackback_url( '0' ) ); ?&gt;
+                        &lt;/p&gt;
</ins><span class="cx"> 
</span><del>-                                &lt;p class=&quot;comments-closed&quot;&gt;
-                                        &lt;?php _e('Comments are closed.', 'buddypress'); ?&gt;
-                                &lt;/p&gt;
</del><ins>+                &lt;?php elseif ( !comments_open() &amp;&amp; is_single() ) : ?&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;?php endif; ?&gt;
</del><ins>+                        &lt;p class=&quot;comments-closed&quot;&gt;
+                                &lt;?php _e('Comments are closed.', 'buddypress'); ?&gt;
+                        &lt;/p&gt;
</ins><span class="cx"> 
</span><span class="cx">                 &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><ins>+        &lt;?php endif; ?&gt;
+
</ins><span class="cx">                 &lt;?php if ( comments_open() ) : ?&gt;
</span><span class="cx"> 
</span><del>-                        &lt;div id=&quot;respond&quot;&gt;
</del><ins>+                &lt;div id=&quot;respond&quot;&gt;
</ins><span class="cx"> 
</span><ins>+                        &lt;div class=&quot;comment-avatar-box&quot;&gt;
+                                &lt;div class=&quot;avb&quot;&gt;
+                                        &lt;?php if ( bp_loggedin_user_id() ) : ?&gt;
+                                                &lt;a href=&quot;&lt;?php echo bp_loggedin_user_domain() ?&gt;&quot;&gt;
+                                                        &lt;?php echo get_avatar( bp_loggedin_user_id(), 50 ); ?&gt;
+                                                &lt;/a&gt;
+                                        &lt;?php else : ?&gt;
+                                                &lt;?php echo get_avatar( 0, 50 ); ?&gt;
+                                        &lt;?php endif; ?&gt;
+                                &lt;/div&gt;
+                        &lt;/div&gt;
+
+                        &lt;div class=&quot;comment-content&quot;&gt;
+
</ins><span class="cx">                                 &lt;h3 id=&quot;reply&quot; class=&quot;comments-header&quot;&gt;
</span><del>-                                        &lt;?php comment_form_title( __('Leave a Reply', 'buddypress'), __('Leave a Reply to %s', 'buddypress'), true ); ?&gt;
</del><ins>+                                        &lt;?php comment_form_title( __( 'Leave a Reply', 'buddypress' ), __( 'Leave a Reply to %s', 'buddypress' ), true ); ?&gt;
</ins><span class="cx">                                 &lt;/h3&gt;
</span><span class="cx"> 
</span><span class="cx">                                 &lt;p id=&quot;cancel-comment-reply&quot;&gt;
</span><del>-                                        &lt;?php cancel_comment_reply_link( __('Click here to cancel reply.', 'buddypress') ); ?&gt;
</del><ins>+                                        &lt;?php cancel_comment_reply_link( __( 'Click here to cancel reply.', 'buddypress' ) ); ?&gt;
</ins><span class="cx">                                 &lt;/p&gt;
</span><span class="cx"> 
</span><span class="cx">                                 &lt;?php if ( get_option( 'comment_registration' ) &amp;&amp; !$user_ID ) : ?&gt;
</span><span class="lines">@@ -127,8 +146,29 @@
</span><span class="cx"> 
</span><span class="cx">                                 &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><del>-                        &lt;/div&gt;
</del><ins>+                        &lt;/div&gt;&lt;!-- .comment-content --&gt;
+                &lt;/div&gt;&lt;!-- #respond --&gt;
</ins><span class="cx"> 
</span><span class="cx">                 &lt;?php endif; ?&gt;
</span><span class="cx"> 
</span><del>-        &lt;/div&gt;
</del><ins>+                &lt;?php if ( $numTrackBacks ) : ?&gt;
+                        &lt;div id=&quot;trackbacks&quot;&gt;
+
+                                &lt;span class=&quot;title&quot;&gt;&lt;?php the_title() ?&gt;&lt;/span&gt;
+
+                                &lt;?php if ( 1 == $numTrackBacks ) : ?&gt;
+                                        &lt;h3&gt;&lt;?php printf( __( '%d Trackback', 'buddypress' ), $numTrackBacks ) ?&gt;&lt;/h3&gt;
+                                &lt;?php else : ?&gt;
+                                        &lt;h3&gt;&lt;?php printf( __( '%d Trackbacks', 'buddypress' ), $numTrackBacks ) ?&gt;&lt;/h3&gt;
+                                &lt;?php endif; ?&gt;
+
+                                &lt;ul id=&quot;trackbacklist&quot;&gt;
+                                        &lt;?php foreach ( $comments as $comment ) : ?&gt;
+
+                                                &lt;?php if ( get_comment_type() != 'comment' ) : ?&gt;
+                                                        &lt;li&gt;&lt;h5&gt;&lt;?php comment_author_link() ?&gt;&lt;/h5&gt;&lt;em&gt;on &lt;?php comment_date() ?&gt;&lt;/em&gt;&lt;/li&gt;
+                                                  &lt;?php endif; ?&gt;
+                                        &lt;?php endforeach; ?&gt;
+                                &lt;/ul&gt;
+                        &lt;/div&gt;
+                &lt;?php endif; ?&gt;
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultfunctionsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/functions.php (2203 => 2204)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/functions.php        2009-12-18 14:11:08 UTC (rev 2203)
+++ trunk/bp-themes/bp-default/functions.php        2009-12-18 14:28:54 UTC (rev 2204)
</span><span class="lines">@@ -54,6 +54,53 @@
</span><span class="cx">                 return $fullname[0];
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+function bp_dtheme_add_blog_comments_js() {
+        if ( is_singular() ) wp_enqueue_script( 'comment-reply' );
+}
+add_action( 'template_redirect', 'bp_dtheme_add_blog_comments_js' );
+
+function bp_dtheme_comments( $comment, $args, $depth ) {
+    $GLOBALS['comment'] = $comment;
+        $comment_type = get_comment_type();
+
+        if ( $comment-&gt;user_id )
+                $userlink = bp_core_get_userurl( $comment-&gt;user_id );
+
+        if ( $comment_type == 'comment' ) { ?&gt;
+        &lt;li &lt;?php comment_class(); ?&gt; id=&quot;comment-&lt;?php comment_ID(); ?&gt;&quot;&gt;
+
+                        &lt;div class=&quot;comment-avatar-box&lt;?php if ( $comment-&gt;user_id ) : ?&gt; extra&lt;?php endif; ?&gt;&quot;&gt;
+                                &lt;div class=&quot;avb&quot;&gt;
+                                        &lt;a href=&quot;&lt;?php if ( $userlink ) : echo $userlink; else : echo get_comment_author_url(); endif;?&gt;&quot;&gt;
+                                                &lt;?php echo get_avatar( $comment, 50 ); ?&gt;
+                                        &lt;/a&gt;
+                                &lt;/div&gt;
+                        &lt;/div&gt;
+
+                        &lt;div class=&quot;comment-content&quot;&gt;
+
+                                &lt;div class=&quot;comment-meta&quot;&gt;
+                                        &lt;a href=&quot;&lt;?php if ( $userlink ) : echo $userlink; else : echo get_comment_author_url(); endif;?&gt;&quot;&gt;&lt;?php echo get_comment_author(); ?&gt;&lt;/a&gt; &lt;?php _e( 'said:', 'buddypress' ) ?&gt;
+                                        &lt;em&gt;&lt;?php _e( 'On', 'buddypress' ) ?&gt; &lt;a href=&quot;#comment-&lt;?php comment_ID() ?&gt;&quot; title=&quot;&quot;&gt;&lt;?php comment_date() ?&gt;&lt;/a&gt;&lt;/em&gt;
+                    &lt;/div&gt;
+
+                                &lt;?php if ($comment-&gt;comment_approved == '0') : ?&gt;
+                            &lt;em class=&quot;moderate&quot;&gt;&lt;?php _e('Your comment is awaiting moderation.'); ?&gt;&lt;/em&gt;&lt;br /&gt;
+                    &lt;?php endif; ?&gt;
+
+                                &lt;?php comment_text() ?&gt;
+
+                                &lt;div class=&quot;comment-options&quot;&gt;
+                                        &lt;?php echo comment_reply_link( array('depth' =&gt; $depth, 'max_depth' =&gt; $args['max_depth'] ) ) ?&gt;
+                                        &lt;?php edit_comment_link( __( 'Edit' ),'','' ); ?&gt;
+                                &lt;/div&gt;
+
+                        &lt;/div&gt;
+        &lt;/li&gt;
+        &lt;?php } ?&gt;
+&lt;?php
+}
+
</ins><span class="cx"> function bp_dtheme_remove_redundant() {
</span><span class="cx">         global $bp;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultindexphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/index.php (2203 => 2204)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/index.php        2009-12-18 14:11:08 UTC (rev 2203)
+++ trunk/bp-themes/bp-default/index.php        2009-12-18 14:28:54 UTC (rev 2204)
</span><span class="lines">@@ -15,16 +15,23 @@
</span><span class="cx"> 
</span><span class="cx">                                         &lt;div class=&quot;post&quot; id=&quot;post-&lt;?php the_ID(); ?&gt;&quot;&gt;
</span><span class="cx"> 
</span><del>-                                                &lt;h3&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;&lt;?php _e( 'Permanent Link to', 'buddypress' ) ?&gt; &lt;?php the_title_attribute(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h3&gt;
</del><ins>+                                                &lt;div class=&quot;author-box&quot;&gt;
+                                                        &lt;?php echo get_avatar( get_the_author_email(), '50' ); ?&gt;
+                                                        &lt;p&gt;&lt;?php printf( __( 'by %s', 'buddypress' ), bp_core_get_userlink( $post-&gt;post_author ) ) ?&gt;&lt;/p&gt;
+                                                &lt;/div&gt;
</ins><span class="cx"> 
</span><del>-                                                &lt;p class=&quot;date&quot;&gt;&lt;?php the_time('F j, Y') ?&gt; &lt;em&gt;&lt;?php _e( 'in', 'buddypress' ) ?&gt; &lt;?php the_category(', ') ?&gt; &lt;?php printf( __( 'by %s', 'buddypress' ), bp_core_get_userlink($post-&gt;post_author) ) ?&gt;&lt;/em&gt;&lt;/p&gt;
</del><ins>+                                                &lt;div class=&quot;post-content&quot;&gt;
+                                                        &lt;h3&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;&lt;?php _e( 'Permanent Link to', 'buddypress' ) ?&gt; &lt;?php the_title_attribute(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h3&gt;
</ins><span class="cx"> 
</span><del>-                                                &lt;div class=&quot;entry&quot;&gt;
-                                                        &lt;?php the_content( __( 'Read the rest of this entry &amp;raquo;', 'buddypress' ) ); ?&gt;
</del><ins>+                                                        &lt;p class=&quot;date&quot;&gt;&lt;?php the_time('F j, Y') ?&gt; &lt;em&gt;&lt;?php _e( 'in', 'buddypress' ) ?&gt; &lt;?php the_category(', ') ?&gt; &lt;?php printf( __( 'by %s', 'buddypress' ), bp_core_get_userlink( $post-&gt;post_author ) ) ?&gt;&lt;/em&gt;&lt;/p&gt;
+
+                                                        &lt;div class=&quot;entry&quot;&gt;
+                                                                &lt;?php the_content( __( 'Read the rest of this entry &amp;raquo;', 'buddypress' ) ); ?&gt;
+                                                        &lt;/div&gt;
+
+                                                        &lt;p class=&quot;postmetadata&quot;&gt;&lt;span class=&quot;tags&quot;&gt;&lt;?php the_tags( __( 'Tags: ', 'buddypress' ), ', ', '&lt;br /&gt;'); ?&gt;&lt;/span&gt; &lt;span class=&quot;comments&quot;&gt;&lt;?php comments_popup_link( __( 'No Comments &amp;#187;', 'buddypress' ), __( '1 Comment &amp;#187;', 'buddypress' ), __( '% Comments &amp;#187;', 'buddypress' ) ); ?&gt;&lt;/span&gt;&lt;/p&gt;
</ins><span class="cx">                                                 &lt;/div&gt;
</span><span class="cx"> 
</span><del>-                                                &lt;p class=&quot;postmetadata&quot;&gt;&lt;span class=&quot;tags&quot;&gt;&lt;?php the_tags( __( 'Tags: ', 'buddypress' ), ', ', '&lt;br /&gt;'); ?&gt;&lt;/span&gt; &lt;span class=&quot;comments&quot;&gt;&lt;?php comments_popup_link( __( 'No Comments &amp;#187;', 'buddypress' ), __( '1 Comment &amp;#187;', 'buddypress' ), __( '% Comments &amp;#187;', 'buddypress' ) ); ?&gt;&lt;/span&gt;&lt;/p&gt;
-
</del><span class="cx">                                         &lt;/div&gt;
</span><span class="cx"> 
</span><span class="cx">                                         &lt;?php do_action( 'bp_after_blog_post' ) ?&gt;
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultsinglephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/single.php (2203 => 2204)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/single.php        2009-12-18 14:11:08 UTC (rev 2203)
+++ trunk/bp-themes/bp-default/single.php        2009-12-18 14:28:54 UTC (rev 2204)
</span><span class="lines">@@ -18,20 +18,25 @@
</span><span class="cx"> 
</span><span class="cx">                                 &lt;div class=&quot;post&quot; id=&quot;post-&lt;?php the_ID(); ?&gt;&quot;&gt;
</span><span class="cx"> 
</span><del>-                                        &lt;?php do_action( 'bp_before_blog_post' ) ?&gt;
</del><ins>+                                        &lt;div class=&quot;author-box&quot;&gt;
+                                                &lt;?php echo get_avatar( get_the_author_email(), '50' ); ?&gt;
+                                                &lt;p&gt;&lt;?php printf( __( 'by %s', 'buddypress' ), bp_core_get_userlink( $post-&gt;post_author ) ) ?&gt;&lt;/p&gt;
+                                        &lt;/div&gt;
</ins><span class="cx"> 
</span><del>-                                        &lt;h3&gt;&lt;a href=&quot;&lt;?php echo get_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;&lt;?php _e( 'Permanent link to', 'buddypress' ) ?&gt; &lt;?php the_title(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h3&gt;
</del><ins>+                                        &lt;div class=&quot;post-content&quot;&gt;
+                                                &lt;h3&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;&lt;?php _e( 'Permanent Link to', 'buddypress' ) ?&gt; &lt;?php the_title_attribute(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h3&gt;
</ins><span class="cx"> 
</span><del>-                                        &lt;div class=&quot;entry&quot;&gt;
</del><ins>+                                                &lt;p class=&quot;date&quot;&gt;&lt;?php the_time('F j, Y') ?&gt; &lt;em&gt;&lt;?php _e( 'in', 'buddypress' ) ?&gt; &lt;?php the_category(', ') ?&gt; &lt;?php printf( __( 'by %s', 'buddypress' ), bp_core_get_userlink( $post-&gt;post_author ) ) ?&gt;&lt;/em&gt;&lt;/p&gt;
</ins><span class="cx"> 
</span><del>-                                                &lt;?php the_content( __( '&lt;p class=&quot;serif&quot;&gt;Read the rest of this entry &amp;raquo;&lt;/p&gt;', 'buddypress' ) ); ?&gt;
</del><ins>+                                                &lt;div class=&quot;entry&quot;&gt;
+                                                        &lt;?php the_content( __( 'Read the rest of this entry &amp;raquo;', 'buddypress' ) ); ?&gt;
</ins><span class="cx"> 
</span><del>-                                                &lt;?php wp_link_pages(array('before' =&gt; __( '&lt;p&gt;&lt;strong&gt;Pages:&lt;/strong&gt; ', 'buddypress' ), 'after' =&gt; '&lt;/p&gt;', 'next_or_number' =&gt; 'number')); ?&gt;
</del><ins>+                                                        &lt;?php wp_link_pages(array('before' =&gt; __( '&lt;p&gt;&lt;strong&gt;Pages:&lt;/strong&gt; ', 'buddypress' ), 'after' =&gt; '&lt;/p&gt;', 'next_or_number' =&gt; 'number')); ?&gt;
+                                                &lt;/div&gt;
</ins><span class="cx"> 
</span><ins>+                                                &lt;p class=&quot;postmetadata&quot;&gt;&lt;span class=&quot;tags&quot;&gt;&lt;?php the_tags( __( 'Tags: ', 'buddypress' ), ', ', '&lt;br /&gt;'); ?&gt;&lt;/span&gt; &lt;span class=&quot;comments&quot;&gt;&lt;?php comments_popup_link( __( 'No Comments &amp;#187;', 'buddypress' ), __( '1 Comment &amp;#187;', 'buddypress' ), __( '% Comments &amp;#187;', 'buddypress' ) ); ?&gt;&lt;/span&gt;&lt;/p&gt;
</ins><span class="cx">                                         &lt;/div&gt;
</span><span class="cx"> 
</span><del>-                                        &lt;?php do_action( 'bp_after_blog_post' ) ?&gt;
-
</del><span class="cx">                                 &lt;/div&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;?php comments_template(); ?&gt;
</span></span></pre>
</div>
</div>

</body>
</html>