Community Documentation

comment-folded.tpl.php

  1. drupal
    1. 6 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()

View source
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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>
Login or register to post comments