summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-12-28 00:13:22 +0000
committerDries Buytaert <dries@buytaert.net>2003-12-28 00:13:22 +0000
commit9eba2ac77f9f0674f13cf6bfdecd7f1a13039019 (patch)
treebd632fdbd33822837512723706f5cc41997d4ef4
parent26e5362cf957be9aeb4da8b0a76225a4c91da863 (diff)
downloadbrdo-9eba2ac77f9f0674f13cf6bfdecd7f1a13039019.tar.gz
brdo-9eba2ac77f9f0674f13cf6bfdecd7f1a13039019.tar.bz2
- Removed the id= from checkboxes: it is acting weird in some cases. :oI
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index fd92d3664..885781947 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -743,7 +743,7 @@ function form_radios($title, $name, $value, $options, $description = NULL) {
}
function form_checkbox($title, $name, $value = 1, $checked = 0, $description = NULL, $attributes = NULL) {
- return form_hidden($name, 0) . theme("form_element", NULL, "<input type=\"checkbox\" class=\"form-checkbox\" name=\"edit[$name]\" id=\"$name\" value=\"". $value ."\"". ($checked ? " checked=\"checked\"" : "") . drupal_attributes($attributes) ." /> $title", $description, $name);
+ return form_hidden($name, 0) . theme("form_element", NULL, "<input type=\"checkbox\" class=\"form-checkbox\" name=\"edit[$name]\" value=\"". $value ."\"". ($checked ? " checked=\"checked\"" : "") . drupal_attributes($attributes) ." /> $title", $description, $name);
}
function form_textfield($title, $name, $value, $size, $maxlength, $description = NULL, $attributes = NULL) {