summaryrefslogtreecommitdiff
path: root/modules/forum
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-08-26 07:46:11 +0000
committerDries Buytaert <dries@buytaert.net>2007-08-26 07:46:11 +0000
commit5e73b66f3a00d42567b8d6b35ee821788428dc75 (patch)
treeced854b3a64a3110e6531b4845ba781b252c9ca5 /modules/forum
parenta8800e4f2694a0107bbf425212bdccb1fe81f5cb (diff)
downloadbrdo-5e73b66f3a00d42567b8d6b35ee821788428dc75.tar.gz
brdo-5e73b66f3a00d42567b8d6b35ee821788428dc75.tar.bz2
- Patch #168028 by dvessler, merlinofchaos, pwolanin et al: both theme functions and templates may need include files. Flush your caches.
Diffstat (limited to 'modules/forum')
-rw-r--r--modules/forum/forum.module12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index c529682f9..9701ec266 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -34,27 +34,27 @@ function forum_help($path, $arg) {
function forum_theme() {
return array(
'forums' => array(
- 'file' => 'forums',
+ 'template' => 'forums',
'arguments' => array('forums' => NULL, 'topics' => NULL, 'parents' => NULL, 'tid' => NULL, 'sortby' => NULL, 'forum_per_page' => NULL),
),
'forum_list' => array(
- 'file' => 'forum-list',
+ 'template' => 'forum-list',
'arguments' => array('forums' => NULL, 'parents' => NULL, 'tid' => NULL),
),
'forum_topic_list' => array(
- 'file' => 'forum-topic-list',
+ 'template' => 'forum-topic-list',
'arguments' => array('tid' => NULL, 'topics' => NULL, 'sortby' => NULL, 'forum_per_page' => NULL),
),
'forum_icon' => array(
- 'file' => 'forum-icon',
+ 'template' => 'forum-icon',
'arguments' => array('new_posts' => NULL, 'num_posts' => 0, 'comment_mode' => 0, 'sticky' => 0),
),
'forum_topic_navigation' => array(
- 'file' => 'forum-topic-navigation',
+ 'template' => 'forum-topic-navigation',
'arguments' => array('node' => NULL),
),
'forum_submitted' => array(
- 'file' => 'forum-submitted',
+ 'template' => 'forum-submitted',
'arguments' => array('topic' => NULL),
),
);