diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-02-11 20:01:17 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-02-11 20:01:17 +0000 |
commit | e90f3b883b0655ccba009f2fbef982696341a1a2 (patch) | |
tree | 0afa31bda8e395e9addfadae4eb62067392abe20 /modules/forum.module | |
parent | 3d3a60740a63e8c803d0905b2727bb202e6de370 (diff) | |
download | brdo-e90f3b883b0655ccba009f2fbef982696341a1a2.tar.gz brdo-e90f3b883b0655ccba009f2fbef982696341a1a2.tar.bz2 |
- See http://lists.drupal.org/pipermail/drupal-devel/2003-February/021824.html.
Diffstat (limited to 'modules/forum.module')
-rw-r--r-- | modules/forum.module | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/forum.module b/modules/forum.module index 5e842d124..d512dd52d 100644 --- a/modules/forum.module +++ b/modules/forum.module @@ -26,7 +26,7 @@ function forum_perm() { return array("create forum topics"); } -function forum_conf_options() { +function forum_settings() { if (module_exist("taxonomy")) { $vocs[0] = "<". t("none") .">"; @@ -490,7 +490,7 @@ function forum_page() { $topics = forum_get_topics($tid, $sortby, $forum_per_page); } - theme_invoke("forum_render", $forums, $topics, $parents, $tid, $sortby, $forum_per_page, $offset); + theme("forum_render", $forums, $topics, $parents, $tid, $sortby, $forum_per_page, $offset); } else { $theme->header(); @@ -513,15 +513,15 @@ function forum_render($forums, $topics, $parents, $tid, $sortby, $forum_per_page // forum list, topics list, topic browser and "add new topic" link global $theme; - $output .= theme_invoke("forum_forum_list", $forums, $parents, $tid); + $output .= theme("forum_forum_list", $forums, $parents, $tid); if ($tid && !in_array($tid, variable_get("forum_containers", array()))) { - $output .= theme_invoke("forum_topic_list", $tid, $topics, $sortby, $forum_per_page, $offset); + $output .= theme("forum_topic_list", $tid, $topics, $sortby, $forum_per_page, $offset); } $theme->header(); $theme->box(t("Discussion forum"), $output); if ($tid && !in_array($tid, variable_get("forum_containers", array()))) { - $theme->box(t("Control panel"), theme_invoke("forum_topic_browser", $sortby, $forum_per_page, $offset)); + $theme->box(t("Control panel"), theme("forum_topic_browser", $sortby, $forum_per_page, $offset)); } $theme->footer(); } |