diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-04-21 20:11:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-04-21 20:11:22 +0000 |
commit | 8fa7d74d4daa3a05ecb1028994db71f469282d3d (patch) | |
tree | 8c4154dd8e091273ad1f8cd20fd3ddd64591be90 | |
parent | 01e76e374fe16845b600c530b65778f33f4382b4 (diff) | |
download | brdo-8fa7d74d4daa3a05ecb1028994db71f469282d3d.tar.gz brdo-8fa7d74d4daa3a05ecb1028994db71f469282d3d.tar.bz2 |
- Patch #6498 by jhriggs: <label> requires opening and closing tags.
-rw-r--r-- | includes/theme.inc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index fd9d40809..cd0559529 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -283,12 +283,6 @@ function theme_form_element($title, $value, $description = NULL, $id = NULL) { $title = "<label>$title:</label><br />"; } } - else { - if ($id) { - $title = "<label for=\"$id\"></label>"; - // TODO: does this make sense to do? - } - } if ($description) { $description = "<div class=\"description\">$description</div>"; |