diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-02-02 10:02:37 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-02-02 10:02:37 +0000 |
commit | 6fcadb8ef5a6decd2b5d144105cef676474519f1 (patch) | |
tree | 25b86b45a5b20b3a02d7a5d427b5f45f3e214305 /modules/forum.module | |
parent | d99100c5c02f7a2a0617a1231baf12bde6583d8d (diff) | |
download | brdo-6fcadb8ef5a6decd2b5d144105cef676474519f1.tar.gz brdo-6fcadb8ef5a6decd2b5d144105cef676474519f1.tar.bz2 |
- Made it possible to print forum submission guidelines. Patch by Moshe.
Diffstat (limited to 'modules/forum.module')
-rw-r--r-- | modules/forum.module | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/forum.module b/modules/forum.module index 35b521f7a..5e842d124 100644 --- a/modules/forum.module +++ b/modules/forum.module @@ -35,6 +35,7 @@ function forum_conf_options() { } if ($voc) { + $output .= form_textarea("Explanation or submission guidelines", "forum_help", variable_get("forum_help", ""), 55, 4, t("This text will be displayed at the top of the forum submission form. Useful for helping or instructing your users.")); $output .= form_select("Forum vocabulary", "forum_nav_vocabulary", variable_get("forum_nav_vocabulary", ""), $vocs, t("The taxonomy vocabulary that will be used as the navigation tree.")); $output .= _taxonomy_term_select("Containers", "forum_containers", variable_get("forum_containers", array()), variable_get("forum_nav_vocabulary", ""), t("You can choose forums which will not have topics, but will be just containers for other forums."), 1, t("<none>")); @@ -203,6 +204,9 @@ function forum_form(&$node, &$help, &$error) { $tid = arg(3); } + // outputs the compose guidelines + $help = variable_get("forum_help", ""); + $output .= _taxonomy_term_select("Forum", "tid", $tid, variable_get("forum_nav_vocabulary", ""), "", 0, "", variable_get("forum_containers", array())); if ($node->nid) { |