diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-12-26 14:52:29 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-12-26 14:52:29 +0000 |
commit | fb45b6b7dfe840530975a46970966b269bf19339 (patch) | |
tree | f5769c8f26b0df01e5edaa4a30f9ce3c45e2b0b2 /includes/common.inc | |
parent | 097f6209e5cd09c2be7b538b7743f68728a60b00 (diff) | |
download | brdo-fb45b6b7dfe840530975a46970966b269bf19339.tar.gz brdo-fb45b6b7dfe840530975a46970966b269bf19339.tar.bz2 |
- Removed the ID from radio buttons for now: duplicate IDs confuse the browser.
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index 7724b02be..e3bbbf841 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -736,7 +736,7 @@ function form_radio($title, $name, $value = 1, $checked = 0, $description = NULL function form_radios($title, $name, $value, $options, $description = NULL) { if (count($options) > 0) { foreach ($options as $key => $choice) { - $choices .= "<input type=\"radio\" class=\"form-radio\" name=\"edit[$name]\" id=\"$name\" value=\"$key\"". ($key == $value ? " checked=\"checked\"" : "") ." /> $choice<br />"; + $choices .= "<input type=\"radio\" class=\"form-radio\" name=\"edit[$name]\" value=\"$key\"". ($key == $value ? " checked=\"checked\"" : "") ." /> $choice<br />"; } return theme("form_element", $title, $choices, $description, $name); } |