summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.26/modules/forum/forums.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.26/modules/forum/forums.tpl.php')
-rw-r--r--kolab.org/www/drupal-7.26/modules/forum/forums.tpl.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.26/modules/forum/forums.tpl.php b/kolab.org/www/drupal-7.26/modules/forum/forums.tpl.php
new file mode 100644
index 0000000..6a0e02e
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/modules/forum/forums.tpl.php
@@ -0,0 +1,24 @@
+<?php
+
+/**
+ * @file
+ * Displays a forum.
+ *
+ * May contain forum containers as well as forum topics.
+ *
+ * Available variables:
+ * - $forums: The forums to display (as processed by forum-list.tpl.php).
+ * - $topics: The topics to display (as processed by forum-topic-list.tpl.php).
+ * - $forums_defined: A flag to indicate that the forums are configured.
+ *
+ * @see template_preprocess_forums()
+ *
+ * @ingroup themeable
+ */
+?>
+<?php if ($forums_defined): ?>
+<div id="forum">
+ <?php print $forums; ?>
+ <?php print $topics; ?>
+</div>
+<?php endif; ?>