equal
deleted
inserted
replaced
|
1 <?php |
|
2 function bfa_comments($comment, $args, $depth) { |
|
3 |
|
4 global $bfa_ata, $post; |
|
5 |
|
6 $GLOBALS['comment'] = $comment; ?> |
|
7 <li <?php comment_class($class='clearfix') ?> id="comment-<?php comment_ID(); ?>"> |
|
8 <div id="div-comment-<?php comment_ID(); ?>" class="clearfix comment-container<?php |
|
9 $comment = get_comment($comment_id); |
|
10 if ( $comment->user_id === $post->post_author ) |
|
11 echo ' bypostauthor'; |
|
12 ?>"> |
|
13 <div class="comment-author vcard"> |
|
14 <?php if ($args['avatar_size'] != 0) echo get_avatar( $comment, $args['avatar_size'] ); ?> |
|
15 <span class="authorname"><?php comment_author_link(); ?></span> |
|
16 </div> |
|
17 <?php if ($comment->comment_approved == '0') : ?> |
|
18 <em><?php echo $bfa_ata['comment_moderation_text']; ?></em><br /> |
|
19 <?php endif; ?> |
|
20 <div class="comment-meta commentmetadata"> |
|
21 <a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"> |
|
22 <?php printf(__('%1$s at %2$s','atahualpa'), get_comment_date(), get_comment_time()) ?></a> |
|
23 <?php echo comment_reply_link(array('before' => '<span class="comment-reply-link">', 'after' => '</span>', 'reply_text' => $bfa_ata['comment_reply_link_text'], 'depth' => $depth, 'max_depth' => $args['max_depth'] )); ?> |
|
24 <?php edit_comment_link($bfa_ata['comment_edit_link_text'],'<span class="comment-edit-link">','</span>') ?> |
|
25 </div> |
|
26 <?php comment_text() ?> |
|
27 </div> |
|
28 <?php } ?> |