diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-07-31 19:01:03 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-07-31 19:01:03 +0000 |
commit | d4228535043619ada5192001acde645238660b37 (patch) | |
tree | 1c4b55878b06e58bd88239e1ceaa598c429beb63 /modules/system/system.module | |
parent | 9f44fd1b86fdcc412a0ce7b2d3d2048e8564a979 (diff) | |
download | brdo-d4228535043619ada5192001acde645238660b37.tar.gz brdo-d4228535043619ada5192001acde645238660b37.tar.bz2 |
- Patch #536570 by Gábor Hojtsy: implemented new IA for top-level users.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 11 |
1 files changed, 6 insertions, 5 deletions
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 '<p>' . 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.') . '</p>'; case 'admin/structure/modules': - $output = '<p>' . t('Modules are plugins that extend Drupal\'s core functionality. To further extend your site\'s functionality, a number of <a href="@modules">contributed modules</a> are available for download.', array('@permissions' => url('admin/user/permissions'), '@modules' => 'http://drupal.org/project/modules')) . '</p>'; - $output .= '<p>' . t('Module-related tasks can be located on the <a href="@by-module">administration by module page</a>. New <a href="@permissions">module-related permissions</a> may also become available as new modules are enabled.', array('@by-module' => url('admin/by-module'), '@permissions' => url('admin/user/permissions'))) . '</p>'; + $output = '<p>' . t('Modules are plugins that extend Drupal\'s core functionality. To further extend your site\'s functionality, a number of <a href="@modules">contributed modules</a> are available for download.', array('@permissions' => url('admin/settings/permissions'), '@modules' => 'http://drupal.org/project/modules')) . '</p>'; + $output .= '<p>' . t('Module-related tasks can be located on the <a href="@by-module">administration by module page</a>. New <a href="@permissions">module-related permissions</a> may also become available as new modules are enabled.', array('@by-module' => url('admin/by-module'), '@permissions' => url('admin/settings/permissions'))) . '</p>'; $output .= '<p>' . t('Each time a module is updated, it is important that <a href="@update-php">update.php</a> is run. To help manage the update process, the <em>Update status</em> module, if enabled, provides <a href="@updates">information on new versions of modules (and themes)</a> as they are released. Regular review of the <a href="@updates">available updates page</a> is essential to maintaining a secure and current site.', array('@update-php' => $base_url . '/update.php', '@updates' => url('admin/reports/updates'))) . '</p>'; 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. |