Ticket #3242: 3242-should-be-final.patch
File 3242-should-be-final.patch, 4.0 KB (added by , 14 years ago) |
---|
-
_inc/css/default.css
1289 1289 margin: 0 5px -8px 0 !important; 1290 1290 } 1291 1291 .activity-list .activity-header a:first-child, 1292 .comment list .depth-1 > .comment-content .comment-meta a:first-child,1292 .comment-author, 1293 1293 span.highlight { 1294 1294 background: #ebf7ff; 1295 1295 border-bottom: 1px solid #a1dcfa; … … 1949 1949 padding-left: 75px; 1950 1950 } 1951 1951 .commentlist .children .comment { 1952 /* Is this needed? */ 1952 1953 margin-bottom: 5px; 1953 1954 } 1954 div.comment-meta, 1955 div.comment-options { 1955 .comment-entry { 1956 float: left; 1957 } 1958 ul.children .comment-entry { 1959 margin-bottom: 10px; 1960 } 1961 div.comment-meta { 1956 1962 color: #888; 1963 float: left; 1957 1964 font-size: 11px; 1958 1965 margin: 15px 0; 1966 width: 100%; 1959 1967 } 1968 div.comment-meta p { 1969 float: left; 1970 margin-bottom: 0; 1971 } 1972 div.comment-meta p.comment-reply { 1973 float: right; 1974 } 1960 1975 div.comment-meta em { 1961 1976 font-style: normal; 1962 1977 } … … 1973 1988 -webkit-border-radius: 4px; 1974 1989 } 1975 1990 div.comment-meta .comment-highlight a:hover, 1976 .comment list .depth-1 > .comment-content .comment-meta a:first-child:hover {1991 .comment-author:hover { 1977 1992 background: #059AE7; 1978 1993 border-color: #059AE7; 1979 1994 color: #fff; … … 1987 2002 font-weight: normal; 1988 2003 } 1989 2004 #reply-title small a, 1990 div.comment-optionsa.comment-reply-link {2005 p.comment-reply a.comment-reply-link { 1991 2006 background: #FFF9DB; 1992 2007 border-bottom: 1px solid #FFE8C4; 1993 2008 border-radius: 4px; … … 2003 2018 margin-right: 0; 2004 2019 } 2005 2020 #reply-title small a:hover, 2006 div.comment-optionsa.comment-reply-link:hover {2021 p.comment-reply a.comment-reply-link:hover { 2007 2022 background: #f7740a; 2008 2023 border-color: #f7740a; 2009 2024 color: #fff; -
functions.php
434 434 <div class="comment-content"> 435 435 <div class="comment-meta"> 436 436 <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' ) ?> 438 438 <span class="time-since"> <?php comment_date() ?></span> 439 440 <?php if ( 1 == $depth ) : ?> 441 · <a href="#comment-<?php comment_ID() ?>"><?php _e( 'View', 'buddypress' ) ?></a> 442 <?php elseif ( comments_open() ) : ?> 439 440 <?php edit_comment_link( __( 'Edit', 'buddypress' ), '· ', '' ); 441 if ( 1 != $depth && comments_open() ) :?> 443 442 · <?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' ), '· ', '' ); ?> 443 <?php endif; ?> 447 444 </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; ?> 448 448 </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> 461 455 </div> 462 456 <?php 463 457 }