You are here

function system_admin_compact_mode in Drupal 5

Same name and namespace in other branches
  1. 8 core/modules/system/system.module \system_admin_compact_mode()
  2. 6 modules/system/system.module \system_admin_compact_mode()
  3. 7 modules/system/system.module \system_admin_compact_mode()
  4. 9 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.module
This function formats the content of an administrative block.
theme_admin_page in modules/system/system.module
This function formats an administrative page for viewing.

File

modules/system/system.module, line 2180
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);
}