Same name and namespace in other branches
  1. 4.6.x modules/comment.module \theme_comment_folded()
  2. 5.x modules/comment/comment.module \theme_comment_folded()
  3. 6.x developer/theme.php \theme_comment_folded()

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;
}