function system_admin_compact_page
Same name and namespace in other branches
- 7.x drupal-7.x/modules/system/system.module \system_admin_compact_page()
Menu callback; Sets whether the admin menu is in compact mode or not.
Parameters
$mode: Valid values are 'on' and 'off'.
1 string reference to 'system_admin_compact_page'
- system_menu in drupal-6.x/
modules/ system/ system.module - Implementation of hook_menu().
Archivo
- drupal-6.x/
modules/ system/ system.admin.inc, line 90 - Admin page callbacks for the system module.
Código
function system_admin_compact_page($mode = 'off') {
global $user;
user_save($user, array('admin_compact_mode' => ($mode == 'on')));
drupal_goto('admin');
}