comment-folded.tpl.php

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()

1 theme call to comment-folded.tpl.php
theme_comment_view in drupal-6.x/modules/comment/comment.module
Themes a single comment and related items.

File

drupal-6.x/modules/comment/comment-folded.tpl.php
View source
  1. <?php
  2. /**
  3. * @file comment-folded.tpl.php
  4. * Default theme implementation for folded comments.
  5. *
  6. * Available variables:
  7. * - $title: Linked title to full comment.
  8. * - $new: New comment marker.
  9. * - $author: Comment author. Can be link or plain text.
  10. * - $date: Date and time of posting.
  11. * - $comment: Full comment object.
  12. *
  13. * @see template_preprocess_comment_folded()
  14. * @see theme_comment_folded()
  15. */
  16. ?>
  17. <div class="comment-folded">
  18. <span class="subject"><?php print $title .' '. $new; ?></span><span class="credit"><?php print t('by') .' '. $author; ?></span>
  19. </div>