diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-01-06 07:32:54 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-01-06 07:32:54 +0000 |
commit | 303720fb6294d9bc3884c4809ae5664d00a5977f (patch) | |
tree | 78ba2e93efda744bdc4f2765fbcd4291e672e21c /includes | |
parent | 6c20d333d2737f2875292e69f6e4bdfcfd57a684 (diff) | |
download | brdo-303720fb6294d9bc3884c4809ae5664d00a5977f.tar.gz brdo-303720fb6294d9bc3884c4809ae5664d00a5977f.tar.bz2 |
- Patch #15609 by m3avrck: get rid of forced <br />-tag after <label>-tags. Makes it easier to theme forms.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/theme.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index f12c04665..e025299e6 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -595,10 +595,10 @@ function theme_form_element($title, $value, $description = NULL, $id = NULL, $re if ($title) { if ($id) { - $output .= ' <label for="'. form_clean_id($id) .'">'. $title .':</label>'. $required ."<br />\n"; + $output .= ' <label for="'. form_clean_id($id) .'">'. $title .":$required</label>\n"; } else { - $output .= ' <label>'. $title .':</label>'. $required ."<br />\n"; + $output .= ' <label>'. $title .":$required</label>\n"; } } |