summaryrefslogtreecommitdiff
path: root/themes/bartik/templates
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-09-25 02:05:51 +0000
committerDries Buytaert <dries@buytaert.net>2010-09-25 02:05:51 +0000
commit7531187c873e234baf419d604b36923eecdf5085 (patch)
tree7fe6bd0429fea10c14306c035ec39dc6d0449d8e /themes/bartik/templates
parent7494238062bc4d4b34cba8696a79d2770cd92668 (diff)
downloadbrdo-7531187c873e234baf419d604b36923eecdf5085.tar.gz
brdo-7531187c873e234baf419d604b36923eecdf5085.tar.bz2
- Patch #921792 by Jeff Burnz: remove Bartiks comments-wrapper div, it does nothing.
Diffstat (limited to 'themes/bartik/templates')
-rw-r--r--themes/bartik/templates/comment-wrapper.tpl.php24
1 files changed, 11 insertions, 13 deletions
diff --git a/themes/bartik/templates/comment-wrapper.tpl.php b/themes/bartik/templates/comment-wrapper.tpl.php
index 66e9e798e..0608af6a0 100644
--- a/themes/bartik/templates/comment-wrapper.tpl.php
+++ b/themes/bartik/templates/comment-wrapper.tpl.php
@@ -36,19 +36,17 @@
* @see theme_comment_wrapper()
*/
?>
-<div id="comments-wrapper">
- <div id="comments" class="<?php print $classes; ?>"<?php print $attributes; ?>>
- <?php if ($content['comments'] && $node->type != 'forum'): ?>
- <?php print render($title_prefix); ?>
- <h2 class="title"><?php print t('Comments'); ?></h2>
- <?php print render($title_suffix); ?>
- <?php endif; ?>
+<div id="comments" class="<?php print $classes; ?>"<?php print $attributes; ?>>
+ <?php if ($content['comments'] && $node->type != 'forum'): ?>
+ <?php print render($title_prefix); ?>
+ <h2 class="title"><?php print t('Comments'); ?></h2>
+ <?php print render($title_suffix); ?>
+ <?php endif; ?>
- <?php print render($content['comments']); ?>
+ <?php print render($content['comments']); ?>
- <?php if ($content['comment_form']): ?>
- <h2 class="title comment-form"><?php print t('Add new comment'); ?></h2>
- <?php print render($content['comment_form']); ?>
- <?php endif; ?>
- </div>
+ <?php if ($content['comment_form']): ?>
+ <h2 class="title comment-form"><?php print t('Add new comment'); ?></h2>
+ <?php print render($content['comment_form']); ?>
+ <?php endif; ?>
</div>