diff --git modules/block/block.module modules/block/block.module index ae4889e..2d2e848 100644 --- modules/block/block.module +++ modules/block/block.module @@ -580,6 +580,19 @@ function block_form_user_profile_form_alter(&$form, &$form_state) { } /** + * Implements hook_field_extra_fields(). + */ +function block_field_extra_fields() { + $extra['user']['user']['form']['block'] = array( + 'label' => 'Personalize blocks', + 'description' => t('Block module form element.'), + 'weight' => 0, + ); + + return $extra; +} + +/** * Implements hook_user_presave(). */ function block_user_presave(&$edit, $account, $category) { @@ -1015,3 +1028,4 @@ function block_modules_uninstalled($modules) { ->condition('module', $modules, 'IN') ->execute(); } + diff --git modules/contact/contact.module modules/contact/contact.module index 7ecaa67..2b56a0a 100644 --- modules/contact/contact.module +++ modules/contact/contact.module @@ -256,3 +256,16 @@ function contact_form_user_admin_settings_alter(&$form, &$form_state) { '#default_value' => variable_get('contact_default_status', 1), ); } + +/** + * Implements hook_field_extra_fields(). + */ +function contact_field_extra_fields() { + $extra['user']['user']['form']['contact'] = array( + 'label' => 'Contact', + 'description' => t('Contact module form element.'), + 'weight' => 0, + ); + + return $extra; +} diff --git modules/locale/locale.module modules/locale/locale.module index 8a82d1b..eb8e3cf 100644 --- modules/locale/locale.module +++ modules/locale/locale.module @@ -306,6 +306,19 @@ function locale_language_selector_form(&$form, &$form_state, $user) { } /** + * Implements hook_field_extra_fields(). + */ +function locale_field_extra_fields() { + $extra['user']['user']['form']['locale'] = array( + 'label' => 'Language settings', + 'description' => t('Locale module form element.'), + 'weight' => 0, + ); + + return $extra; +} + +/** * Implements hook_form_FORM_ID_alter(). */ function locale_form_path_admin_form_alter(&$form, &$form_state) { diff --git modules/overlay/overlay.module modules/overlay/overlay.module index 6d62c54..12d45b9 100644 --- modules/overlay/overlay.module +++ modules/overlay/overlay.module @@ -104,6 +104,19 @@ function overlay_form_user_profile_form_alter(&$form, &$form_state) { } /** + * Implements hook_field_extra_fields(). + */ +function overlay_field_extra_fields() { + $extra['user']['user']['form']['overlay_control'] = array( + 'label' => 'Administrative overlay', + 'description' => t('Overlay module form element.'), + 'weight' => 0, + ); + + return $extra; +} + +/** * Implements hook_user_presave(). */ function overlay_user_presave(&$edit, $account, $category) { @@ -955,3 +968,4 @@ function overlay_trigger_refresh() { function overlay_ajax_render_region($region) { print overlay_render_region($region); } + diff --git modules/system/system.admin.inc modules/system/system.admin.inc index 150b55e..2ac8e19 100644 --- modules/system/system.admin.inc +++ modules/system/system.admin.inc @@ -66,7 +66,10 @@ function system_admin_config_page() { function system_admin_menu_block_page() { $item = menu_get_item(); if ($content = system_admin_menu_block($item)) { - $output = theme('admin_block_content', array('content' => $content)); + $output = '