comment.tpl.php

  1. 7.x drupal-7.x/modules/comment/comment.tpl.php
  2. 7.x drupal-7.x/themes/garland/comment.tpl.php
  3. 7.x drupal-7.x/themes/bartik/templates/comment.tpl.php
  4. 6.x drupal-6.x/modules/comment/comment.tpl.php
  5. 6.x drupal-6.x/themes/bluemarine/comment.tpl.php
  6. 6.x drupal-6.x/themes/pushbutton/comment.tpl.php
  7. 6.x drupal-6.x/themes/garland/comment.tpl.php
1 theme call to comment.tpl.php
theme_comment_view in drupal-6.x/modules/comment/comment.module
Themes a single comment and related items.

File

drupal-6.x/themes/garland/comment.tpl.php
View source
  1. <?php
  2. ?>
  3. <div class="comment<?php print ($comment->new) ? ' comment-new' : ''; print ' '. $status; print ' '. $zebra; ?>">
  4. <div class="clear-block">
  5. <?php if ($submitted): ?>
  6. <span class="submitted"><?php print $submitted; ?></span>
  7. <?php endif; ?>
  8. <?php if ($comment->new) : ?>
  9. <span class="new"><?php print drupal_ucfirst($new) ?></span>
  10. <?php endif; ?>
  11. <?php print $picture ?>
  12. <h3><?php print $title ?></h3>
  13. <div class="content">
  14. <?php print $content ?>
  15. <?php if ($signature): ?>
  16. <div class="clear-block">
  17. <div>—</div>
  18. <?php print $signature ?>
  19. </div>
  20. <?php endif; ?>
  21. </div>
  22. </div>
  23. <?php if ($links): ?>
  24. <div class="links"><?php print $links ?></div>
  25. <?php endif; ?>
  26. </div>