You are here

comment-folded.tpl.php in Drupal 6

comment-folded.tpl.php Default theme implementation for folded comments.

Available variables:

  • $title: Linked title to full comment.
  • $new: New comment marker.
  • $author: Comment author. Can be link or plain text.
  • $date: Date and time of posting.
  • $comment: Full comment object.

See also

template_preprocess_comment_folded()

theme_comment_folded()

File

modules/comment/comment-folded.tpl.php
View source
<?php

/**
 * @file comment-folded.tpl.php
 * Default theme implementation for folded comments.
 *
 * Available variables:
 * - $title: Linked title to full comment.
 * - $new: New comment marker.
 * - $author: Comment author. Can be link or plain text.
 * - $date: Date and time of posting.
 * - $comment: Full comment object.
 *
 * @see template_preprocess_comment_folded()
 * @see theme_comment_folded()
 */
?>
<div class="comment-folded">
  <span class="subject"><?php

print $title . ' ' . $new;
?></span><span class="credit"><?php

print t('by') . ' ' . $author;
?></span>
</div>