diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/profile.module | 7 | ||||
-rw-r--r-- | modules/profile/profile.module | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/modules/profile.module b/modules/profile.module index fb626c046..ba477cddf 100644 --- a/modules/profile.module +++ b/modules/profile.module @@ -745,7 +745,12 @@ function theme_profile_block($account, $fields = array()) { foreach ($fields as $field) { if ($field->value) { - $output .= "<p><strong>$field->title:</strong><br />$field->value</p>\n"; + if ($field->type == 'checkbox') { + $output .= "<p>$field->value</p>\n"; + } + else { + $output .= "<p><strong>$field->title</strong><br />$field->value</p>\n"; + } } } diff --git a/modules/profile/profile.module b/modules/profile/profile.module index fb626c046..ba477cddf 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -745,7 +745,12 @@ function theme_profile_block($account, $fields = array()) { foreach ($fields as $field) { if ($field->value) { - $output .= "<p><strong>$field->title:</strong><br />$field->value</p>\n"; + if ($field->type == 'checkbox') { + $output .= "<p>$field->value</p>\n"; + } + else { + $output .= "<p><strong>$field->title</strong><br />$field->value</p>\n"; + } } } |