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
comment_view in drupal-7.x/modules/comment/comment.module
Generate an array for rendering the given comment.

File

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