Projet

Général

Profil

Paste
Télécharger (704 octets) Statistiques
| Branche: | Révision:

root / htmltest / sites / all / themes / kanji / comment-wrapper.tpl.php @ 6c38d829

1 85ad3d82 Assos Assos
<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>