summaryrefslogtreecommitdiff
path: root/modules/comment/comment.tpl.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-04-27 07:42:54 +0000
committerDries Buytaert <dries@buytaert.net>2007-04-27 07:42:54 +0000
commit29055d34d6f0ceee253a4122bb6c9dae6cb53b2b (patch)
tree35f015c5d507f9105e8b0e6ee66e8f33f447d169 /modules/comment/comment.tpl.php
parent80ab60d39ee0f2de0965d9c23d274cbf1dc0019a (diff)
downloadbrdo-29055d34d6f0ceee253a4122bb6c9dae6cb53b2b.tar.gz
brdo-29055d34d6f0ceee253a4122bb6c9dae6cb53b2b.tar.bz2
- Patch #137236 by merlinofchaos: provide a way to secure the theme variables system.
Diffstat (limited to 'modules/comment/comment.tpl.php')
-rw-r--r--modules/comment/comment.tpl.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/comment/comment.tpl.php b/modules/comment/comment.tpl.php
new file mode 100644
index 000000000..ac4eeb88a
--- /dev/null
+++ b/modules/comment/comment.tpl.php
@@ -0,0 +1,25 @@
+<div class="comment<?php print ($comment->new) ? ' comment-new' : ''; print ($comment->status == COMMENT_NOT_PUBLISHED) ? ' comment-unpublished' : ''; ?> clear-block">
+ <?php print $picture ?>
+
+<?php if ($comment->new) : ?>
+ <a id="new"></a>
+ <span class="new"><?php print $new ?></span>
+<?php endif; ?>
+
+ <h3><?php print $title ?></h3>
+
+ <div class="submitted">
+ <?php print $submitted ?>
+ </div>
+
+ <div class="content">
+ <?php print $content ?>
+ <?php if ($signature): ?>
+ <div class="user-signature clear-block">
+ <?php print $signature ?>
+ </div>
+ <?php endif; ?>
+ </div>
+
+ <?php print $links ?>
+</div>