summaryrefslogtreecommitdiff
path: root/modules/forum/forum.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/forum/forum.module')
-rw-r--r--modules/forum/forum.module7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 8c54405a7..f79b3bf5f 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -23,11 +23,14 @@ function forum_help($section) {
return t('Enable threaded discussions about general topics.');
case 'admin/settings/forum':
return t("Forums are threaded discussions based on the taxonomy system. For the forums to work, the taxonomy module has to be installed and enabled. When activated, a taxonomy vocabulary (eg. \"forums\") needs to be <a href=\"%created\">created</a> and bound to the node type \"forum topic\".", array('%created' => url('admin/taxonomy/add/vocabulary')));
- case 'node/add/forum':
- return variable_get('forum_help', '');
case 'node/add#forum':
return t('A forum is a threaded discussion, enabling users to communicate about a particular topic.');
}
+
+ // The 'add forum topic' form takes a variable argument:
+ if (substr($section, 0, 14) == 'node/add/forum'){
+ return variable_get('forum_help', '');
+ }
}
/**