comparison modules/forum/forums.tpl.php @ 1:c1f4ac30525a 6.0

Drupal 6.0
author Franck Deroche <webmaster@defr.org>
date Tue, 23 Dec 2008 14:28:28 +0100
parents
children
comparison
equal deleted inserted replaced
0:5a113a1c4740 1:c1f4ac30525a
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; ?>