function system_admin_compact_mode

Same name and namespace in other branches
  1. 7.x drupal-7.x/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 drupal-6.x/modules/system/system.admin.inc
This function formats the content of an administrative block.
theme_admin_page in drupal-6.x/modules/system/system.admin.inc
This function formats an administrative page for viewing.

Archivo

drupal-6.x/modules/system/system.module, line 1256
Configuration system that lets administrators modify the workings of the site.

Código

function system_admin_compact_mode() {
  global $user;
  return (isset($user->admin_compact_mode)) ? $user->admin_compact_mode : variable_get('admin_compact_mode', FALSE);
}