Index: includes/common.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/common.inc,v retrieving revision 1.444 diff -u -r1.444 common.inc --- includes/common.inc 24 May 2005 06:00:20 -0000 1.444 +++ includes/common.inc 24 May 2005 16:23:24 -0000 @@ -1340,8 +1340,8 @@ * @return * A themed HTML string representing the field. */ -function form_textarea($title, $name, $value, $cols, $rows, $description = NULL, $attributes = NULL, $required = FALSE) { - $cols = $cols ? ' cols="'. $cols .'"' : ''; +function form_textarea($title, $name, $value, $width, $height, $description = NULL, $attributes = NULL, $required = FALSE) { + $width = $width ? 'width:"'. $width .'"em;' : ''; $pre = ''; $post = ''; @@ -1353,7 +1353,7 @@ } } - return theme('form_element', $title, $pre .''. $post, $description, 'edit-'. $name, $required, _form_get_error($name)); + return theme('form_element', $title, $pre .''. $post, $description, 'edit-'. $name, $required, _form_get_error($name)); } /**