diff options
author | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-04-04 07:03:07 +0000 |
---|---|---|
committer | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-04-04 07:03:07 +0000 |
commit | 4a1059524861e96b24ff09211f62bf9d9257ccb1 (patch) | |
tree | 84054c60c1e732b777f030d3376f40ed2ffa0b70 /modules | |
parent | 2e3826ad7c8f00f3d4fb8bad3fd55ac7d35603b4 (diff) | |
download | brdo-4a1059524861e96b24ff09211f62bf9d9257ccb1.tar.gz brdo-4a1059524861e96b24ff09211f62bf9d9257ccb1.tar.bz2 |
#55797, consistency in author block, patch by dww
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"; + } } } |