Skip to:
Content

BuddyPress.org

Ticket #3242: 3242-should-be-final.patch

File 3242-should-be-final.patch, 4.0 KB (added by Dennissmolek, 14 years ago)

Should be the last one..

  • _inc/css/default.css

     
    12891289        margin: 0 5px -8px 0 !important;
    12901290}
    12911291.activity-list .activity-header a:first-child,
    1292 .commentlist .depth-1 > .comment-content .comment-meta a:first-child,
     1292.comment-author,
    12931293span.highlight {
    12941294        background: #ebf7ff;
    12951295        border-bottom: 1px solid #a1dcfa;
     
    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 {
     1955.comment-entry {
     1956        float: left;
     1957}
     1958ul.children .comment-entry {
     1959        margin-bottom: 10px;
     1960}
     1961div.comment-meta {
    19561962        color: #888;
     1963        float: left;
    19571964        font-size: 11px;
    19581965        margin: 15px 0;
     1966        width: 100%;
    19591967}
     1968div.comment-meta p {
     1969        float: left;
     1970        margin-bottom: 0;
     1971}
     1972div.comment-meta p.comment-reply {
     1973        float: right;
     1974}
    19601975div.comment-meta em {
    19611976        font-style: normal;
    19621977}
     
    19731988        -webkit-border-radius: 4px;
    19741989}
    19751990div.comment-meta .comment-highlight a:hover,
    1976 .commentlist .depth-1 > .comment-content .comment-meta a:first-child:hover {
     1991.comment-author:hover {
    19771992        background: #059AE7;
    19781993        border-color: #059AE7;
    19791994        color: #fff;
     
    19872002        font-weight: normal;
    19882003}
    19892004#reply-title small a,
    1990 div.comment-options a.comment-reply-link {
     2005p.comment-reply a.comment-reply-link {
    19912006        background: #FFF9DB;
    19922007        border-bottom: 1px solid #FFE8C4;
    19932008        border-radius: 4px;
     
    20032018        margin-right: 0;
    20042019}
    20052020#reply-title small a:hover,
    2006 div.comment-options a.comment-reply-link:hover {
     2021p.comment-reply a.comment-reply-link:hover {
    20072022        background: #f7740a;
    20082023        border-color: #f7740a;
    20092024        color: #fff;
  • functions.php

     
    434434                <div class="comment-content">
    435435                        <div class="comment-meta">
    436436                                <p>
    437                                         <a href="<?php echo get_comment_author_url() ?>" rel="nofollow"><?php echo get_comment_author() ?></a> <?php echo _n( 'said:', 'replied:', $depth, 'buddypress' ) ?>
     437                                        <a href="<?php echo get_comment_author_url();?>"class="<?php if ( 1 != $depth ) : echo "children-"; endif;?>comment-author" rel="nofollow"><?php echo get_comment_author() ?></a> <?php echo _n( 'said:', 'replied:', $depth, 'buddypress' ) ?>
    438438                                        <span class="time-since">&nbsp; <?php comment_date() ?></span>
    439 
    440                                         <?php if ( 1 == $depth ) : ?>
    441                                                 &middot; <a href="#comment-<?php comment_ID() ?>"><?php _e( 'View', 'buddypress' ) ?></a>
    442                                         <?php elseif ( comments_open() ) : ?>
     439                   
     440                                        <?php edit_comment_link( __( 'Edit', 'buddypress' ), '&middot; ', '' );
     441                    if ( 1 != $depth && comments_open() ) :?>
    443442                                                &middot; <?php comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => __( 'Reply', 'buddypress' ) ) ) ?>
    444                                         <?php endif; ?>
    445 
    446                                         <?php edit_comment_link( __( 'Edit', 'buddypress' ), '&middot; ', '' ); ?>
     443                                        <?php endif; ?>
    447444                                </p>
     445                                <?php if ( 1 == $depth && -1 != $args['max_depth'] && comments_open() ) : ?>
     446                                        <p class="comment-reply"><?php comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ?></p>
     447                                <?php endif; ?>
    448448                        </div>
    449 
    450                         <?php if ( $comment->comment_approved == '0' ) : ?>
    451                                 <em class="moderate"><?php _e( 'Your comment is awaiting moderation.', 'buddypress' ) ?></em><br />
    452                         <?php endif; ?>
    453 
    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; ?>
     449                        <div class="comment-entry">
     450                                <?php if ( $comment->comment_approved == '0' ) : ?>
     451                                        <em class="moderate"><?php _e( 'Your comment is awaiting moderation.', 'buddypress' ); ?></em>
     452                                <?php endif; ?>
     453                                <?php comment_text() ?>
     454                        </div>&nbsp;
    461455                </div>
    462456<?php
    463457}