From 584f3e886a7c9850d53fedaab2c8f3d0249bda10 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 20 Feb 2008 13:46:43 +0000 Subject: - Patch #30984 by webchick, keith.smith, kkaefer, Crell et al: provide descriptions for permissions on the permission administration page. --- modules/system/system.admin.inc | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'modules/system/system.admin.inc') diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index edfb2a926..9ec72a6d2 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -81,18 +81,6 @@ function system_admin_menu_block_page() { return $output; } -/** - * Menu callback; Sets whether the admin menu is in compact mode or not. - * - * @param $mode - * Valid values are 'on' and 'off'. - */ -function system_admin_compact_page($mode = 'off') { - global $user; - user_save($user, array('admin_compact_mode' => ($mode == 'on'))); - drupal_goto('admin'); -} - /** * Menu callback; prints a listing of admin tasks for each installed module. */ @@ -1899,14 +1887,7 @@ function theme_admin_page($blocks) { } $output = '
'; - $output .= ''; + $output .= theme('system_compact_link'); foreach ($container as $id => $data) { $output .= '
'; -- cgit v1.2.3