Mercurial > hg > rr-repo
comparison modules/forum/forums.tpl.php @ 0:ff03f76ab3fe
initial version
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Wed, 21 Aug 2013 18:51:11 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:ff03f76ab3fe |
---|---|
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; ?> |