cms/drupal/modules/forum/forums.tpl.php
changeset 541 e756a8c72c3d
equal deleted inserted replaced
540:07239de796bb 541:e756a8c72c3d
       
     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; ?>