theme_comment_folded

5 comment.module theme_comment_folded($comment)
6 theme.php theme_comment_folded()

1 theme call to theme_comment_folded()

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;
}
Login or register to post comments