function wpi_template_comment_trackback($post, $comment, $cnt) { $author_id = get_the_author_ID(); $wauthor_name = wpi_get_comment_author(); $author_uri = get_comment_author_url(); $author_uri = $author_uri != '' && $author_uri != 'http://' ? $author_uri : get_permalink($post->ID) . '#comment-' . get_comment_ID(); $microid = wpi_get_microid_hash(get_comment_author_email(), $author_uri); ?> <li id="comment-<?php comment_ID(); ?> " class="<?php wpi_comment_root_class($cnt, get_comment_author()); ?> "> <ul class="reviewier-column cf r"> <li class="span-1 fl"> <!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <Work rdf:about="<?php the_permalink(); ?> #comment-<?php comment_ID(); ?> "> <license rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/" /> </Work> <License rdf:about="http://creativecommons.org/licenses/by-sa/3.0/"> <requires rdf:resource="http://web.resource.org/cc/Attribution" /> <requires rdf:resource="http://web.resource.org/cc/ShareAlike" /> <permits rdf:resource="http://web.resource.org/cc/Reproduction" /> <permits rdf:resource="http://web.resource.org/cc/Distribution" /> <permits rdf:resource="http://web.resource.org/cc/DerivativeWorks" /> <requires rdf:resource="http://web.resource.org/cc/Notice" /> </License> </rdf:RDF> --> </li> <li class="<?php wpi_comment_content_width(); ?> fl review-content dc-source"> <dl class="review r cf"> <dt class="item title summary ox"> <a rel="dc:source robots-anchortext" href="#comment-<?php comment_ID(); ?> " class="url fn" title="<?php the_title(); ?> ">permalink</a> </dt> <dd class="reviewer-meta vcard microid-<?php echo $microid; ?> db"> <span class="note dn"><?php the_title(); ?> </span> <a href="<?php wpi_curie_url($author_uri); ?> " class="url fn reviewer" rel="contact noarchive robots-noarchive" title="<?php attribute_escape($wauthor_name); ?> "> <strong class="org" style="background-image:url('<?php echo wpi_comment_pingback_favicon($comment); ?> ')"> <?php echo $wauthor_name; ?> </strong> </a> <abbr class="dtreviewed" title="<?php comment_date('Y-m-dTH:i:s:Z'); ?> "> <?php wpi_comment_date(); ?> </abbr> <span class="rating dn">3</span> <span class="type dn">url</span> <?php edit_comment_link(__('edit', WPI_META), '· <span class="edit-comment">', '</span>'); ?> </dd> <dd class="reviewer-entry"> <div class="description"> <p class="br rn r"> <?php echo nl2br(get_comment_text()); ?> </p> </div> <?php if ($comment->comment_approved == '0') { ?> <p class="notice rn"><?php _e('Your comment is awaiting moderation.', WPI_META); ?> </p> <?php } ?> </dd><?php $counter = $cnt + 1; ?> <dd class="gml cf"> <ul class="xoxo r cf"> <li class="cc"> <span><?php echo wpi_trackback_footer($comment); ?> </span> </li> </ul> </dd> </dl> </li> </ul> </li> <?php }
function wpi_comment_author() { echo wpi_get_comment_author(); }