Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function myblogonline_comment($comment, $args, $depth) {
- $GLOBALS['comment'] = $comment;
- extract($args, EXTR_SKIP);
- if ( 'div' == $args['style'] ) {
- $tag = 'div';
- $add_below = 'comment';
- } else {
- $tag = 'li';
- $add_below = 'div-comment';
- }
- ?>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><?php if (function_exists('get_avatar')) { ?>
- <span class="ListGrav">
- <?php echo get_avatar( $comment, 80 ); ?>
- </span>
- <?php } ?></td>
- <td>
- <div class="comments">
- <?php if ( 'div' != $args['style'] ) : ?>
- <div id="div-comment-<?php comment_ID() ?>" class="comment-body">
- <?php endif; ?>
- <div class="comment-author vcard">
- <?php printf(__('Posted by <cite class="fn">%s</cite> on '), get_comment_author_link()) ?>
- <?php if ($comment->comment_approved == '0') : ?>
- <em class="comment-awaiting-moderation"><?php _e('Your comment is awaiting moderation.') ?></em>
- <br />
- <?php endif; ?>
- <?php
- /* translators: 1: date, 2: time */
- printf( __('%1$s at %2$s'), get_comment_date(), get_comment_time()) ?><?php edit_comment_link(__('(Edit)'),' ','' );
- ?>
- </div><hr style="border:0px; border-top:1px dashed #cccccc; margin-top:4px; height:1px;" />
- <?php comment_text() ?>
- <?php if ( 'div' != $args['style'] ) : ?>
- </div>
- <?php endif; ?></div>
- </td>
- </tr>
- </table>
- <?php
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement