Skip to:
Content

BuddyPress.org

Ticket #3242: 3242-01.patch

File 3242-01.patch, 2.0 KB (added by DJPaul, 14 years ago)
  • bp-themes/bp-default/functions.php

     
    445445
    446446                                        <?php edit_comment_link( __( 'Edit', 'buddypress' ), '&middot; ', '' ); ?>
    447447                                </p>
     448
     449                                <?php if ( 1 == $depth && -1 != $args['max_depth'] && comments_open() ) : ?>
     450                                        <p class="comment-reply"><?php comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ?></p>
     451                                <?php endif; ?>
    448452                        </div>
    449453
    450                         <?php if ( $comment->comment_approved == '0' ) : ?>
    451                                 <em class="moderate"><?php _e( 'Your comment is awaiting moderation.', 'buddypress' ) ?></em><br />
    452                         <?php endif; ?>
     454                        <div class="comment-entry">
     455                                <?php if ( $comment->comment_approved == '0' ) : ?>
     456                                        <em class="moderate"><?php _e( 'Your comment is awaiting moderation.', 'buddypress' ); ?></em>
     457                                <?php endif; ?>
    453458
    454                         <?php comment_text() ?>
    455 
    456                         <?php if ( 1 == $depth && -1 != $args['max_depth'] && comments_open() ) : ?>
    457                                 <div class="comment-options">
    458                                         <?php comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ?>
    459                                 </div>
    460                         <?php endif; ?>
     459                                <?php comment_text() ?>
     460                        </div>
    461461                </div>
    462462<?php
    463463}
  • bp-themes/bp-default/_inc/css/default.css

     
    19491949        padding-left: 75px;
    19501950}
    19511951.commentlist .children .comment {
     1952        /* Is this needed? */
    19521953        margin-bottom: 5px;
    19531954}
    1954 div.comment-meta,
    1955 div.comment-options {
     1955ul.children .comment-entry {
     1956        margin-bottom: 10px;
     1957}
     1958div.comment-meta {
    19561959        color: #888;
     1960        float: left;
    19571961        font-size: 11px;
    19581962        margin: 15px 0;
     1963        width: 100%;
    19591964}
     1965div.comment-meta p {
     1966        float: left;
     1967        margin-bottom: 0;
     1968}
     1969div.comment-meta p.comment-reply {
     1970        float: right;
     1971}
    19601972div.comment-meta em {
    19611973        font-style: normal;
    19621974}