summaryrefslogtreecommitdiff
path: root/modules/page/page.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-07-08 15:24:30 +0000
committerDries Buytaert <dries@buytaert.net>2004-07-08 15:24:30 +0000
commit898bdeffafe913417951ec214d57ec930ea90812 (patch)
treedaae02095efd8209bd8b213cb1b0a9bacc3bdc31 /modules/page/page.module
parent144c1abb587f7a66e9f03b242ef359d4e0e670f5 (diff)
downloadbrdo-898bdeffafe913417951ec214d57ec930ea90812.tar.gz
brdo-898bdeffafe913417951ec214d57ec930ea90812.tar.bz2
- Marked required fields on the node (story, book, page, blog) and comment
forms using the $required argument of the form_ functions. - Replaced all Optional's and Required's from the taxonomy forms with proper use of the form_ functions. Please check your contributed modules too!
Diffstat (limited to 'modules/page/page.module')
-rw-r--r--modules/page/page.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/page/page.module b/modules/page/page.module
index 5f4ffe510..b5f742be4 100644
--- a/modules/page/page.module
+++ b/modules/page/page.module
@@ -140,7 +140,7 @@ function page_form(&$node) {
$hide_types = true;
}
else {
- $output .= form_textarea(t('Body'), 'body', $node->body, 60, 20, filter_tips_short());
+ $output .= form_textarea(t('Body'), 'body', $node->body, 60, 20, filter_tips_short(), NULL, TRUE);
}
$output .= form_textfield(t('Link name'), 'link', $node->link, 60, 64, t('To make the page show up in the navigation links, enter the name of the link. Otherwise, leave this blank.'));