Commit 573bdba9 authored by Dries's avatar Dries
Browse files

- Patch #517850 by JohnAlbin: polish default comment-wrapper.tpl.php and associated CSS.

parent 6192e19f
......@@ -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>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment