diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-04-23 18:58:43 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-04-23 18:58:43 +0000 |
commit | 709d9ec5921a13e6fbd7f7c0716f776adde7a8f8 (patch) | |
tree | 0de1438a181c581c4187feea3cf1fb3371cf2a86 /includes/common.inc | |
parent | 4c0d7da02f00c8065b66f4e2cf87ed0c79e80369 (diff) | |
download | brdo-709d9ec5921a13e6fbd7f7c0716f776adde7a8f8.tar.gz brdo-709d9ec5921a13e6fbd7f7c0716f776adde7a8f8.tar.bz2 |
- Forgot to commit the modified "includes/common.inc" when applying the
htmlArea related modifications. Thanks Gordon.
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index 0e0dfadfe..4f9833b31 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -787,7 +787,8 @@ function form_password($title, $name, $value, $size, $maxlength, $description = } function form_textarea($title, $name, $value, $cols, $rows, $description = 0) { - return form_item($title, "<textarea wrap=\"virtual\" cols=\"$cols\" rows=\"$rows\" name=\"edit[$name]\">". check_form($value) ."</textarea>", $description); + module_invoke_all("textarea", $name); // eg. optionally plug in a WYSIWYG editor + return form_item($title, "<textarea wrap=\"virtual\" cols=\"$cols\" rows=\"$rows\" name=\"edit[$name]\" id=\"edit[$name]\">". check_form($value) ."</textarea>", $description); } function form_select($title, $name, $value, $options, $description = 0, $extra = 0, $multiple = 0) { |