Code coverage for /20081101/modules/forum/forums.tpl.php

Line #Times calledCode
1
<?php
2
// $Id: forums.tpl.php,v 1.5 2008/10/13 12:31:42 dries Exp $
3
4
/**
5
 * @file
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
?>
2112
<?php if ($forums_defined): ?>
22
<div id="forum">
2312
  <?php print theme('links', $links); ?>
2412
  <?php print $forums; ?>
2512
  <?php print $topics; ?>
26
</div>
2712
<?php endif; ?>
2812