Ticket #3249: #3249-add-replies-to-comments-closed-for-comments.patch
| File #3249-add-replies-to-comments-closed-for-comments.patch, 2.1 KB (added by , 15 years ago) |
|---|
-
bp-themes/bp-default/functions.php
433 433 434 434 <div class="comment-content"> 435 435 <div class="comment-meta"> 436 <a href="<?php echo get_comment_author_url() ?>" rel="nofollow"><?php echo get_comment_author() ?></a> <?php echo _n( 'said:', 'replied:', $depth, 'buddypress' ) ?></a> 437 <span class="time-since"> <?php comment_date() ?></span> 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' ) ?> 438 <span class="time-since"> <?php comment_date() ?></span> 438 439 439 <?php if ( 1 == $depth ) : ?>440 · <a href="#comment-<?php comment_ID() ?>"><?php _e( 'View', 'buddypress' ) ?></a>441 <?php else: ?>442 ·<?php echo comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => __( 'Reply', 'buddypress' ) ) ) ?>443 <?php endif; ?>440 <?php if ( 1 == $depth ) : ?> 441 · <a href="#comment-<?php comment_ID() ?>"><?php _e( 'View', 'buddypress' ) ?></a> 442 <?php else: ?> 443 <?php if( comments_open() ){ ?> · <?php } ?><?php echo comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'], 'reply_text' => __( 'Reply', 'buddypress' ) ) ) ?> 444 <?php endif; ?> 444 445 445 <?php edit_comment_link( __( 'Edit', 'buddypress' ), '· ', '' ) ?> 446 <?php edit_comment_link( __( 'Edit', 'buddypress' ), '· ', '' ) ?> 447 </p> 446 448 </div> 447 449 448 450 <?php if ( $comment->comment_approved == '0' ) : ?> … … 453 455 454 456 <?php if ( 1 == $depth ) : ?> 455 457 <div class="comment-options"> 458 459 <?php if( comments_open() ) : ?> 456 460 <?php echo comment_reply_link( array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ?> 461 <?php else: ?> 462 <p><?php _e('Replies to comments are closed', 'buddypress'); ?></p> 463 <?php endif; ?> 464 457 465 </div> 458 466 <?php endif; ?> 459 467 </div>