Commit 4a105952 authored by Gerhard Killesreiter's avatar Gerhard Killesreiter

#55797, consistency in author block, patch by dww

parent 2e3826ad
......@@ -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";
}
}
}
......
......@@ -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";
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment