Index: includes/install.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/install.inc,v retrieving revision 1.82 diff -u -r1.82 install.inc --- includes/install.inc 18 Jan 2009 06:56:58 -0000 1.82 +++ includes/install.inc 21 Jan 2009 12:02:39 -0000 @@ -522,7 +522,7 @@ * * Used during installation to install modules one at a time and then * enable them, or to install a number of modules at one time - * from admin/build/modules. + * from admin/build/module. * * @param $module * The machine name of the module to install. Index: modules/block/block.test =================================================================== RCS file: /cvs/drupal/drupal/modules/block/block.test,v retrieving revision 1.9 diff -u -r1.9 block.test --- modules/block/block.test 7 Jan 2009 21:41:13 -0000 1.9 +++ modules/block/block.test 21 Jan 2009 21:11:19 -0000 @@ -165,7 +165,7 @@ function testNonDefaultBlockAdmin() { $admin_user = $this->drupalCreateUser(array('administer blocks', 'administer site configuration')); $this->drupalLogin($admin_user); - $this->drupalPost('admin/build/themes', array('status[bluemarine]' => 1), t('Save configuration')); + $this->drupalPost('admin/build/theme', array('status[bluemarine]' => 1), t('Save configuration')); $this->drupalGet('admin/build/block/list/bluemarine'); $this->assertRaw('bluemarine/style.css', t('Bluemarine CSS found')); } Index: modules/blogapi/blogapi.install =================================================================== RCS file: /cvs/drupal/drupal/modules/blogapi/blogapi.install,v retrieving revision 1.4 diff -u -r1.4 blogapi.install --- modules/blogapi/blogapi.install 15 Nov 2008 13:01:04 -0000 1.4 +++ modules/blogapi/blogapi.install 22 Jan 2009 00:33:38 -0000 @@ -69,7 +69,7 @@ * Inform users about the new permission. */ function blogapi_update_6000() { - drupal_set_message("Blog API module does not depend on blog module's permissions anymore, but provides its own 'administer content with blog api' permission instead. Until 'module-blogapi')) . '">this permission is assigned to at least one user role, only the site administrator will be able to use Blog API features.'); + drupal_set_message("Blog API module does not depend on blog module's permissions anymore, but provides its own 'administer content with blog api' permission instead. Until 'module-blogapi')) . '">this permission is assigned to at least one user role, only the site administrator will be able to use Blog API features.'); return array(); } Index: modules/color/color.module =================================================================== RCS file: /cvs/drupal/drupal/modules/color/color.module,v retrieving revision 1.52 diff -u -r1.52 color.module --- modules/color/color.module 20 Jan 2009 03:18:40 -0000 1.52 +++ modules/color/color.module 22 Jan 2009 00:34:18 -0000 @@ -9,7 +9,7 @@ case 'admin/help#color': $output = '
' . t('The color module allows a site administrator to quickly and easily change the color scheme of certain themes. Although not all themes support color module, both Garland (the default theme) and Minnelli were designed to take advantage of its features. By using color module with a compatible theme, you can easily change the color of links, backgrounds, text, and other theme elements. Color module requires that your file download method be set to public.', array('@url' => url('admin/settings/file-system'))) . '
'; $output .= '' . t("It is important to remember that color module saves a modified copy of the theme's specified stylesheets in the files directory. This means that if you make any manual changes to your theme's stylesheet, you must save your color settings again, even if they haven't changed. This causes the color module generated version of the stylesheets in the files directory to be recreated using the new version of the original file.") . '
'; - $output .= '' . t('To change the color settings for a compatible theme, select the "configure" link for the theme on the themes administration page.', array('@themes' => url('admin/build/themes'))) . '
'; + $output .= '' . t('To change the color settings for a compatible theme, select the "configure" link for the theme on the themes administration page.', array('@themes' => url('admin/build/theme'))) . '
'; $output .= '' . t('For more information, see the online handbook entry for Color module.', array('@color' => 'http://drupal.org/handbook/modules/color/')) . '
'; return $output; Index: modules/comment/comment.module =================================================================== RCS file: /cvs/drupal/drupal/modules/comment/comment.module,v retrieving revision 1.682 diff -u -r1.682 comment.module --- modules/comment/comment.module 14 Jan 2009 21:48:24 -0000 1.682 +++ modules/comment/comment.module 22 Jan 2009 00:33:38 -0000 @@ -543,7 +543,7 @@ COMMENT_ANONYMOUS_MAYNOT_CONTACT => t('Anonymous posters may not enter their contact information'), COMMENT_ANONYMOUS_MAY_CONTACT => t('Anonymous posters may leave their contact information'), COMMENT_ANONYMOUS_MUST_CONTACT => t('Anonymous posters must leave their contact information')), - '#description' => t('This option is enabled when anonymous users have permission to post comments on the permissions page.', array('@url' => url('admin/user/permissions', array('fragment' => 'module-comment')))), + '#description' => t('This option is enabled when anonymous users have permission to post comments on the permissions page.', array('@url' => url('admin/user/permission', array('fragment' => 'module-comment')))), ); if (!user_access('post comments', drupal_anonymous_user())) { Index: modules/comment/comment.test =================================================================== RCS file: /cvs/drupal/drupal/modules/comment/comment.test,v retrieving revision 1.23 diff -u -r1.23 comment.test --- modules/comment/comment.test 14 Jan 2009 21:48:24 -0000 1.23 +++ modules/comment/comment.test 22 Jan 2009 00:33:38 -0000 @@ -172,7 +172,7 @@ $edit['1[access comments]'] = $enabled; $edit['1[post comments]'] = $enabled; $edit['1[post comments without approval]'] = $without_approval; - $this->drupalPost('admin/user/permissions', $edit, t('Save permissions')); + $this->drupalPost('admin/user/permission', $edit, t('Save permissions')); $this->assertText(t('The changes have been saved.'), t('Anonymous user comments ' . ($enabled ? 'enabled' : 'disabled') . '.')); } Index: modules/contact/contact.test =================================================================== RCS file: /cvs/drupal/drupal/modules/contact/contact.test,v retrieving revision 1.14 diff -u -r1.14 contact.test --- modules/contact/contact.test 30 Dec 2008 16:43:16 -0000 1.14 +++ modules/contact/contact.test 22 Jan 2009 00:33:38 -0000 @@ -247,7 +247,7 @@ $edit[$rid . '[' . $name . ']'] = $value; } - $this->drupalPost('admin/user/permissions', $edit, t('Save permissions')); + $this->drupalPost('admin/user/permission', $edit, t('Save permissions')); $this->assertText(t('The changes have been saved.'), t(' [permission] Saved changes.')); } } Index: modules/menu/menu.test =================================================================== RCS file: /cvs/drupal/drupal/modules/menu/menu.test,v retrieving revision 1.5 diff -u -r1.5 menu.test --- modules/menu/menu.test 29 Nov 2008 09:33:51 -0000 1.5 +++ modules/menu/menu.test 22 Jan 2009 00:33:38 -0000 @@ -218,7 +218,7 @@ * @param string $menu_name Menu name. */ function addInvalidMenuItem($menu_name = 'navigation') { - foreach (array('-&-', 'admin/user/permissions') as $link_path) { + foreach (array('-&-', 'admin/user/permission') as $link_path) { $edit = array ( 'menu[link_path]' => $link_path, 'menu[link_title]' => 'title', Index: modules/node/node.module =================================================================== RCS file: /cvs/drupal/drupal/modules/node/node.module,v retrieving revision 1.1014 diff -u -r1.1014 node.module --- modules/node/node.module 17 Jan 2009 20:56:04 -0000 1.1014 +++ modules/node/node.module 22 Jan 2009 00:34:18 -0000 @@ -67,7 +67,7 @@ case 'admin/help#node': $output = '' . t('The node module manages content on your site, and stores all posts (regardless of type) as a "node" . In addition to basic publishing settings, including whether the post has been published, promoted to the site front page, or should remain present (or sticky) at the top of lists, the node module also records basic information about the author of a post. Optional revision control over edits is available. For additional functionality, the node module is often extended by other modules.') . '
'; $output .= '' . t('Though each post on your site is a node, each post is also of a particular content type. Content types are used to define the characteristics of a post, including the title and description of the fields displayed on its add and edit pages. Each content type may have different default settings for Publishing options and other workflow controls. By default, the two content types in a standard Drupal installation are Page and Story. Use the content types page to add new or edit existing content types. Additional content types also become available as you enable additional core, contributed and custom modules.', array('@content-type' => url('admin/build/types'))) . '
'; - $output .= '' . t('The administrative content page allows you to review and manage your site content. The post settings page sets certain options for the display of posts. The node module makes a number of permissions available for each content type, which may be set by role on the permissions page.', array('@content' => url('admin/content/node'), '@post-settings' => url('admin/content/node-settings'), '@permissions' => url('admin/user/permissions'))) . '
'; + $output .= '' . t('The administrative content page allows you to review and manage your site content. The post settings page sets certain options for the display of posts. The node module makes a number of permissions available for each content type, which may be set by role on the permissions page.', array('@content' => url('admin/content/node'), '@post-settings' => url('admin/content/node-settings'), '@permissions' => url('admin/user/permission'))) . '
'; $output .= '' . t('For more information, see the online handbook entry for Node module.', array('@node' => 'http://drupal.org/handbook/modules/node/')) . '
'; return $output; case 'admin/content/node': @@ -1923,8 +1923,8 @@ $default_message .= '' . t('Please follow these steps to set up and start using your website:') . '
'; $default_message .= '' . t('For more information, please refer to the help section, or the online Drupal handbooks. You may also post at the Drupal forum, or view the wide range of other support options available.', array('@help' => url('admin/help'), '@handbook' => 'http://drupal.org/handbooks', '@forum' => 'http://drupal.org/forum', '@support' => 'http://drupal.org/support')) . '
'; Index: modules/simpletest/tests/menu.test =================================================================== RCS file: /cvs/drupal/drupal/modules/simpletest/tests/menu.test,v retrieving revision 1.4 diff -u -r1.4 menu.test --- modules/simpletest/tests/menu.test 28 Dec 2008 18:27:14 -0000 1.4 +++ modules/simpletest/tests/menu.test 22 Jan 2009 00:34:00 -0000 @@ -32,7 +32,7 @@ $this->assertEqual($name, 'original', t('Menu name is "original".')); // Force a menu rebuild by going to the modules page. - $this->drupalGet('admin/build/modules', array('query' => array("hook_menu_name" => 'changed'))); + $this->drupalGet('admin/build/module', array('query' => array("hook_menu_name" => 'changed'))); $sql = "SELECT menu_name FROM {menu_links} WHERE router_path = 'menu_name_test'"; $name = db_result(db_query($sql)); Index: modules/statistics/statistics.module =================================================================== RCS file: /cvs/drupal/drupal/modules/statistics/statistics.module,v retrieving revision 1.293 diff -u -r1.293 statistics.module --- modules/statistics/statistics.module 8 Jan 2009 08:42:13 -0000 1.293 +++ modules/statistics/statistics.module 22 Jan 2009 00:33:38 -0000 @@ -14,7 +14,7 @@ case 'admin/help#statistics': $output = '' . t('The statistics module keeps track of numerous site usage statistics, including the number of times, and from where, each of your posts is viewed. These statistics are useful in determining how users are interacting with each other and with your site, and are required for the display of some Drupal blocks.') . '
'; $output .= '' . t('The statistics module provides:') . '
'; - $output .= '' . t('The system module is at the foundation of your Drupal website, and provides basic but extensible functionality for use by other modules and themes. Some integral elements of Drupal are contained in and managed by the system module, including caching, enabling or disabling of modules and themes, preparing and displaying the administrative page, and configuring fundamental site settings. A number of key system maintenance operations are also part of the system module.') . '
'; $output .= '' . t('The system module provides:') . '
'; - $output .= '' . t('This page shows you all available administration tasks for each module.') . '
'; - case 'admin/build/themes': + case 'admin/build/theme': $output = '' . t('Select which themes are available to your users and specify the default theme. To configure site-wide display settings, click the "configure" task above. Alternatively, to override these settings in a specific theme, click the "configure" link for that theme. Note that different themes may have different regions available for displaying content; for consistency in presentation, you may wish to enable only one theme.') . '
'; $output .= '' . t('To change the appearance of your site, a number of contributed themes are available.', array('@themes' => 'http://drupal.org/project/themes')) . '
'; return $output; - case 'admin/build/themes/settings/' . $arg[4]: + case 'admin/build/theme/settings/' . $arg[4]: $reference = explode('.', $arg[4], 2); $theme = array_pop($reference); - return '' . t('These options control the display settings for the %template theme. When your site is displayed using this theme, these settings will be used. By clicking "Reset to defaults," you can choose to use the global settings for this theme.', array('%template' => $theme, '@global' => url('admin/build/themes/settings'))) . '
' . t('These options control the display settings for the %template theme. When your site is displayed using this theme, these settings will be used. By clicking "Reset to defaults," you can choose to use the global settings for this theme.', array('%template' => $theme, '@global' => url('admin/build/theme/settings'))) . '
' . 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/build/modules': - $output = '' . t('Modules are plugins that extend Drupal\'s core functionality. To enable modules, select the Enabled checkboxes below and click the Save configuration button. 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'))) . '
'; + case 'admin/build/module': + $output = '' . t('Modules are plugins that extend Drupal\'s core functionality. To enable modules, select the Enabled checkboxes below and click the Save configuration button. To further extend your site\'s functionality, a number of contributed modules are available for download.', array('@permissions' => url('admin/user/permission'), '@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/permission'))) . '
'; $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/build/modules/uninstall': + case 'admin/build/module/uninstall': return '' . t('The uninstall process removes all data related to a module. To uninstall a module, you must first disable it. Not all modules support this feature.') . '
'; case 'admin/build/block/configure': if ($arg[4] == 'system' && $arg[5] == 0) { @@ -455,34 +455,34 @@ 'block callback' => 'system_admin_theme_settings', ); // Themes: - $items['admin/build/themes'] = array( + $items['admin/build/theme'] = array( 'title' => 'Themes', 'description' => 'Change which theme your site uses or allows users to set.', 'page callback' => 'drupal_get_form', 'page arguments' => array('system_themes_form', NULL), 'access arguments' => array('administer site configuration'), ); - $items['admin/build/themes/select'] = array( + $items['admin/build/theme/select'] = array( 'title' => 'List', 'description' => 'Select the default theme.', 'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -1, ); - $items['admin/build/themes/settings'] = array( + $items['admin/build/theme/settings'] = array( 'title' => 'Configure', 'page arguments' => array('system_theme_settings'), 'access arguments' => array('administer site configuration'), 'type' => MENU_LOCAL_TASK, ); // Theme configuration subtabs - $items['admin/build/themes/settings/global'] = array( + $items['admin/build/theme/settings/global'] = array( 'title' => 'Global settings', 'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -1, ); foreach (list_themes() as $theme) { - $items['admin/build/themes/settings/' . $theme->name] = array( + $items['admin/build/theme/settings/' . $theme->name] = array( 'title' => $theme->info['name'], 'page arguments' => array('system_theme_settings', $theme->name), 'type' => MENU_LOCAL_TASK, @@ -492,29 +492,29 @@ } // Modules: - $items['admin/build/modules'] = array( + $items['admin/build/module'] = array( 'title' => 'Modules', 'description' => 'Enable or disable add-on modules for your site.', 'page callback' => 'drupal_get_form', 'page arguments' => array('system_modules'), 'access arguments' => array('administer site configuration'), ); - $items['admin/build/modules/list'] = array( + $items['admin/build/module/list'] = array( 'title' => 'List', 'type' => MENU_DEFAULT_LOCAL_TASK, ); - $items['admin/build/modules/list/confirm'] = array( + $items['admin/build/module/list/confirm'] = array( 'title' => 'List', 'access arguments' => array('administer site configuration'), 'type' => MENU_CALLBACK, ); - $items['admin/build/modules/uninstall'] = array( + $items['admin/build/module/uninstall'] = array( 'title' => 'Uninstall', 'page arguments' => array('system_modules_uninstall'), 'access arguments' => array('administer site configuration'), 'type' => MENU_LOCAL_TASK, ); - $items['admin/build/modules/uninstall/confirm'] = array( + $items['admin/build/module/uninstall/confirm'] = array( 'title' => 'Uninstall', 'access arguments' => array('administer site configuration'), 'type' => MENU_CALLBACK, @@ -1489,7 +1489,7 @@ $admin_task_count = 0; // Check for permissions. if (in_array($module, module_implements('perm')) && $admin_access) { - $admin_tasks[-1] = l(t('Configure permissions'), 'admin/user/permissions', array('fragment' => 'module-' . $module)); + $admin_tasks[-1] = l(t('Configure permissions'), 'admin/user/permission', array('fragment' => 'module-' . $module)); } // Check for menu items that are admin links. Index: modules/system/system.test =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.test,v retrieving revision 1.36 diff -u -r1.36 system.test --- modules/system/system.test 14 Jan 2009 12:18:37 -0000 1.36 +++ modules/system/system.test 22 Jan 2009 00:34:00 -0000 @@ -79,7 +79,7 @@ // Install (and enable) aggregator module. $edit = array(); $edit['modules[Core][aggregator][enable]'] = 'aggregator'; - $this->drupalPost('admin/build/modules', $edit, t('Save configuration')); + $this->drupalPost('admin/build/module', $edit, t('Save configuration')); $this->assertText(t('The configuration options have been saved.'), t('Modules status has been updated.')); // Check that hook_modules_installed and hook_modules_enabled hooks were invoked and check tables. @@ -91,7 +91,7 @@ // Disable aggregator, check tables, uninstall aggregator, check tables. $edit = array(); $edit['modules[Core][aggregator][enable]'] = FALSE; - $this->drupalPost('admin/build/modules', $edit, t('Save configuration')); + $this->drupalPost('admin/build/module', $edit, t('Save configuration')); $this->assertText(t('The configuration options have been saved.'), t('Modules status has been updated.')); // Check that hook_modules_disabled hook was invoked and check tables. @@ -102,7 +102,7 @@ // Uninstall the module. $edit = array(); $edit['uninstall[aggregator]'] = 'aggregator'; - $this->drupalPost('admin/build/modules/uninstall', $edit, t('Uninstall')); + $this->drupalPost('admin/build/module/uninstall', $edit, t('Uninstall')); $this->drupalPost(NULL, NULL, t('Uninstall')); $this->assertText(t('The selected modules have been uninstalled.'), t('Modules status has been updated.')); @@ -133,7 +133,7 @@ // Attempt to enable content translation without locale enabled. $edit = array(); $edit['modules[Core][translation][enable]'] = 'translation'; - $this->drupalPost('admin/build/modules', $edit, t('Save configuration')); + $this->drupalPost('admin/build/module', $edit, t('Save configuration')); $this->assertText(t('Some required modules must be enabled'), t('Dependecy required.')); $this->assertModules(array('translation', 'locale'), FALSE); @@ -170,7 +170,7 @@ */ function testDisableRequired() { $required_modules = drupal_required_modules(); - $this->drupalGet('admin/build/modules'); + $this->drupalGet('admin/build/module'); foreach($required_modules as $module) { // Check to make sure the checkbox for required module is not found. $this->assertNoFieldByName('modules[Core][' . $module . '][enable]'); Index: modules/translation/translation.module =================================================================== RCS file: /cvs/drupal/drupal/modules/translation/translation.module,v retrieving revision 1.37 diff -u -r1.37 translation.module --- modules/translation/translation.module 16 Dec 2008 22:05:51 -0000 1.37 +++ modules/translation/translation.module 22 Jan 2009 00:33:38 -0000 @@ -33,7 +33,7 @@ case 'admin/help#translation': $output = '' . t('The content translation module allows content to be translated into different languages. Working with the locale module (which manages enabled languages and provides translation for the site interface), the content translation module is key to creating and maintaining translated site content.', array('@locale' => url('admin/help/locale'))) . '
'; $output .= '' . t('Configuring content translation and translation-enabled content types:') . '
'; - $output .= '' . t('Working with translation-enabled content types:') . '
'; Index: modules/update/update.compare.inc =================================================================== RCS file: /cvs/drupal/drupal/modules/update/update.compare.inc,v retrieving revision 1.15 diff -u -r1.15 update.compare.inc --- modules/update/update.compare.inc 20 Dec 2008 18:24:40 -0000 1.15 +++ modules/update/update.compare.inc 22 Jan 2009 00:34:18 -0000 @@ -582,7 +582,7 @@ // In some cases, we must clear the cache. Rather than do so on a time // basis, we check for specific paths. $q = $_GET['q']; - $paths = array('admin/build/modules', 'admin/build/themes', 'admin/reports', 'admin/reports/updates', 'admin/reports/status', 'admin/reports/updates/check'); + $paths = array('admin/build/module', 'admin/build/theme', 'admin/reports', 'admin/reports/updates', 'admin/reports/status', 'admin/reports/updates/check'); if (in_array($q, $paths)) { cache_clear_all($cid, 'cache_update'); } Index: modules/update/update.module =================================================================== RCS file: /cvs/drupal/drupal/modules/update/update.module,v retrieving revision 1.29 diff -u -r1.29 update.module --- modules/update/update.module 18 Jan 2009 16:38:06 -0000 1.29 +++ modules/update/update.module 22 Jan 2009 00:34:18 -0000 @@ -63,8 +63,8 @@ $output .= '' . t('To extend the functionality or to change the look of your site, a number of contributed modules and themes are available.', array('@modules' => 'http://drupal.org/project/modules', '@themes' => 'http://drupal.org/project/themes')) . '
'; $output .= '' . t('Each time Drupal core or a contributed module or theme is updated, it is important that update.php is run.', array('@update-php' => url($base_url . '/update.php', array('external' => TRUE)))) . '
'; return $output; - case 'admin/build/themes': - case 'admin/build/modules': + case 'admin/build/theme': + case 'admin/build/module': include_once DRUPAL_ROOT . '/includes/install.inc'; $status = update_requirements('runtime'); foreach (array('core', 'contrib') as $report_type) { @@ -87,7 +87,7 @@ case 'admin/help#update': $output = '' . t("The Update status module periodically checks for new versions of your site's software (including contributed modules and themes), and alerts you to available updates.") . '
'; $output .= '' . t('The report of available updates will alert you when new releases are available for download. You may configure options for update checking frequency and notifications at the Update status module settings page.', array('@update-report' => url('admin/reports/updates'), '@update-settings' => url('admin/settings/updates'))) . '
'; - $output .= '' . t('Please note that in order to provide this information, anonymous usage statistics are sent to drupal.org. If desired, you may disable the Update status module from the module administration page.', array('@modules' => url('admin/build/modules'))) . '
'; + $output .= '' . t('Please note that in order to provide this information, anonymous usage statistics are sent to drupal.org. If desired, you may disable the Update status module from the module administration page.', array('@modules' => url('admin/build/module'))) . '
'; $output .= '' . t('For more information, see the online handbook entry for Update status module.', array('@update' => 'http://drupal.org/handbook/modules/update')) . '
'; return $output; Index: modules/update/update.settings.inc =================================================================== RCS file: /cvs/drupal/drupal/modules/update/update.settings.inc,v retrieving revision 1.5 diff -u -r1.5 update.settings.inc --- modules/update/update.settings.inc 11 Jan 2009 21:19:19 -0000 1.5 +++ modules/update/update.settings.inc 22 Jan 2009 00:34:18 -0000 @@ -40,7 +40,7 @@ 'all' => t('All newer versions'), 'security' => t('Only security updates'), ), - '#description' => t('If there are updates available of Drupal core or any of your installed modules and themes, your site will print an error message on the status report, the modules page, and the themes page. You can choose to only see these error messages if a security update is available, or to be notified about any newer versions.', array('@status_report' => url('admin/reports/status'), '@modules_page' => url('admin/build/modules'), '@themes_page' => url('admin/build/themes'))) + '#description' => t('If there are updates available of Drupal core or any of your installed modules and themes, your site will print an error message on the status report, the modules page, and the themes page. You can choose to only see these error messages if a security update is available, or to be notified about any newer versions.', array('@status_report' => url('admin/reports/status'), '@modules_page' => url('admin/build/module'), '@themes_page' => url('admin/build/theme'))) ); $form = system_settings_form($form, FALSE); Index: modules/upload/upload.module =================================================================== RCS file: /cvs/drupal/drupal/modules/upload/upload.module,v retrieving revision 1.225 diff -u -r1.225 upload.module --- modules/upload/upload.module 12 Jan 2009 08:29:09 -0000 1.225 +++ modules/upload/upload.module 22 Jan 2009 00:33:38 -0000 @@ -18,7 +18,7 @@ $output .= '' . t('For more information, see the online handbook entry for Upload module.', array('@upload' => 'http://drupal.org/handbook/modules/upload/')) . '
'; return $output; case 'admin/settings/upload': - return '' . t('Users with the upload files permission can upload attachments. Users with the view uploaded files permission can view uploaded attachments. You can choose which post types can take attachments on the content types settings page.', array('@permissions' => url('admin/user/permissions'), '@types' => url('admin/settings/types'))) . '
'; + return '' . t('Users with the upload files permission can upload attachments. Users with the view uploaded files permission can view uploaded attachments. You can choose which post types can take attachments on the content types settings page.', array('@permissions' => url('admin/user/permission'), '@types' => url('admin/settings/types'))) . '
'; } } Index: modules/user/user.admin.inc =================================================================== RCS file: /cvs/drupal/drupal/modules/user/user.admin.inc,v retrieving revision 1.36 diff -u -r1.36 user.admin.inc --- modules/user/user.admin.inc 19 Jan 2009 10:46:52 -0000 1.36 +++ modules/user/user.admin.inc 22 Jan 2009 00:33:38 -0000 @@ -249,7 +249,7 @@ $form['cancel']['user_cancel_method'] = array( '#type' => 'item', '#title' => t('When cancelling a user account'), - '#description' => t('This default applies to all users who want to cancel their accounts. Users with the %select-cancel-method or %administer-users permissions can override this default method.', array('%select-cancel-method' => t('Select method for cancelling account'), '%administer-users' => t('Administer users'), '@permissions-url' => url('admin/user/permissions'))), + '#description' => t('This default applies to all users who want to cancel their accounts. Users with the %select-cancel-method or %administer-users permissions can override this default method.', array('%select-cancel-method' => t('Select method for cancelling account'), '%administer-users' => t('Administer users'), '@permissions-url' => url('admin/user/permission'))), ); $form['cancel']['user_cancel_method'] += user_cancel_methods(); foreach (element_children($form['cancel']['user_cancel_method']) as $element) { @@ -667,7 +667,7 @@ $rid = arg(4); if ($rid) { if ($rid == DRUPAL_ANONYMOUS_RID || $rid == DRUPAL_AUTHENTICATED_RID) { - drupal_goto('admin/user/roles'); + drupal_goto('admin/user/role'); } // Display the edit role form. $role = db_fetch_object(db_query('SELECT * FROM {role} WHERE rid = %d', $rid)); @@ -744,7 +744,7 @@ db_query("INSERT INTO {role} (name) VALUES ('%s')", $form_state['values']['name']); drupal_set_message(t('The role has been added.')); } - $form_state['redirect'] = 'admin/user/roles'; + $form_state['redirect'] = 'admin/user/role'; return; } @@ -801,9 +801,9 @@ function theme_user_admin_new_role($form) { $header = array(t('Name'), array('data' => t('Operations'), 'colspan' => 2)); foreach (user_roles() as $rid => $name) { - $edit_permissions = l(t('edit permissions'), 'admin/user/permissions/' . $rid); + $edit_permissions = l(t('edit permissions'), 'admin/user/permission/' . $rid); if (!in_array($rid, array(DRUPAL_ANONYMOUS_RID, DRUPAL_AUTHENTICATED_RID))) { - $rows[] = array($name, l(t('edit role'), 'admin/user/roles/edit/' . $rid), $edit_permissions); + $rows[] = array($name, l(t('edit role'), 'admin/user/role/edit/' . $rid), $edit_permissions); } else { $rows[] = array($name, t('locked'), $edit_permissions); Index: modules/user/user.module =================================================================== RCS file: /cvs/drupal/drupal/modules/user/user.module,v retrieving revision 1.956 diff -u -r1.956 user.module --- modules/user/user.module 20 Jan 2009 03:10:00 -0000 1.956 +++ modules/user/user.module 22 Jan 2009 00:33:38 -0000 @@ -1159,21 +1159,21 @@ ); // Permission administration pages. - $items['admin/user/permissions'] = array( + $items['admin/user/permission'] = array( 'title' => 'Permissions', 'description' => 'Determine access to features by selecting permissions for roles.', 'page callback' => 'drupal_get_form', 'page arguments' => array('user_admin_perm'), 'access arguments' => array('administer permissions'), ); - $items['admin/user/roles'] = array( + $items['admin/user/role'] = array( 'title' => 'Roles', 'description' => 'List, edit, or add user roles.', 'page callback' => 'drupal_get_form', 'page arguments' => array('user_admin_new_role'), 'access arguments' => array('administer permissions'), ); - $items['admin/user/roles/edit'] = array( + $items['admin/user/role/edit'] = array( 'title' => 'Edit role', 'page arguments' => array('user_admin_role'), 'access arguments' => array('administer permissions'), @@ -2174,14 +2174,14 @@ case 'admin/user/user/create': case 'admin/user/user/account/create': return '' . t("This web page allows administrators to register new users. Users' e-mail addresses and usernames must be unique.") . '
'; - case 'admin/user/permissions': - return '' . t('Permissions let you control what users can do on your site. Each user role (defined on the user roles page) has its own set of permissions. For example, you could give users classified as "Administrators" permission to "administer nodes" but deny this power to ordinary, "authenticated" users. You can use permissions to reveal new features to privileged users (those with subscriptions, for example). Permissions also allow trusted users to share the administrative burden of running a busy site.', array('@role' => url('admin/user/roles'))) . '
'; - case 'admin/user/roles': + case 'admin/user/permission': + return '' . t('Permissions let you control what users can do on your site. Each user role (defined on the user roles page) has its own set of permissions. For example, you could give users classified as "Administrators" permission to "administer nodes" but deny this power to ordinary, "authenticated" users. You can use permissions to reveal new features to privileged users (those with subscriptions, for example). Permissions also allow trusted users to share the administrative burden of running a busy site.', array('@role' => url('admin/user/role'))) . '
'; + case 'admin/user/role': return t('Roles allow you to fine tune the security and administration of Drupal. A role defines a group of users that have certain privileges as defined in user permissions. Examples of roles include: anonymous user, authenticated user, moderator, administrator and so on. In this area you will define the role names of the various roles. To delete a role choose "edit".
By default, Drupal comes with two user roles:
' . t('Enter a simple pattern ("*" may be used as a wildcard match) to search for a username or e-mail address. For example, one may search for "br" and Drupal might return "brian", "brad", and "brenda@example.com".') . '
'; } Index: modules/user/user.test =================================================================== RCS file: /cvs/drupal/drupal/modules/user/user.test,v retrieving revision 1.26 diff -u -r1.26 user.test --- modules/user/user.test 20 Jan 2009 03:10:00 -0000 1.26 +++ modules/user/user.test 22 Jan 2009 00:33:38 -0000 @@ -734,7 +734,7 @@ $this->assertFalse(user_access('administer nodes', $account, TRUE), t('User does not have "administer nodes" permission.')); $edit = array(); $edit[$rid . '[administer nodes]'] = TRUE; - $this->drupalPost('admin/user/permissions', $edit, t('Save permissions')); + $this->drupalPost('admin/user/permission', $edit, t('Save permissions')); $this->assertText(t('The changes have been saved.'), t('Successful save message displayed.')); $this->assertTrue(user_access('administer nodes', $account, TRUE), t('User now has "administer nodes" permission.')); @@ -742,7 +742,7 @@ $this->assertTrue(user_access('access user profiles', $account, TRUE), t('User has "access user profiles" permission.')); $edit = array(); $edit[$rid . '[access user profiles]'] = FALSE; - $this->drupalPost('admin/user/permissions', $edit, t('Save permissions')); + $this->drupalPost('admin/user/permission', $edit, t('Save permissions')); $this->assertText(t('The changes have been saved.'), t('Successful save message displayed.')); $this->assertFalse(user_access('access user profiles', $account, TRUE), t('User no longer has "access user profiles" permission.')); } Index: themes/chameleon/common.css =================================================================== RCS file: /cvs/drupal/drupal/themes/chameleon/common.css,v retrieving revision 1.12 diff -u -r1.12 common.css --- themes/chameleon/common.css 4 Jun 2007 11:10:38 -0000 1.12 +++ themes/chameleon/common.css 22 Jan 2009 00:34:18 -0000 @@ -114,7 +114,7 @@ } /* -** Common navigation links added on the admin/build/themes/settings page +** Common navigation links added on the admin/build/theme/settings page */ .navlinks { padding: 0em 0.5em 1.5em 0em; /* LTR */