/[drupal]/drupal/modules/forum/forums.tpl.php
ViewVC logotype

Contents of /drupal/modules/forum/forums.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (show annotations) (download) (as text)
Fri Oct 9 00:59:59 2009 UTC (6 weeks, 5 days ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-7-0-UNSTABLE-10, HEAD
Changes since 1.5: +2 -2 lines
File MIME type: text/x-php
- Patch #572618 by effulgentsia, pwolanin, sun: all theme functions should take a single argument. Code clean-up and performance improvement. Woot.
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 ?>
21 <?php if ($forums_defined): ?>
22 <div id="forum">
23 <?php print theme('links', array('links' => $links)); ?>
24 <?php print $forums; ?>
25 <?php print $topics; ?>
26 </div>
27 <?php endif; ?>

  ViewVC Help
Powered by ViewVC 1.1.2