Ticket #3242: 3242-reply-as-buttons.patch
File 3242-reply-as-buttons.patch, 2.9 KB (added by , 14 years ago) |
---|
-
bp-default/_inc/css/default.css
1927 1927 } 1928 1928 ol.commentlist li { 1929 1929 list-style: none; 1930 margin-bottom: 20px; 1930 1931 } 1931 1932 ol.commentlist div.comment-avatar-box { 1932 1933 float: left; 1933 margin: 10px 10px 10px 0;1934 margin: 10px 10px 0px 0; 1934 1935 } 1935 1936 .commentlist ul.children div.comment-avatar-box { 1936 1937 float: left; 1937 margin: 0px 10px 10px 0;1938 margin: 0px 10px 0px 0; 1938 1939 } 1939 1940 div.comment-avatar-box img { 1940 1941 border: 2px solid #eee; … … 1952 1953 font-size: 11px; 1953 1954 margin: 10px 0; 1954 1955 } 1956 div.comment-options { 1957 float:right; 1958 } 1959 div.comment-meta { 1960 float: left; 1961 } 1962 li.depth-1 div.comment-content p { 1963 clear: right; 1964 } 1965 ul.children div.comment-content p { 1966 clear: both; 1967 } 1955 1968 div.comment-meta em { 1956 1969 font-style: normal; 1957 1970 } … … 1981 1994 font-size: 11px; 1982 1995 font-weight: normal; 1983 1996 } 1984 #reply-title small a, 1985 div.comment-options a.comment-reply-link { 1997 #reply-title small a, a.comment-reply-link { 1986 1998 background: #FFF9DB; 1987 1999 border-bottom: 1px solid #FFE8C4; 1988 2000 border-radius: 4px; … … 1997 2009 #reply-title small a { 1998 2010 margin-right: 0; 1999 2011 } 2000 #reply-title small a:hover, 2001 div.comment-options a.comment-reply-link:hover { 2012 #reply-title small a:hover, a.comment-reply-link:hover { 2002 2013 background: #f7740a; 2003 2014 border-color: #f7740a; 2004 2015 color: #fff; -
bp-default/functions.php
439 439 440 440 <?php if ( 1 == $depth ) : ?> 441 441 · <a href="#comment-<?php comment_ID() ?>"><?php _e( 'View', 'buddypress' ) ?></a> 442 <?php edit_comment_link( __( 'Edit', 'buddypress' ), '· ', '' ); ?> 442 443 <?php elseif ( comments_open() ) : ?> 444 <?php edit_comment_link( __( 'Edit', 'buddypress' ), '· ', '' ); ?> 443 445 · <?php echo comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => __( 'Reply', 'buddypress' ) ) ) ?> 444 446 <?php endif; ?> 445 447 446 <?php edit_comment_link( __( 'Edit', 'buddypress' ), '· ', '' ); ?>448 447 449 </p> 448 450 </div> 449 451 <?php if ( 1 == $depth && comments_open() ) : ?> 452 <div class="comment-options"> 453 <?php echo comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ?> 454 </div> 455 <?php endif; ?> 450 456 <?php if ( $comment->comment_approved == '0' ) : ?> 451 457 <em class="moderate"><?php _e( 'Your comment is awaiting moderation.', 'buddypress' ) ?></em><br /> 452 458 <?php endif; ?> 453 459 454 460 <?php comment_text() ?> 455 456 <?php if ( 1 == $depth && comments_open() ) : ?>457 <div class="comment-options">458 <?php echo comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ?>459 </div>460 <?php endif; ?>461 461 </div> 462 462 <?php 463 463 }