summaryrefslogtreecommitdiff
path: root/modules/blog
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/blog
parent15d739a5049091821c81006ad8080f0556053e16 (diff)
downloadbrdo-dcbb5fa3f4434be266793f6a610071a14c777414.tar.gz
brdo-dcbb5fa3f4434be266793f6a610071a14c777414.tar.bz2
- Patch #107061 by Steven et al: add jQuery teaser splitter.
Diffstat (limited to 'modules/blog')
-rw-r--r--modules/blog/blog.module3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index 4c9fa1d88..ff61ba998 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -211,8 +211,7 @@ function blog_form(&$node) {
}
$form['title'] = array('#type' => 'textfield', '#title' => check_plain($type->title_label), '#required' => TRUE, '#default_value' => !empty($node->title) ? $node->title : NULL, '#weight' => -5);
- $form['body_filter']['body'] = array('#type' => 'textarea', '#title' => check_plain($type->body_label), '#default_value' => !empty($node->body) ? $node->title : NULL, '#rows' => 20, '#required' => TRUE);
- $form['body_filter']['filter'] = filter_form($node->format);
+ $form['body_field'] = node_body_field($node, $type->body_label, $type->min_word_count);
return $form;
}