[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

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

   1  <?php
   2  // $Id: forums.tpl.php,v 1.4 2007/08/07 08:39:35 goba Exp $
   3  
   4  /**
   5   * @file forums.tpl.php
   6   * Default theme implementation to display a forum which may contain forum
   7   * containers as well as forum topics.
   8   *
   9   * Variables available:
  10   * - $links: An array of links that allow a user to post new forum topics.
  11   *   It may also contain a string telling a user they must log in in order
  12   *   to post.
  13   * - $forums: The forums to display (as processed by forum-list.tpl.php)
  14   * - $topics: The topics to display (as processed by forum-topic-list.tpl.php)
  15   * - $forums_defined: A flag to indicate that the forums are configured.
  16   *
  17   * @see template_preprocess_forums()
  18   * @see theme_forums()
  19   */
  20  ?>
  21  <?php if ($forums_defined): ?>
  22  <div id="forum">
  23    <?php print theme('links', $links); ?>
  24    <?php print $forums; ?>
  25    <?php print $topics; ?>
  26  </div>
  27  <?php endif; ?>


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7