summaryrefslogtreecommitdiff
path: root/modules/forum/forum.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-04-09 13:58:03 +0000
committerDries Buytaert <dries@buytaert.net>2007-04-09 13:58:03 +0000
commitdcbb5fa3f4434be266793f6a610071a14c777414 (patch)
tree10a5bae9c26e0fad6a5d08eadf6fd082304354d2 /modules/forum/forum.module
parent15d739a5049091821c81006ad8080f0556053e16 (diff)
downloadbrdo-dcbb5fa3f4434be266793f6a610071a14c777414.tar.gz
brdo-dcbb5fa3f4434be266793f6a610071a14c777414.tar.bz2
- Patch #107061 by Steven et al: add jQuery teaser splitter.
Diffstat (limited to 'modules/forum/forum.module')
-rw-r--r--modules/forum/forum.module3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 10d69901a..b5895d40f 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -423,8 +423,7 @@ function forum_form(&$node) {
$form['shadow'] = array('#type' => 'checkbox', '#title' => t('Leave shadow copy'), '#default_value' => $shadow, '#description' => t('If you move this topic, you can leave a link in the old forum to the new forum.'));
}
- $form['body_filter']['body'] = array('#type' => 'textarea', '#title' => check_plain($type->body_label), '#default_value' => !empty($node->body) ? $node->body : '', '#rows' => 20, '#required' => TRUE);
- $form['body_filter']['format'] = filter_form($node->format);
+ $form['body_field'] = node_body_field($node, $type->body_label, 1);
return $form;
}