Ticket #3242: 3242-02.patch
File 3242-02.patch, 4.2 KB (added by , 14 years ago) |
---|
-
bp-themes/bp-default/functions.php
418 418 else 419 419 $avatar_size = 20; 420 420 ?> 421 421 422 <li <?php comment_class() ?> id="comment-<?php comment_ID() ?>"> 422 423 <div class="comment-avatar-box"> 423 424 <div class="avb"> … … 438 439 <span class="time-since"> <?php comment_date() ?></span> 439 440 440 441 <?php if ( 1 == $depth ) : ?> 441 ·<a href="#comment-<?php comment_ID() ?>"><?php _e( 'View', 'buddypress' ) ?></a>442 <a href="#comment-<?php comment_ID() ?>"><?php _e( 'View', 'buddypress' ) ?></a> 442 443 <?php elseif ( comments_open() ) : ?> 443 ·<?php comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => __( 'Reply', 'buddypress' ) ) ) ?>444 <?php comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => __( 'Reply', 'buddypress' ) ) ) ?> 444 445 <?php endif; ?> 445 446 446 <?php edit_comment_link( __( 'Edit', 'buddypress' ) , '· ', ''); ?>447 <?php edit_comment_link( __( 'Edit', 'buddypress' ) ); ?> 447 448 </p> 449 450 <?php if ( 1 == $depth && -1 != $args['max_depth'] && comments_open() ) : ?> 451 <p class="comment-reply"><?php comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ?></p> 452 <?php endif; ?> 448 453 </div> 449 454 450 <?php if ( $comment->comment_approved == '0' ) : ?> 451 <em class="moderate"><?php _e( 'Your comment is awaiting moderation.', 'buddypress' ) ?></em><br /> 452 <?php endif; ?> 455 <div class="comment-entry"> 456 <?php if ( $comment->comment_approved == '0' ) : ?> 457 <em class="moderate"><?php _e( 'Your comment is awaiting moderation.', 'buddypress' ); ?></em> 458 <?php endif; ?> 453 459 454 <?php comment_text() ?> 460 <?php comment_text() ?> 461 </div> 455 462 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; ?> 463 <div class="clear"></div> 461 464 </div> 465 466 <div class="clear"></div> 462 467 <?php 463 468 } 464 469 endif; -
bp-themes/bp-default/_inc/css/default.css
1933 1933 list-style: none; 1934 1934 margin-bottom: 15px; 1935 1935 } 1936 ol.commentlist ul.children li { 1937 margin-bottom: 0; 1938 } 1936 1939 ol.commentlist div.comment-avatar-box { 1937 1940 float: left; 1938 margin: 15px 1 0px 15px0;1941 margin: 15px 15px 0 0; 1939 1942 } 1940 1943 .commentlist ul.children div.comment-avatar-box { 1941 1944 float: left; 1942 margin: 0px 10px 10px0;1945 margin: 0px 10px 0 0; 1943 1946 } 1944 1947 div.comment-avatar-box img { 1945 1948 border: 2px solid #eee; 1946 1949 } 1947 1950 div.comment-content { 1948 1951 border-top: 1px solid #e4e4e4; 1949 padding-left: 75px; 1952 padding-left: 70px; 1953 width: 100%; 1950 1954 } 1951 .comment list .children .comment{1952 margin-bottom: 5px;1955 .comment-entry { 1956 float: left; 1953 1957 } 1954 div.comment-meta, 1955 div.comment-options { 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 } … … 2010 2025 } 2011 2026 .commentlist ul.children { 2012 2027 background: #f5f5f5; 2013 margin-bottom: 10px;2014 margin -left: 75px;2015 padding: 1px10px;2028 float: left; 2029 margin: 15px 0 15px 70px; 2030 padding: 0 10px; 2016 2031 -moz-border-radius: 4px; 2017 2032 -webkit-border-radius: 4px; 2018 2033 } 2019 2034 .commentlist ul.children ul { 2020 margin-left: 20px; 2021 margin-bottom: 0; 2022 padding: 5px 0 0 0; 2035 margin: 0 0 0 25px; 2023 2036 } 2024 2037 .commentlist ul.children img.avatar { 2025 2038 border-style: none; … … 2033 2046 } 2034 2047 .commentlist ul.children div.comment-meta { 2035 2048 font-size: 11px; 2036 margin -top:0;2049 margin: 0 0 10px 0; 2037 2050 } 2038 2051 .commentlist ul.children div.comment-options { 2039 2052 margin-bottom: 5px; … … 2074 2087 margin-bottom: 0; 2075 2088 } 2076 2089 ol.commentlist #respond { 2077 margin-left: 7 5px;2090 margin-left: 70px; 2078 2091 } 2079 2092 .commentlist ul.children #respond { 2080 2093 margin-bottom: 10px;