Commit f68f9111 authored by Dries's avatar Dries

- Patch #23633 by Moshe: improve grouping in default profile page.

parent e579f4d4
......@@ -605,7 +605,7 @@ function theme_user_profile($account, $fields) {
$output = "<div class=\"profile\">\n";
$output .= theme('user_picture', $account);
foreach ($fields as $category => $value) {
$output .= "<h2>$category</h2>$value";
$output .= theme('box', $category, $value);
}
$output .= "</div>\n";
......
......@@ -605,7 +605,7 @@ function theme_user_profile($account, $fields) {
$output = "<div class=\"profile\">\n";
$output .= theme('user_picture', $account);
foreach ($fields as $category => $value) {
$output .= "<h2>$category</h2>$value";
$output .= theme('box', $category, $value);
}
$output .= "</div>\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