Пример #1
0
 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);
     echo get_comment_author_url_link(GZ_Comments::get_ping_text($comment)) . ', ';
 }