forums.tpl.php

Version 1.4 (checked in on 2007/08/07 at 08:39:35 by goba)

forums.tpl.php Default theme implementation to display a forum which may contain forum containers as well as forum topics.

Variables available:

  • $links: An array of links that allow a user to post new forum topics. It may also contain a string telling a user they must log in in order to post.
  • $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 also

template_preprocess_forums()

@see theme_forums()

Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.