diff options
-rw-r--r-- | modules/comment/comment-wrapper.tpl.php | 10 |
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> |