summaryrefslogtreecommitdiff
path: root/modules/user.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-02-16 15:29:46 +0000
committerDries Buytaert <dries@buytaert.net>2006-02-16 15:29:46 +0000
commiteeae26b227b4b4fdf44f0242a003edf7cc7c7c46 (patch)
tree381d74c3477915bb21037c07a8b9d438d27daea1 /modules/user.module
parentae470d6943c39a6cdc81ee782fc296bce8a41dbe (diff)
downloadbrdo-eeae26b227b4b4fdf44f0242a003edf7cc7c7c46.tar.gz
brdo-eeae26b227b4b4fdf44f0242a003edf7cc7c7c46.tar.bz2
- Patch #49132 by Tobias and Zen: fixed problem with profile fields being mangled.
Diffstat (limited to 'modules/user.module')
-rw-r--r--modules/user.module8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/user.module b/modules/user.module
index 9558b7c3e..b641e81bc 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -642,22 +642,22 @@ function theme_user_picture($account) {
* @ingroup themeable
*/
function theme_user_profile($account, $fields) {
- $output = "<div class=\"profile\">\n";
+ $output = '<div class="profile">';
$output .= theme('user_picture', $account);
foreach ($fields as $category => $items) {
if (strlen($category) > 0) {
- $output .= '<h2 class="title">'. $category ."</h2>\n";
+ $output .= '<h2 class="title">'. $category .'</h2>';
}
$output .= '<dl>';
foreach ($items as $item) {
if (isset($item['title'])) {
- $output .= '<dt class="'. $item['class'] .'">'. $item['title'] .':</dt>';
+ $output .= '<dt class="'. $item['class'] .'">'. $item['title'] .'</dt>';
}
$output .= '<dd class="'. $item['class'] .'">'. $item['value'] .'</dd>';
}
$output .= '</dl>';
}
- $output .= "</div>\n";
+ $output .= '</div>';
return $output;
}