root / drupal7 / sites / all / modules / advanced_forum / styles / naked / advanced-forum.naked.forums.tpl.php @ 27370441
1 | 85ad3d82 | Assos Assos | <?php
|
---|---|---|---|
2 | |||
3 | /**
|
||
4 | * @file
|
||
5 | * Default theme implementation to display a forum which may contain forum
|
||
6 | * containers as well as forum topics.
|
||
7 | *
|
||
8 | * Variables available:
|
||
9 | * - $forum_links: An array of links that allow a user to post new forum topics.
|
||
10 | * It may also contain a string telling a user they must log in in order
|
||
11 | * to post. Empty if there are no topics on the page. (ie: forum overview)
|
||
12 | * This is no longer printed in the template by default because it was moved
|
||
13 | * to the topic list section. The variable is still available for customizations.
|
||
14 | * - $forums: The forums to display (as processed by forum-list.tpl.php)
|
||
15 | * - $topics: The topics to display (as processed by forum-topic-list.tpl.php)
|
||
16 | * - $forums_defined: A flag to indicate that the forums are configured.
|
||
17 | * - $forum_legend: Legend to go with the forum graphics.
|
||
18 | * - $topic_legend: Legend to go with the topic graphics.
|
||
19 | * - $forum_tools: Drop down menu for various forum actions.
|
||
20 | * - $forum_description: Description that goes with forum term. Not printed by default.
|
||
21 | *
|
||
22 | * @see template_preprocess_forums()
|
||
23 | * @see advanced_forum_preprocess_forums()
|
||
24 | */
|
||
25 | ?>
|
||
26 | |||
27 | <?php if ($forums_defined): ?> |
||
28 | <div id="forum"> |
||
29 | |||
30 | <?php print $forums; ?> |
||
31 | |||
32 | <?php if (!empty($forum_tools)): ?> |
||
33 | <div class="forum-tools"><?php print $forum_tools; ?></div> |
||
34 | <?php endif; ?> |
||
35 | |||
36 | <?php print $topics; ?> |
||
37 | |||
38 | <?php if (!empty($topics)): ?> |
||
39 | <?php print $topic_legend; ?> |
||
40 | <?php endif; ?> |
||
41 | |||
42 | <?php if (!empty($forum_legend)): ?> |
||
43 | <?php print $forum_legend; ?> |
||
44 | <?php endif; ?> |
||
45 | |||
46 | <?php if (!empty($forum_statistics)): ?> |
||
47 | <?php print $forum_statistics; ?> |
||
48 | <?php endif; ?> |
||
49 | </div>
|
||
50 | <?php endif; ?> |