aboutsummaryrefslogtreecommitdiff
path: root/templates/comment.tpl.php
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-23 13:44:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-23 13:44:35 -0300
commit45748d73b5e784ad3e79350564eb68dcac71aa45 (patch)
treeedafc25882f15975ee4e6b3717ca70dcee50f398 /templates/comment.tpl.php
downloadmuambeiro-45748d73b5e784ad3e79350564eb68dcac71aa45.tar.gz
muambeiro-45748d73b5e784ad3e79350564eb68dcac71aa45.tar.bz2
Initial import
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