1
|
<div id="comments">
|
2
|
<div class="comment-count">
|
3
|
<?php if ($node->comment == 1 || $node->comment == 2): ?>
|
4
|
<?php if ($node->comment_count == 0): ?>
|
5
|
<h2><?php print t('No comments available.'); ?></h2>
|
6
|
<?php elseif ($node->comment_count == 1): ?>
|
7
|
<h2><?php print t('1 comment'); ?></h2>
|
8
|
<?php else: ?>
|
9
|
<h2><?php print $node->comment_count . ' ' . 'comments'; ?></h2>
|
10
|
<?php endif; ?>
|
11
|
<?php endif; ?>
|
12
|
</div>
|
13
|
<?php print render($content['comments']); ?>
|
14
|
<?php if ($content['comment_form']): ?>
|
15
|
<h2 class="title comment-form"><?php print t('Add new comment'); ?></h2>
|
16
|
<?php print render($content['comment_form']); ?>
|
17
|
<?php endif; ?>
|
18
|
</div>
|