aboutsummaryrefslogtreecommitdiff
path: root/templates/comment.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/comment.tpl.php')
-rw-r--r--templates/comment.tpl.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/comment.tpl.php b/templates/comment.tpl.php
new file mode 100644
index 0000000..7fde166
--- /dev/null
+++ b/templates/comment.tpl.php
@@ -0,0 +1,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> \ No newline at end of file