Soubor comment.tpl.php obsahuje šablonu komentáře
Příklad:
<div class="comment2<?php print ($comment->new) ? ' comment-new' : ''; print ' '. $status; print ' '. $zebra; ?>"> <div class="clear-block"> <?php if ($submitted): ?> <span class="submitted"><?php print $submitted; ?></span> <?php endif; ?> <?php if ($comment->new) : ?> <span class="new"><?php print drupal_ucfirst($new) ?></span> <?php endif; ?> <?php print $picture ?> <h3><?php print $title ?></h3> <div class="content"> <?php print $content ?> <?php if ($signature): // You can use the following to prevent double-display of signatures on old posts (converting Drupal 5 to Drupal 6) // if ($signature && $comment->cid > 3443): // The highest comment ID before upgrading to Drupal 6 ?> <div class="user-signature clear-block"> <div>—</div> <?php print $signature ?> </div> <?php endif; ?> </div> </div> <?php if ($links): ?> <div class="links"><?php print $links ?></div> <?php endif; ?> </div>