New layout and display labels

This commit is contained in:
Manuel Cillero 2017-07-26 09:58:33 +02:00
parent 6a3eb66d19
commit e666049d60
2 changed files with 6 additions and 3 deletions

View file

@ -662,7 +662,7 @@ function user_user($type, &$edit, &$account, $category = NULL) {
'#type' => 'user_profile_category',
'#attributes' => array('class' => 'user-member'),
'#weight' => 5,
'#title' => t('History'),
'#title' => $account->name,
);
$account->content['summary']['member_for'] = array(
'#type' => 'user_profile_item',
@ -1108,7 +1108,7 @@ function user_menu() {
);
$items['user/%user/view'] = array(
'title' => 'View',
'title' => 'Desktop',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -10,
);
@ -1124,7 +1124,7 @@ function user_menu() {
);
$items['user/%user_category/edit'] = array(
'title' => 'Edit',
'title' => 'Edit profile',
'page callback' => 'user_edit',
'page arguments' => array(1),
'access callback' => 'user_edit_access',
@ -1132,6 +1132,7 @@ function user_menu() {
'type' => MENU_LOCAL_TASK,
'load arguments' => array('%map', '%index'),
'file' => 'user.pages.inc',
'weight' => 99,
);
$items['user/%user_category/edit/account'] = array(