[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/modules/forum/ -> forums.tpl.php (source)

   1  <?php
   2  
   3  /**
   4   * @file forums.tpl.php
   5   * Default theme implementation to display a forum which may contain forum
   6   * containers as well as forum topics.
   7   *
   8   * Variables available:
   9   * - $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.
  12   * - $forums: The forums to display (as processed by forum-list.tpl.php)
  13   * - $topics: The topics to display (as processed by forum-topic-list.tpl.php)
  14   * - $forums_defined: A flag to indicate that the forums are configured.
  15   *
  16   * @see template_preprocess_forums()
  17   * @see theme_forums()
  18   */
  19  ?>
  20  <?php if ($forums_defined): ?>
  21  <div id="forum">
  22    <?php print theme('links', $links); ?>
  23    <?php print $forums; ?>
  24    <?php print $topics; ?>
  25  </div>
  26  <?php endif; ?>


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7