function theme_comment_folded in Drupal 4
Same name and namespace in other branches
- 5 modules/comment/comment.module \theme_comment_folded()
1 theme call to theme_comment_folded()
- theme_comment_view in modules/
comment.module
File
- modules/
comment.module, line 1562 - Enables users to comment on published content.
Code
function theme_comment_folded($comment) {
$output = "<div class=\"comment-folded\">\n";
$output .= ' <span class="subject">' . l($comment->subject, comment_node_url() . '/' . $comment->cid, NULL, NULL, "comment-{$comment->cid}") . ' ' . theme('mark', $comment->new) . '</span> ';
$output .= '<span class="credit">' . t('by') . ' ' . theme('username', $comment) . "</span>\n";
$output .= "</div>\n";
return $output;
}