function sandbox_10_ping($comment, $args, $depth) { $GLOBALS['comment'] = $comment; extract($args, EXTR_SKIP); ?> <li <?php comment_class(sandbox_comment_class(false)); ?> id="comment-<?php comment_ID(); ?> "> <div class="comment-author"><?php printf(__('By %1$s on %2$s at %3$s', 'sandbox'), get_comment_author_link(), get_comment_date(), get_comment_time()); edit_comment_link(__('Edit', 'sandbox'), ' <span class="meta-sep">|</span> <span class="edit-link">', '</span>'); ?> </div> <?php if ($comment->comment_approved == '0') { _e('\\t\\t\\t\\t\\t<span class="unapproved">Your trackback is awaiting moderation.</span>\\n', 'sandbox'); } ?> <?php comment_text(); }
function sandbox_ping($comment, $args, $depth) { $GLOBALS['comment'] = $comment; extract($args, EXTR_SKIP); ?> <li <?php comment_class(sandbox_comment_class(false)); ?> id="comment-<?php comment_ID(); ?> "> <div class="comment-metadata"> <?php printf(__('By %1$s on %2$s at %3$s', 'sandbox'), get_comment_author_link(), get_comment_date(), get_comment_time()); ?> <?php edit_comment_link(__('(Edit)', 'sandbox'), ' ', ''); ?> </div> <div class="comment-mod"><?php if ($comment->comment_approved == '0') { _e('<em>Your trackback/pingback is awaiting moderation.</em>', 'sandbox'); } ?> </div> <?php comment_text(); }
<h3><?php printf($comment_count > 1 ? __('<span>%d</span> Comments', 'sandbox') : __('<span>One</span> Comment', 'sandbox'), $comment_count); ?> </h3> <ol> <?php foreach ($comments as $comment) { if (get_comment_type() == "comment") { ?> <li id="comment-<?php comment_ID(); ?> " class="<?php sandbox_comment_class(); ?> yui-gf fw"> <div class="comment-author vcard yui-u first"><?php sandbox_commenter_link(); ?> </div> <?php if ($comment->comment_approved == '0') { _e("\t\t\t\t\t<span class='unapproved'>Your comment is awaiting moderation.</span>\n", 'sandbox'); } ?> <div class="yui-u"> <div class="comment-text"><?php comment_text(); ?>