Initial code using Drupal 6.38
This commit is contained in:
commit
4824608a33
467 changed files with 90887 additions and 0 deletions
26
modules/forum/forums.tpl.php
Normal file
26
modules/forum/forums.tpl.php
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file 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 template_preprocess_forums()
|
||||
* @see theme_forums()
|
||||
*/
|
||||
?>
|
||||
<?php if ($forums_defined): ?>
|
||||
<div id="forum">
|
||||
<?php print theme('links', $links); ?>
|
||||
<?php print $forums; ?>
|
||||
<?php print $topics; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
Reference in a new issue