function start_el(&$output, $comment, $depth, $args) { $depth++; $GLOBALS['comment_depth'] = $depth; if (!empty($args['callback'])) { call_user_func($args['callback'], $comment, $args, $depth); return; } if ($this->count == 0) { $this->count = get_comments_number(); } $GLOBALS['comment'] = $comment; extract($args, EXTR_SKIP); if ('div' == $args['style']) { $tag = 'div'; $add_below = 'comment'; } else { $tag = 'li'; $add_below = 'div-comment'; } ?> <<?php echo $tag; ?> <?php comment_class(); ?> id="comment-<?php comment_ID(); ?> "> <?php if ('ul' == $args['style']) { ?> <div id="div-comment-<?php comment_ID(); ?> "> <?php } if ($comment->comment_approved == '0') { ?> <em><?php _e('Your comment is awaiting moderation.'); ?> </em> <br /> <?php } ?> <div class="meta"> <div class="gravatar vcard"> <?php if ($args['avatar_size'] != 0) { echo get_avatar($comment, $args['avatar_size']); } ?> </div> <div class="info"><a href="<?php echo get_comment_link(); ?> ">#<?php comment_ID(); ?> </a></div> <cite><?php comment_author_link(); GZ_Comments::author($comment); ?> :</cite> <p> <?php comment_date('M j, Y'); ?> <?php comment_time(); ?> | <?php comment_reply_link(array_merge($args, array('add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth']))); ?> <?php edit_comment_link('Edit', ' | ', ''); ?> </p> </div> <?php comment_text(); ?> <?php if ('ul' == $args['style']) { ?> </div> <?php } }