summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-12-26 14:52:29 +0000
committerDries Buytaert <dries@buytaert.net>2003-12-26 14:52:29 +0000
commitfb45b6b7dfe840530975a46970966b269bf19339 (patch)
treef5769c8f26b0df01e5edaa4a30f9ce3c45e2b0b2 /includes/common.inc
parent097f6209e5cd09c2be7b538b7743f68728a60b00 (diff)
downloadbrdo-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.inc2
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);
}