Projet

Général

Profil

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

root / drupal7 / modules / forum / forums.tpl.php @ 01dfd3b5

1
<?php
2

    
3
/**
4
 * @file
5
 * Displays a forum.
6
 *
7
 * May contain forum containers as well as forum topics.
8
 *
9
 * Available variables:
10
 * - $forums: The forums to display (as processed by forum-list.tpl.php).
11
 * - $topics: The topics to display (as processed by forum-topic-list.tpl.php).
12
 * - $forums_defined: A flag to indicate that the forums are configured.
13
 *
14
 * @see template_preprocess_forums()
15
 *
16
 * @ingroup themeable
17
 */
18
?>
19
<?php if ($forums_defined): ?>
20
<div id="forum">
21
  <?php print $forums; ?>
22
  <?php print $topics; ?>
23
</div>
24
<?php endif; ?>