From 5ff0c0d3c7757038af8ab95f5386a9fec1aa1b10 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 23 May 2010 19:10:23 +0000 Subject: - Patch #553298 by yched, te-brian, chx, sun: redesign the 'Manage Display' screen. --- modules/user/user.module | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) (limited to 'modules/user') diff --git a/modules/user/user.module b/modules/user/user.module index 703ad19ce..0256040b7 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -146,6 +146,7 @@ function user_entity_info() { 'view modes' => array( 'full' => array( 'label' => t('User account'), + 'custom settings' => FALSE, ), ), ), @@ -167,20 +168,24 @@ function user_uri($user) { */ function user_field_extra_fields() { $return['user']['user'] = array( - 'account' => array( - 'label' => 'User name and password', - 'description' => t('User module account form elements'), - 'weight' => -10, - ), - 'timezone' => array( - 'label' => 'Timezone', - 'description' => t('User module timezone form element.'), - 'weight' => 6, + 'form' => array( + 'account' => array( + 'label' => 'User name and password', + 'description' => t('User module account form elements'), + 'weight' => -10, + ), + 'timezone' => array( + 'label' => 'Timezone', + 'description' => t('User module timezone form element.'), + 'weight' => 6, + ), ), - 'summary' => array( - 'label' => 'History', - 'description' => t('User module history view element.'), - 'weight' => 5, + 'display' => array( + 'summary' => array( + 'label' => 'History', + 'description' => t('User module history view element.'), + 'weight' => 5, + ), ), ); -- cgit v1.2.3