You are here

function theme_comment_folded in Drupal 5

Same name and namespace in other branches
  1. 4 modules/comment.module \theme_comment_folded()
1 theme call to theme_comment_folded()
theme_comment_view in modules/comment/comment.module

File

modules/comment/comment.module, line 1782
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;
}