Index: modules/blog.module =================================================================== RCS file: /cvs/drupal/drupal/modules/blog.module,v retrieving revision 1.226 diff -u -F^f -r1.226 blog.module --- modules/blog.module 7 Sep 2005 20:17:18 -0000 1.226 +++ modules/blog.module 14 Sep 2005 13:50:30 -0000 @@ -42,7 +42,7 @@ function blog_access($op, $node) { */ function blog_user($type, &$edit, &$user) { if ($type == 'view' && user_access('edit own blog', $user)) { - return array(t('History') => form_item(t('Blog'), l(t('view recent blog entries'), "blog/$user->uid", array('title' => t("Read %username's latest blog entries.", array('%username' => $user->name)))))); + return array(t('History') => array('blog' => form_item(t('Blog'), l(t('view recent blog entries'), "blog/$user->uid", array('title' => t("Read %username's latest blog entries.", array('%username' => $user->name))))))); } } Index: modules/user.module =================================================================== RCS file: /cvs/drupal/drupal/modules/user.module,v retrieving revision 1.506 diff -u -F^f -r1.506 user.module --- modules/user.module 7 Sep 2005 20:56:00 -0000 1.506 +++ modules/user.module 14 Sep 2005 13:50:32 -0000 @@ -467,7 +467,7 @@ function user_search($op = 'search', $ke */ function user_user($type, &$edit, &$user, $category = NULL) { if ($type == 'view') { - return array(t('History') => form_item(t('Member for'), format_interval(time() - $user->created))); + return array(t('History') => array('history'=> form_item(t('Member for'), format_interval(time() - $user->created)))); } if ($type == 'form' && $category == 'account') { @@ -618,10 +618,21 @@ function theme_user_picture($account) { } } +/** + * Theme a user page + * @param $account the user object + * @param $fields an mulidimensional array for the fields, in the form of + * array('category1'=> array('name1' => field1, 'name2' => field2), + * 'category2'=> array('name3' => field3, 'name4' => field4, 'name5' => field5), + * .. etc); + * + * @ingroup themeable + */ function theme_user_profile($account, $fields) { $output = "