1 |
87dbc3bf
|
Benjamin Luce
|
<?php
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
$comments = render($content['comments']);
|
12 |
|
|
$comment_form = render($content['comment_form']);
|
13 |
|
|
?>
|
14 |
|
|
<section id="comments" class="comments <?php print $classes; ?>"<?php print $attributes; ?>>
|
15 |
|
|
<?php print render($title_prefix); ?>
|
16 |
|
|
<?php if ($comments && $node->type != 'forum'): ?>
|
17 |
|
|
<h2 class="comments__title title"><?php print t('Comments'); ?></h2>
|
18 |
|
|
<?php endif; ?>
|
19 |
|
|
<?php print render($title_suffix); ?>
|
20 |
|
|
|
21 |
|
|
<?php print $comments; ?>
|
22 |
|
|
|
23 |
|
|
<?php if ($comment_form): ?>
|
24 |
|
|
<h2 class="comments__form-title title comment-form"><?php print t('Add new comment'); ?></h2>
|
25 |
|
|
<?php print $comment_form; ?>
|
26 |
|
|
<?php endif; ?>
|
27 |
|
|
</section> |