root / drupal7 / modules / forum / forums.tpl.php @ 134c7813
1 | 85ad3d82 | Assos Assos | <?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; ?> |