aboutsummaryrefslogtreecommitdiff
path: root/templates/comment.tpl.php
blob: 7fde1666f268dbe7862ad934c1ecf9d54433f1d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
// $Id$
/**
 * @file
 * Output for comments.
 */
?>
<?php hide($content['links']); ?>
<article class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
  <div class="inner">
    <header>
      <?php print $picture ?>
      <?php if ($new): ?><span class="new"><?php print $new; ?></span><?php endif; ?>
      <?php print render($title_prefix); ?>
      <h3<?php print $title_attributes; ?>><?php print $title; ?> <span><?php print $permalink; ?></span></h3>
      <?php print render($title_suffix); ?>
      <p class="meta"><?php print $submitted; ?></p>
    </header>
    <div class="content"<?php print $content_attributes; ?>>
      <?php print render($content); ?>
      <?php if ($signature): ?>
      <aside class="user-signature clearfix">
        <?php print $signature;  ?>
      </aside>
      <?php endif; ?>
    </div>
    <?php if ($content['links']): ?>
    <footer>
      <div class="links comment-links">
        <?php print render($content['links']) ?>
      </div>
    </footer>
    <?php endif; ?>
  </div>
</article>