From e90f3b883b0655ccba009f2fbef982696341a1a2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 11 Feb 2003 20:01:17 +0000 Subject: - See http://lists.drupal.org/pipermail/drupal-devel/2003-February/021824.html. --- modules/forum/forum.module | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/forum/forum.module') diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 5e842d124..d512dd52d 100644 --- a/modules/forum/forum.module +++ b/modules/forum/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(); } -- cgit v1.2.3