diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-05-23 19:10:23 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-05-23 19:10:23 +0000 |
commit | 5ff0c0d3c7757038af8ab95f5386a9fec1aa1b10 (patch) | |
tree | 96c318263445fe4df0b3d23be923f6caaefdface /modules/user | |
parent | 5d4fa6f72511d4a3948d5527f9202d6cd2aa137f (diff) | |
download | brdo-5ff0c0d3c7757038af8ab95f5386a9fec1aa1b10.tar.gz brdo-5ff0c0d3c7757038af8ab95f5386a9fec1aa1b10.tar.bz2 |
- Patch #553298 by yched, te-brian, chx, sun: redesign the 'Manage Display' screen.
Diffstat (limited to 'modules/user')
-rw-r--r-- | modules/user/user.module | 31 |
1 files changed, 18 insertions, 13 deletions
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, + ), ), ); |