summaryrefslogtreecommitdiff
path: root/modules/forum/forum.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-01-31 21:16:42 +0000
committerDries Buytaert <dries@buytaert.net>2004-01-31 21:16:42 +0000
commit48a4dff89750be86a64cccf0ce6ab76e58957351 (patch)
treefc6cfb7b91b67a97ef049ed91682cb97fb2a359b /modules/forum/forum.module
parent294286687a9ea1a327469e25580f5836106ab61f (diff)
downloadbrdo-48a4dff89750be86a64cccf0ce6ab76e58957351.tar.gz
brdo-48a4dff89750be86a64cccf0ce6ab76e58957351.tar.bz2
- Patch by Goba: added form descriptions where appropriate and removed some
duplicated code from the comment module.
Diffstat (limited to 'modules/forum/forum.module')
-rw-r--r--modules/forum/forum.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 7ebfacb07..516da7df5 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -218,7 +218,7 @@ function forum_form(&$node, &$error) {
$output .= form_checkbox(t("Leave shadow copy"), "shadow", 1, $node->shadow, t("If you move this topic, you can leave a link in the old forum to the new forum."));
}
- $output .= form_textarea(t("Body"), "body", $node->body, 60, 10);
+ $output .= form_textarea(t("Body"), "body", $node->body, 60, 10, filter_tips_short());
return $output;
}
@@ -288,7 +288,7 @@ function forum_get_forums($tid = 0) {
else {
$forums = unserialize($cache->data);
}
-
+
return $forums;
}