summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-07 13:22:12 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-07 13:22:12 +0000
commit27e562e3908c16dc501a60050e4e53513f6e6ebe (patch)
tree23577357a95a9c0a5ccb979a60f14d5e37740e88 /includes
parent07682f4a45a74c1d4963e9b64562126268853c46 (diff)
downloadbrdo-27e562e3908c16dc501a60050e4e53513f6e6ebe.tar.gz
brdo-27e562e3908c16dc501a60050e4e53513f6e6ebe.tar.bz2
#57694, Class attributes form-select and form-textarea more consistent, patch by Flanker, cleaned up by me
Diffstat (limited to 'includes')
-rw-r--r--includes/form.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/form.inc b/includes/form.inc
index 1857017bc..4f10b9aa0 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -565,7 +565,7 @@ function form_options_flatten($array, $reset = TRUE) {
function theme_select($element) {
$select = '';
$size = $element['#size'] ? ' size="' . $element['#size'] . '"' : '';
- _form_set_class($element);
+ _form_set_class($element, array('form-select'));
return theme('form_element', $element['#title'], '<select name="'. $element['#name'] .''. ($element['#multiple'] ? '[]' : '') .'"'. ($element['#multiple'] ? ' multiple="multiple" ' : '') . drupal_attributes($element['#attributes']) .' id="' . $element['#id'] .'" '. $size .'>'. form_select_options($element) .'</select>', $element['#description'], $element['#id'], $element['#required'], form_get_error($element));
}
@@ -952,7 +952,7 @@ function theme_form($element) {
* A themed HTML string representing the textarea.
*/
function theme_textarea($element) {
- $class = array('textarea');
+ $class = array('form-textarea');
if ($element['#resizable'] !== false) {
drupal_add_js('misc/textarea.js');
$class[] = 'resizable';