comment.tpl.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <div<?php print $attributes; ?>>
  2. <?php print $unpublished; ?>
  3. <div>
  4. <?php print render($title_prefix); ?>
  5. <?php if ($title): ?>
  6. <h3<?php print $title_attributes; ?>><?php print $title ?></h3>
  7. <?php endif; ?>
  8. <?php print render($title_suffix); ?>
  9. <?php if ($new): ?>
  10. <em class="new"><?php print $new ?></em>
  11. <?php endif; ?>
  12. </div>
  13. <?php print $picture; ?>
  14. <div class="comment-submitted">
  15. <?php
  16. print t('Submitted by !username on !datetime',
  17. array('!username' => $author, '!datetime' => '<time datetime="' . $datetime . '">' . $created . '</time>'));
  18. ?>
  19. </div>
  20. <div<?php print $content_attributes; ?>>
  21. <?php
  22. hide($content['links']);
  23. print render($content);
  24. ?>
  25. </div>
  26. <?php if ($signature): ?>
  27. <div class="user-signature"><?php print $signature ?></div>
  28. <?php endif; ?>
  29. <?php if (!empty($content['links'])): ?>
  30. <div class="links comment-links clearfix"><?php print render($content['links']); ?></div>
  31. <?php endif; ?>
  32. </div>