summaryrefslogtreecommitdiff
path: root/modules/page.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/page.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/page.module')
-rw-r--r--modules/page.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/page.module b/modules/page.module
index b45319e8f..a4fad9a24 100644
--- a/modules/page.module
+++ b/modules/page.module
@@ -127,7 +127,7 @@ function page_form(&$node, &$error) {
$output .= implode("", taxonomy_node_form("page", $node));
}
- $output .= form_textarea(t("Body"), "body", $node->body, 60, 20);
+ $output .= form_textarea(t("Body"), "body", $node->body, 60, 20, filter_tips_short());
$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 blank."));
$output .= form_textfield(t("Link description"), "description", $node->description, 60, 64, t("The description displayed when hovering over the page's link. Leave blank when you don't want a description."));
$output .= form_radios(t("Type"), "format", $node->format, array(0 => "HTML", 1 => "PHP"));