| Conditions | 2 |
| Paths | 2 |
| Total Lines | 35 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | function podium_comments($comment, $args, $depth) |
||
| 10 | { |
||
| 11 | |||
| 12 | $GLOBALS['comment'] = $comment; ?> |
||
| 13 | <li <?php comment_class('panel'); ?>> |
||
| 14 | <article id="comment-<?php comment_ID(); ?>" class="clearfix large-12 columns"> |
||
| 15 | <header class="comment-author"> |
||
| 16 | <?php |
||
| 17 | |||
| 18 | // create variable |
||
| 19 | // $bgauthemail = get_comment_author_email(); |
||
| 20 | ?> |
||
| 21 | <?php printf(__('<cite class="fn">%s</cite>', 'podium'), get_comment_author_link()); ?> on |
||
| 22 | <time datetime="<?php echo comment_time('Y-m-j'); ?>"><a href="<?php echo htmlspecialchars(get_comment_link($comment->comment_ID)) ?>"><?php comment_time(__(' F jS, Y - g:ia', 'podium')); ?> </a></time> |
||
| 23 | <?php edit_comment_link(__('(Edit)', 'podium'), ' ', ''); ?> |
||
| 24 | </header> |
||
| 25 | <?php |
||
| 26 | |||
| 27 | if ('0' == $comment->comment_approved) {?> |
||
| 28 | <div class="alert alert-info"> |
||
| 29 | <p><?php _e('Your comment is awaiting moderation.', 'podium')?></p> |
||
| 30 | </div> |
||
| 31 | <?php } |
||
| 32 | |||
| 33 | ?> |
||
| 34 | <section class="comment_content clearfix"> |
||
| 35 | <?php comment_text()?> |
||
| 36 | </section> |
||
| 37 | <?php comment_reply_link(array_merge($args, ['depth' => $depth, 'max_depth' => $args['max_depth']])); ?> |
||
| 38 | </article> |
||
| 39 | |||
| 40 | <!-- </li> is added by WordPress automatically --> |
||
| 41 | <?php |
||
| 42 | |||
| 43 | } |
||
| 44 |