From 1a5fcacdd9d6831a01d8eab8f49674c59c25cb80 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Thu, 9 Oct 2003 18:53:22 +0000
Subject: - Committed part 3 of Michael's help system improvements: removed the
 $help   parameter from the menu() function.

---
 modules/forum/forum.module | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'modules/forum/forum.module')

diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 0edd25244..15a12bd59 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -630,12 +630,11 @@ function _forum_get_topic_order($sortby) {
   }
 }
 
-function forum_help($section = "admin/forum/help") {
+function forum_help($section = "admin/help#forum") {
   $output = "";
 
   switch ($section) {
-    case 'admin/help':
-    case 'admin/forum/help':
+    case 'admin/help#forum':
       $output .= "<h3>Creating a forum</h3>";
       $output .= "<p>The forum module uses taxonomy to organize itself. To create a forum you first have to create a %taxonomy. When doing this, choose a sensible name for it (such as \"fora\") and make sure under \"Types\" that \"forum\" is selected. Once you have done this, %taxo-terms to it. Each term will become a forum. If you fill in the description field, users will be given additonal information about the forum on the main forum page. For example: \"troubleshooting\" - \"Please ask your questions here.\"</p>";
       $output .= "<p>When you are happy with your vocabulary, go to %forums and set <b>Forum vocabulary</b> to the one you have just created. There will now be fora active on the site. For users to access them they must have the \"access content\" %permission and to create a topic they must have the \"create forum topics\" %permission. These permissions can be set in the %permission pages.</p>";
-- 
cgit v1.2.3