1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
function YOURTHEME_comment($comment, $links = 0) { 
  return _phptemplate_callback('comment', array( 
    'author'      => theme('username', $comment), 
    'comment'     => $comment, 
    'content'     => $comment->comment, 
    'date'        => format_date($comment->timestamp), 
    'links'       => isset($links) ? theme('links', $links) : '',
    'links_array' => $links, 
    'new'         => $comment->new ? t('new') : '', 
    'picture'     => theme_get_setting('toggle_comment_user_picture') ? theme('user_picture', $comment) : '', 
    'submitted'   => t('Submitted by !a on @b.', 
                      array('!a' => theme('username', $comment), 
                            '@b' => format_date($comment->timestamp))), 
    'title'     => l($comment->subject, $_GET['q'], NULL, NULL, "comment-$comment->cid") 
  )); 
}