From d4228535043619ada5192001acde645238660b37 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 31 Jul 2009 19:01:03 +0000 Subject: =?UTF-8?q?-=20Patch=20#536570=20by=20G=C3=A1bor=20Hojtsy:=20imple?= =?UTF-8?q?mented=20new=20IA=20for=20top-level=20users.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/system/system.module | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'modules/system/system.module') diff --git a/modules/system/system.module b/modules/system/system.module index 05a68fb3d..bcd4b8d7d 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -112,8 +112,8 @@ function system_help($path, $arg) { case 'admin/appearance/settings': return '

' . t('These options control the default display settings for your entire site, across all themes. Unless they have been overridden by a specific theme, these settings will be used.') . '

'; case 'admin/structure/modules': - $output = '

' . t('Modules are plugins that extend Drupal\'s core functionality. To further extend your site\'s functionality, a number of contributed modules are available for download.', array('@permissions' => url('admin/user/permissions'), '@modules' => 'http://drupal.org/project/modules')) . '

'; - $output .= '

' . t('Module-related tasks can be located on the administration by module page. New module-related permissions may also become available as new modules are enabled.', array('@by-module' => url('admin/by-module'), '@permissions' => url('admin/user/permissions'))) . '

'; + $output = '

' . t('Modules are plugins that extend Drupal\'s core functionality. To further extend your site\'s functionality, a number of contributed modules are available for download.', array('@permissions' => url('admin/settings/permissions'), '@modules' => 'http://drupal.org/project/modules')) . '

'; + $output .= '

' . t('Module-related tasks can be located on the administration by module page. New module-related permissions may also become available as new modules are enabled.', array('@by-module' => url('admin/by-module'), '@permissions' => url('admin/settings/permissions'))) . '

'; $output .= '

' . t('Each time a module is updated, it is important that update.php is run. To help manage the update process, the Update status module, if enabled, provides information on new versions of modules (and themes) as they are released. Regular review of the available updates page is essential to maintaining a secure and current site.', array('@update-php' => $base_url . '/update.php', '@updates' => url('admin/reports/updates'))) . '

'; return $output; case 'admin/structure/modules/uninstall': @@ -524,7 +524,7 @@ function system_menu() { 'title' => 'Site configuration', 'description' => 'Configure site settings.', 'position' => 'right', - 'weight' => -5, + 'weight' => -2, 'page callback' => 'system_settings_overview', 'access callback' => 'system_admin_menu_block_access', 'access arguments' => array('admin/settings', 'access administration pages'), @@ -533,7 +533,7 @@ function system_menu() { 'title' => 'Structure', 'description' => 'Control how your site looks and feels.', 'position' => 'right', - 'weight' => -10, + 'weight' => -8, 'page callback' => 'system_admin_menu_block_page', 'access callback' => 'system_admin_menu_block_access', 'access arguments' => array('admin/structure', 'access administration pages'), @@ -544,6 +544,7 @@ function system_menu() { 'page callback' => 'drupal_get_form', 'page arguments' => array('system_themes_form'), 'access arguments' => array('administer site configuration'), + 'weight' => -6, ); $items['admin/appearance/select'] = array( 'title' => 'List', @@ -2240,7 +2241,7 @@ function system_get_module_admin_tasks($module) { $admin_task_count = 0; // Check for permissions. if (in_array($module, module_implements('permission')) && $admin_access) { - $admin_tasks[-1] = l(t('Configure permissions'), 'admin/user/permissions', array('fragment' => 'module-' . $module)); + $admin_tasks[-1] = l(t('Configure permissions'), 'admin/settings/permissions', array('fragment' => 'module-' . $module)); } // Check for menu items that are admin links. -- cgit v1.2.3