Index: includes/common.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/common.inc,v retrieving revision 1.438 diff -u -r1.438 common.inc --- includes/common.inc 28 Apr 2005 19:23:19 -0000 1.438 +++ includes/common.inc 3 May 2005 19:21:46 -0000 @@ -1051,11 +1051,13 @@ * The form items within the group, as an HTML string. * @param $description * Explanatory text to display after the form item group. + * @param $attributes + * An associative array of HTML attributes to add to the button. * @return * A themed HTML string representing the form item group. */ -function form_group($legend, $group, $description = NULL) { - return '
' . ($legend ? ''. $legend .'' : '') . $group . ($description ? '
'. $description .'
' : '') . "
\n"; +function form_group($legend, $group, $description = NULL, $attributes = '') { + return '' . ($legend ? ''. $legend .'' : '') . $group . ($description ? '
'. $description .'
' : '') . "\n"; } /**