summaryrefslogtreecommitdiff
path: root/modules/comment/comment-wrapper.tpl.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-02-23 09:51:21 +0000
committerDries Buytaert <dries@buytaert.net>2010-02-23 09:51:21 +0000
commit573bdba90f84633b35e3463c563af9714469559a (patch)
treeab4075c6910fd81d08fbdb1fbdef44597beaa31e /modules/comment/comment-wrapper.tpl.php
parent6192e19f60cd6e0a7f4c5841271ca9caf5eeafa4 (diff)
downloadbrdo-573bdba90f84633b35e3463c563af9714469559a.tar.gz
brdo-573bdba90f84633b35e3463c563af9714469559a.tar.bz2
- Patch #517850 by JohnAlbin: polish default comment-wrapper.tpl.php and associated CSS.
Diffstat (limited to 'modules/comment/comment-wrapper.tpl.php')
-rw-r--r--modules/comment/comment-wrapper.tpl.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/modules/comment/comment-wrapper.tpl.php b/modules/comment/comment-wrapper.tpl.php
index 1d1e1fe9b..16b3b4b2e 100644
--- a/modules/comment/comment-wrapper.tpl.php
+++ b/modules/comment/comment-wrapper.tpl.php
@@ -31,16 +31,14 @@
*/
?>
<div id="comments" class="<?php print $classes; ?>"<?php print $attributes; ?>>
- <?php if ($node->type != 'forum'): ?>
- <h2 class="comments"><?php print t('Comments'); ?></h2>
+ <?php if ($content['comments'] && $node->type != 'forum'): ?>
+ <h2 class="title"><?php print t('Comments'); ?></h2>
<?php endif; ?>
<?php print render($content['comments']); ?>
<?php if ($content['comment_form']): ?>
- <h2 class="title"><?php print t('Post new comment'); ?></h2>
- <div>
- <?php print render($content['comment_form']); ?>
- </div>
+ <h2 class="title comment-form"><?php print t('Add new comment'); ?></h2>
+ <?php print render($content['comment_form']); ?>
<?php endif; ?>
</div>