function system_admin_compact_mode in Drupal 6
Same name and namespace in other branches
- 8 core/modules/system/system.module \system_admin_compact_mode()
- 5 modules/system/system.module \system_admin_compact_mode()
- 7 modules/system/system.module \system_admin_compact_mode()
- 9 core/modules/system/system.module \system_admin_compact_mode()
- 10 core/modules/system/system.module \system_admin_compact_mode()
Determine if a user is in compact mode.
2 calls to system_admin_compact_mode()
- theme_admin_block_content in modules/
system/ system.admin.inc - This function formats the content of an administrative block.
- theme_admin_page in modules/
system/ system.admin.inc - This function formats an administrative page for viewing.
File
- modules/
system/ system.module, line 1256 - Configuration system that lets administrators modify the workings of the site.
Code
function system_admin_compact_mode() {
global $user;
return isset($user->admin_compact_mode) ? $user->admin_compact_mode : variable_get('admin_compact_mode', FALSE);
}