summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-04 21:31:52 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-04 21:31:52 +0000
commitec7ff41cc58d1604918e0e10aeeef1bed9dd5d52 (patch)
treef63b3b33a93418e2e267010f4c0e6bc11a1e0b65 /modules
parent2a8fc4edb08cd26b8314fcaa3f34489ebdad9e61 (diff)
downloadbrdo-ec7ff41cc58d1604918e0e10aeeef1bed9dd5d52.tar.gz
brdo-ec7ff41cc58d1604918e0e10aeeef1bed9dd5d52.tar.bz2
#580868 by anarcat and Dave Reid: Make 'Modules' its own top-level admin link.
Diffstat (limited to 'modules')
-rw-r--r--modules/contact/contact.module2
-rw-r--r--modules/field/field.module2
-rw-r--r--modules/help/help.module2
-rw-r--r--modules/overlay/overlay.install4
-rw-r--r--modules/system/system.admin.inc14
-rw-r--r--modules/system/system.css2
-rw-r--r--modules/system/system.install2
-rw-r--r--modules/system/system.module18
-rw-r--r--modules/system/system.test24
-rw-r--r--modules/system/system.updater.inc2
-rw-r--r--modules/update/update.compare.inc2
-rw-r--r--modules/update/update.module18
-rw-r--r--modules/update/update.test12
-rw-r--r--modules/user/user.test2
14 files changed, 53 insertions, 53 deletions
diff --git a/modules/contact/contact.module b/modules/contact/contact.module
index 6126ef72c..b1d21099f 100644
--- a/modules/contact/contact.module
+++ b/modules/contact/contact.module
@@ -27,7 +27,7 @@ function contact_help($path, $arg) {
return $output;
case 'admin/structure/contact':
$output = '<p>' . t('Add one or more categories to set up your site-wide <a href="@form">contact form</a>. You can <a href="@settings">customize the information above the contact form</a> on the settings page.', array('@settings' => url('admin/structure/contact/settings'), '@form' => url('contact'))) . '</p>'; if (!module_exists('menu')) {
- $menu_note = t('The menu item can be configured only if the menu module is <a href="@modules-page">enabled</a>.', array('@modules-page' => url('admin/config/modules')));
+ $menu_note = t('The menu item can be configured only if the menu module is <a href="@modules-page">enabled</a>.', array('@modules-page' => url('admin/modules')));
}
else {
$menu_note = '';
diff --git a/modules/field/field.module b/modules/field/field.module
index 070b4e521..4f3518007 100644
--- a/modules/field/field.module
+++ b/modules/field/field.module
@@ -147,7 +147,7 @@ function field_help($path, $arg) {
$output .= '<h3>' . t('Uses') . '</h3>';
$output .= '<dl>';
$output .= '<dt>' . t('Enabling field types') . '</dt>';
- $output .= '<dd>' . t('The Field module provides the infrastructure for fields and field attachment; the field types and input widgets themselves are provided by additional modules. Some of the modules are required; the optional modules can be enabled from the <a href="@modules">Modules administration page</a>. Drupal core includes the following field type modules: Number (required), Text (required), List (required), Taxonomy (optional), Image (optional), and File (optional); the required Options module provides input widgets for other field modules. Additional fields and widgets may be provided by contributed modules, which you can find in the <a href="@contrib">contributed module section of Drupal.org</a>. Currently enabled field and input widget modules:', array('@modules' => url('admin/config/modules'), '@contrib' => 'http://drupal.org/project/modules', '@options' => url('admin/help/options')));
+ $output .= '<dd>' . t('The Field module provides the infrastructure for fields and field attachment; the field types and input widgets themselves are provided by additional modules. Some of the modules are required; the optional modules can be enabled from the <a href="@modules">Modules administration page</a>. Drupal core includes the following field type modules: Number (required), Text (required), List (required), Taxonomy (optional), Image (optional), and File (optional); the required Options module provides input widgets for other field modules. Additional fields and widgets may be provided by contributed modules, which you can find in the <a href="@contrib">contributed module section of Drupal.org</a>. Currently enabled field and input widget modules:', array('@modules' => url('admin/modules'), '@contrib' => 'http://drupal.org/project/modules', '@options' => url('admin/help/options')));
// Make a list of all widget and field modules currently enabled, in
// order by displayed module name (module names are not translated).
diff --git a/modules/help/help.module b/modules/help/help.module
index 0fa28c38f..6129e66ee 100644
--- a/modules/help/help.module
+++ b/modules/help/help.module
@@ -41,7 +41,7 @@ function help_help($path, $arg) {
$output = '<p>' . t('Please follow these steps to set up and start using your website:') . '</p>';
$output .= '<ol>';
$output .= '<li>' . t('<strong>Configure your website</strong> Once logged in, visit the <a href="@admin">administration section</a>, where you can <a href="@config">customize and configure</a> all aspects of your website.', array('@admin' => url('admin'), '@config' => url('admin/config'))) . '</li>';
- $output .= '<li>' . t('<strong>Enable additional functionality</strong> Next, visit the <a href="@modules">module list</a> and enable features which suit your specific needs. You can find additional modules in the <a href="@download_modules">Drupal modules download section</a>.', array('@modules' => url('admin/config/modules'), '@download_modules' => 'http://drupal.org/project/modules')) . '</li>';
+ $output .= '<li>' . t('<strong>Enable additional functionality</strong> Next, visit the <a href="@modules">module list</a> and enable features which suit your specific needs. You can find additional modules in the <a href="@download_modules">Drupal modules download section</a>.', array('@modules' => url('admin/modules'), '@download_modules' => 'http://drupal.org/project/modules')) . '</li>';
$output .= '<li>' . t('<strong>Customize your website design</strong> To change the "look and feel" of your website, visit the <a href="@themes">themes section</a>. You may choose from one of the included themes or download additional themes from the <a href="@download_themes">Drupal themes download section</a>.', array('@themes' => url('admin/appearance'), '@download_themes' => 'http://drupal.org/project/themes')) . '</li>';
$output .= '<li>' . t('<strong>Start posting content</strong> Finally, you can <a href="@content">add new content</a> for your website.', array('@content' => url('node/add'))) . '</li>';
$output .= '</ol>';
diff --git a/modules/overlay/overlay.install b/modules/overlay/overlay.install
index a864b5eb1..9d37e9b62 100644
--- a/modules/overlay/overlay.install
+++ b/modules/overlay/overlay.install
@@ -13,7 +13,7 @@
* install profile, reopen the modules page in an overlay.
*/
function overlay_enable() {
- if (strpos(current_path(), 'admin/config/modules') === 0) {
- drupal_goto('<front>', array('fragment' => 'overlay=admin/config/modules'));
+ if (strpos(current_path(), 'admin/modules') === 0) {
+ drupal_goto('<front>', array('fragment' => 'overlay=admin/modules'));
}
}
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 4097341d9..80aa7f33f 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -956,7 +956,7 @@ function system_modules($form, $form_state = array()) {
'#type' => 'submit',
'#value' => t('Save configuration'),
);
- $form['#action'] = url('admin/config/modules/list/confirm');
+ $form['#action'] = url('admin/modules/list/confirm');
return $form;
}
@@ -1098,7 +1098,7 @@ function system_modules_confirm_form($modules, $storage) {
$form = confirm_form(
$form,
t('Some required modules must be enabled'),
- 'admin/config/modules',
+ 'admin/modules',
t('Would you like to continue with the above?'),
t('Continue'),
t('Cancel'));
@@ -1247,7 +1247,7 @@ function system_modules_submit($form, &$form_state) {
drupal_clear_css_cache();
drupal_clear_js_cache();
- $form_state['redirect'] = 'admin/config/modules';
+ $form_state['redirect'] = 'admin/modules';
// Notify locale module about module changes, so translations can be
// imported. This might start a batch, and only return to the redirect
@@ -1311,7 +1311,7 @@ function system_modules_uninstall($form, $form_state = NULL) {
'#type' => 'submit',
'#value' => t('Uninstall'),
);
- $form['#action'] = url('admin/config/modules/uninstall/confirm');
+ $form['#action'] = url('admin/modules/uninstall/confirm');
}
else {
$form['modules'] = array();
@@ -1352,7 +1352,7 @@ function system_modules_uninstall_confirm_form($storage) {
$form = confirm_form(
$form,
t('Confirm uninstall'),
- 'admin/config/modules/uninstall',
+ 'admin/modules/uninstall',
t('Would you like to continue with uninstalling the above?'),
t('Uninstall'),
t('Cancel'));
@@ -1367,7 +1367,7 @@ function system_modules_uninstall_validate($form, &$form_state) {
// Form submitted, but no modules selected.
if (!count(array_filter($form_state['values']['uninstall']))) {
drupal_set_message(t('No modules selected.'), 'error');
- drupal_goto('admin/config/modules/uninstall');
+ drupal_goto('admin/modules/uninstall');
}
}
@@ -1384,7 +1384,7 @@ function system_modules_uninstall_submit($form, &$form_state) {
drupal_uninstall_modules($modules);
drupal_set_message(t('The selected modules have been uninstalled.'));
- $form_state['redirect'] = 'admin/config/modules/uninstall';
+ $form_state['redirect'] = 'admin/modules/uninstall';
}
else {
$form_state['storage'] = $form_state['values'];
diff --git a/modules/system/system.css b/modules/system/system.css
index 5a6db4dc6..695f80c65 100644
--- a/modules/system/system.css
+++ b/modules/system/system.css
@@ -517,7 +517,7 @@ html.js .js-hide {
}
/*
-** Styles for the system modules page (admin/config/modules)
+** Styles for the system modules page (admin/modules)
*/
#system-modules div.incompatible {
font-weight: bold;
diff --git a/modules/system/system.install b/modules/system/system.install
index f37b8266b..478a09279 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -307,7 +307,7 @@ function system_requirements($phase) {
$requirements['update status'] = array(
'value' => $t('Not enabled'),
'severity' => REQUIREMENT_WARNING,
- 'description' => $t('Update notifications are not enabled. It is <strong>highly recommended</strong> that you enable the update status module from the <a href="@module">module administration page</a> in order to stay up-to-date on new releases. For more information please read the <a href="@update">Update status handbook page</a>.', array('@update' => 'http://drupal.org/handbook/modules/update', '@module' => url('admin/config/modules'))),
+ 'description' => $t('Update notifications are not enabled. It is <strong>highly recommended</strong> that you enable the update status module from the <a href="@module">module administration page</a> in order to stay up-to-date on new releases. For more information please read the <a href="@update">Update status handbook page</a>.', array('@update' => 'http://drupal.org/handbook/modules/update', '@module' => url('admin/modules'))),
);
}
else {
diff --git a/modules/system/system.module b/modules/system/system.module
index 4c6ae6a35..84d2ee55d 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -70,7 +70,7 @@ function system_help($path, $arg) {
$output .= '<h3>' . t('Uses') . '</h3>';
$output .= '<dl>';
$output .= '<dt>' . t('Managing modules') . '</dt>';
- $output .= '<dd>' . t('The System module allows users with the appropriate permissions to enable and disable modules on the <a href="@modules">Modules administration page</a>. Drupal comes with a number of core modules, and each module provides a discrete set of features and may be enabled or disabled depending on the needs of the site. Many additional modules contributed by members of the Drupal community are available for download at the <a href="@drupal-modules">Drupal.org module page</a>.', array('@modules' => url('admin/config/modules'), '@drupal-modules' => 'http://drupal.org/project/modules')) . '</dd>';
+ $output .= '<dd>' . t('The System module allows users with the appropriate permissions to enable and disable modules on the <a href="@modules">Modules administration page</a>. Drupal comes with a number of core modules, and each module provides a discrete set of features and may be enabled or disabled depending on the needs of the site. Many additional modules contributed by members of the Drupal community are available for download at the <a href="@drupal-modules">Drupal.org module page</a>.', array('@modules' => url('admin/modules'), '@drupal-modules' => 'http://drupal.org/project/modules')) . '</dd>';
$output .= '<dt>' . t('Managing themes') . '</dt>';
$output .= '<dd>' . t('The System module allows users with the appropriate permissions to enable and disable themes on the <a href="@themes">Appearance administration page</a>. Themes determine the design and presentation of your site. Drupal comes packaged with several core themes, and additional contributed themes are available at the <a href="@drupal-themes">Drupal.org theme page</a>.', array('@themes' => url('admin/appearance'), '@drupal-themes' => 'http://drupal.org/project/themes')) . '</dd>';
$output .= '<dt>' . t('Managing caching') . '</dt>';
@@ -94,7 +94,7 @@ function system_help($path, $arg) {
return '<p>' . t('These options control the display settings for the <code>%template</code> 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 <a href="@global">global settings</a> for this theme.', array('%template' => $theme, '@global' => url('admin/appearance/settings'))) . '</p>';
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/config/modules':
+ case 'admin/modules':
$output = '<p>' . t('Download additional <a href="@modules">contributed modules</a> to extend Drupal\'s functionality.', array('@modules' => 'http://drupal.org/project/modules')) . '</p>';
if (module_exists('update')) {
if (update_manager_access()) {
@@ -108,8 +108,8 @@ function system_help($path, $arg) {
$output .= '<p>' . t('Regularly review available updates to maintain a secure and current site. Always run the <a href="@update-php">update script</a> each time a module is updated. Enable the Update manager module to update and install modules and themes.', array('@update-php' => $base_url . '/update.php')) . '</p>';
}
return $output;
- case 'admin/config/modules/uninstall':
- return '<p>' . t('The uninstall process removes all data related to a module. To uninstall a module, you must first disable it on the main <a href="@modules">Modules page</a>. Not all modules support this feature.', array('@modules' => url('admin/config/modules'))) . '</p>';
+ case 'admin/modules/uninstall':
+ return '<p>' . t('The uninstall process removes all data related to a module. To uninstall a module, you must first disable it on the main <a href="@modules">Modules page</a>. Not all modules support this feature.', array('@modules' => url('admin/modules'))) . '</p>';
case 'admin/structure/block/manage':
if ($arg[4] == 'system' && $arg[5] == 'powered-by') {
return '<p>' . t('The <em>Powered by Drupal</em> block is an optional link to the home page of the Drupal project. While there is absolutely no requirement that sites feature this link, it may be used to show support for Drupal.') . '</p>';
@@ -656,7 +656,7 @@ function system_menu() {
'weight' => -10,
'file' => 'system.admin.inc',
);
- $items['admin/config/modules'] = array(
+ $items['admin/modules'] = array(
'title' => 'Modules',
'description' => 'Enable or disable add-on modules for your site.',
'page callback' => 'drupal_get_form',
@@ -666,23 +666,23 @@ function system_menu() {
'type' => MENU_LOCAL_TASK,
'weight' => 10,
);
- $items['admin/config/modules/list'] = array(
+ $items['admin/modules/list'] = array(
'title' => 'List',
'type' => MENU_DEFAULT_LOCAL_TASK,
);
- $items['admin/config/modules/list/confirm'] = array(
+ $items['admin/modules/list/confirm'] = array(
'title' => 'List',
'access arguments' => array('administer modules'),
'type' => MENU_CALLBACK,
);
- $items['admin/config/modules/uninstall'] = array(
+ $items['admin/modules/uninstall'] = array(
'title' => 'Uninstall',
'page arguments' => array('system_modules_uninstall'),
'access arguments' => array('administer modules'),
'type' => MENU_LOCAL_TASK,
'file' => 'system.admin.inc',
);
- $items['admin/config/modules/uninstall/confirm'] = array(
+ $items['admin/modules/uninstall/confirm'] = array(
'title' => 'Uninstall',
'access arguments' => array('administer modules'),
'type' => MENU_CALLBACK,
diff --git a/modules/system/system.test b/modules/system/system.test
index 608e3a6c1..3cfa20d1c 100644
--- a/modules/system/system.test
+++ b/modules/system/system.test
@@ -114,7 +114,7 @@ class EnableDisableTestCase extends ModuleTestCase {
$edit = array();
$edit['modules[Core][aggregator][enable]'] = 'aggregator';
$edit['modules[Core][forum][enable]'] = 'forum';
- $this->drupalPost('admin/config/modules', $edit, t('Save configuration'));
+ $this->drupalPost('admin/modules', $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.
@@ -127,7 +127,7 @@ class EnableDisableTestCase extends ModuleTestCase {
// Disable aggregator, check tables, uninstall aggregator, check tables.
$edit = array();
$edit['modules[Core][aggregator][enable]'] = FALSE;
- $this->drupalPost('admin/config/modules', $edit, t('Save configuration'));
+ $this->drupalPost('admin/modules', $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.
@@ -139,7 +139,7 @@ class EnableDisableTestCase extends ModuleTestCase {
// Uninstall the module.
$edit = array();
$edit['uninstall[aggregator]'] = 'aggregator';
- $this->drupalPost('admin/config/modules/uninstall', $edit, t('Uninstall'));
+ $this->drupalPost('admin/modules/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.'));
@@ -153,7 +153,7 @@ class EnableDisableTestCase extends ModuleTestCase {
// Reinstall (and enable) aggregator module.
$edit = array();
$edit['modules[Core][aggregator][enable]'] = 'aggregator';
- $this->drupalPost('admin/config/modules', $edit, t('Save configuration'));
+ $this->drupalPost('admin/modules', $edit, t('Save configuration'));
$this->assertText(t('The configuration options have been saved.'), t('Modules status has been updated.'));
}
}
@@ -177,7 +177,7 @@ class ModuleDependencyTestCase extends ModuleTestCase {
// Attempt to enable content translation without locale enabled.
$edit = array();
$edit['modules[Core][translation][enable]'] = 'translation';
- $this->drupalPost('admin/config/modules', $edit, t('Save configuration'));
+ $this->drupalPost('admin/modules', $edit, t('Save configuration'));
$this->assertText(t('Some required modules must be enabled'), t('Dependecy required.'));
$this->assertModules(array('translation', 'locale'), FALSE);
@@ -202,7 +202,7 @@ class ModuleDependencyTestCase extends ModuleTestCase {
function testMissingModules() {
// Test that the system_dependencies_test module is marked
// as missing a dependency.
- $this->drupalGet('admin/config/modules');
+ $this->drupalGet('admin/modules');
$this->assertRaw(t('@module (<span class="admin-missing">missing</span>)', array('@module' => drupal_ucfirst('_missing_dependency'))), t('A module with missing dependencies is marked as such.'));
$checkbox = $this->xpath('//input[@type="checkbox" and @disabled="disabled" and @name="modules[Testing][system_dependencies_test][enable]"]');
$this->assert(count($checkbox) == 1, t('Checkbox for the module is disabled.'));
@@ -212,7 +212,7 @@ class ModuleDependencyTestCase extends ModuleTestCase {
// Verify that the module is forced to be disabled when submitting
// the module page.
- $this->drupalPost('admin/config/modules', array(), t('Save configuration'));
+ $this->drupalPost('admin/modules', array(), t('Save configuration'));
$this->assertText(t('The @module module is missing, so the following module will be disabled: @depends.', array('@module' => '_missing_dependency', '@depends' => 'system_dependencies_test')), t('The module missing dependencies will be disabled.'));
// Confirm.
@@ -277,7 +277,7 @@ class ModuleVersionTestCase extends ModuleTestCase {
variable_set('dependencies', $dependencies);
$n = count($dependencies);
for ($i = 0; $i < $n; $i++) {
- $this->drupalGet('admin/config/modules');
+ $this->drupalGet('admin/modules');
$checkbox = $this->xpath('//input[@id="edit-modules-testing-module-test-enable"]');
$this->assertEqual(!empty($checkbox[0]['disabled']), $i % 2, $dependencies[$i]);
}
@@ -301,7 +301,7 @@ class ModuleRequiredTestCase extends ModuleTestCase {
*/
function testDisableRequired() {
$required_modules = drupal_required_modules();
- $this->drupalGet('admin/config/modules');
+ $this->drupalGet('admin/modules');
foreach ($required_modules as $module) {
// Check to make sure the checkbox for required module is not found.
$this->assertNoFieldByName('modules[Core][' . $module . '][enable]');
@@ -1082,11 +1082,11 @@ class SystemMainContentFallback extends DrupalWebTestCase {
$edit = array();
// Disable the dashboard module, which depends on the block module.
$edit['modules[Core][dashboard][enable]'] = FALSE;
- $this->drupalPost('admin/config/modules', $edit, t('Save configuration'));
+ $this->drupalPost('admin/modules', $edit, t('Save configuration'));
$this->assertText(t('The configuration options have been saved.'), t('Modules status has been updated.'));
// Disable the block module.
$edit['modules[Core][block][enable]'] = FALSE;
- $this->drupalPost('admin/config/modules', $edit, t('Save configuration'));
+ $this->drupalPost('admin/modules', $edit, t('Save configuration'));
$this->assertText(t('The configuration options have been saved.'), t('Modules status has been updated.'));
module_list(TRUE);
$this->assertFalse(module_exists('block'), t('Block module disabled.'));
@@ -1120,7 +1120,7 @@ class SystemMainContentFallback extends DrupalWebTestCase {
$this->drupalLogin($this->admin_user);
$edit = array();
$edit['modules[Core][block][enable]'] = 'block';
- $this->drupalPost('admin/config/modules', $edit, t('Save configuration'));
+ $this->drupalPost('admin/modules', $edit, t('Save configuration'));
$this->assertText(t('The configuration options have been saved.'), t('Modules status has been updated.'));
module_list(TRUE);
$this->assertTrue(module_exists('block'), t('Block module re-enabled.'));
diff --git a/modules/system/system.updater.inc b/modules/system/system.updater.inc
index 8c23d915d..eb169b38f 100644
--- a/modules/system/system.updater.inc
+++ b/modules/system/system.updater.inc
@@ -67,7 +67,7 @@ class ModuleUpdater extends Updater implements DrupalUpdaterInterface {
public function postInstallTasks() {
return array(
- l(t('Enable newly added modules in !project', array('!project' => $this->title)), 'admin/config/modules'),
+ l(t('Enable newly added modules in !project', array('!project' => $this->title)), 'admin/modules'),
);
}
diff --git a/modules/update/update.compare.inc b/modules/update/update.compare.inc
index 18c6c7dc6..9a7c732f1 100644
--- a/modules/update/update.compare.inc
+++ b/modules/update/update.compare.inc
@@ -741,7 +741,7 @@ function update_project_cache($cid) {
// On certain paths, we should clear the cache and recompute the projects or
// update status of the site to avoid presenting stale information.
$q = $_GET['q'];
- $paths = array('admin/config/modules', 'admin/appearance', 'admin/reports', 'admin/reports/updates', 'admin/reports/status', 'admin/reports/updates/check');
+ $paths = array('admin/modules', 'admin/appearance', 'admin/reports', 'admin/reports/updates', 'admin/reports/status', 'admin/reports/updates/check');
if (in_array($q, $paths)) {
_update_cache_clear($cid);
}
diff --git a/modules/update/update.module b/modules/update/update.module
index 9611a45c4..347f66e59 100644
--- a/modules/update/update.module
+++ b/modules/update/update.module
@@ -80,7 +80,7 @@ function update_help($path, $arg) {
return '<p>' . t('Here you can find information about available updates for your installed modules and themes. Note that each module or theme is part of a "project", which may or may not have the same name, and might include multiple modules or themes within it.') . '</p>';
case 'admin/appearance':
- case 'admin/config/modules':
+ case 'admin/modules':
module_load_install('update');
$status = update_requirements('runtime');
foreach (array('core', 'contrib') as $report_type) {
@@ -97,8 +97,8 @@ function update_help($path, $arg) {
case 'admin/appearance/update':
case 'admin/appearance/install':
- case 'admin/config/modules/update':
- case 'admin/config/modules/install':
+ case 'admin/modules/update':
+ case 'admin/modules/install':
case 'admin/reports/updates/update':
case 'admin/reports/updates/install':
case 'admin/reports/updates/settings':
@@ -110,7 +110,7 @@ function update_help($path, $arg) {
case 'admin/help#update':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
- $output .= '<p>' . t("The Update manager module periodically checks for new versions of your site's software (including contributed modules and themes), and alerts administrators to available updates. In order to provide update information, anonymous usage statistics are sent to Drupal.org. If desired, you may disable the Update manager module from the <a href='@modules'>Module administration page</a>. For more information, see the online handbook entry for <a href='@update'>Update manager module</a>.", array('@update' => 'http://drupal.org/handbook/modules/update', '@modules' => url('admin/config/modules'))) . '</p>';
+ $output .= '<p>' . t("The Update manager module periodically checks for new versions of your site's software (including contributed modules and themes), and alerts administrators to available updates. In order to provide update information, anonymous usage statistics are sent to Drupal.org. If desired, you may disable the Update manager module from the <a href='@modules'>Module administration page</a>. For more information, see the online handbook entry for <a href='@update'>Update manager module</a>.", array('@update' => 'http://drupal.org/handbook/modules/update', '@modules' => url('admin/modules'))) . '</p>';
// Only explain the Update manager if it has not been disabled.
if (update_manager_access()) {
$output .= '<p>' . t('The Update manager also allows administrators to update and install modules and themes through the administration interface.') . '</p>';
@@ -122,9 +122,9 @@ function update_help($path, $arg) {
// Only explain the Update manager if it has not been disabled.
if (update_manager_access()) {
$output .= '<dt>' . t('Performing updates through the user interface') . '</dt>';
- $output .= '<dd>' . t('The Update manager module allows administrators to perform updates directly through the administration interface. At the top of the <a href="@modules_page">modules</a> and <a href="@themes_page">themes</a> pages you will see a link to update to new releases. This will direct you to the <a href="@update-page">update page</a> where you see a listing of all the missing updates and confirm which ones you want to upgrade. From there, you are prompted for your FTP/SSH password, which then transfers the files into your Drupal installation, overwriting your old files. More detailed instructions can be found in the <a href="@update">online handbook</a>.', array('@modules_page' => url('admin/config/modules'), '@themes_page' => url('admin/appearance'), '@update-page' => url('admin/reports/updates/update'), '@update' => 'http://drupal.org/handbook/modules/update')) . '</dd>';
+ $output .= '<dd>' . t('The Update manager module allows administrators to perform updates directly through the administration interface. At the top of the <a href="@modules_page">modules</a> and <a href="@themes_page">themes</a> pages you will see a link to update to new releases. This will direct you to the <a href="@update-page">update page</a> where you see a listing of all the missing updates and confirm which ones you want to upgrade. From there, you are prompted for your FTP/SSH password, which then transfers the files into your Drupal installation, overwriting your old files. More detailed instructions can be found in the <a href="@update">online handbook</a>.', array('@modules_page' => url('admin/modules'), '@themes_page' => url('admin/appearance'), '@update-page' => url('admin/reports/updates/update'), '@update' => 'http://drupal.org/handbook/modules/update')) . '</dd>';
$output .= '<dt>' . t('Installing new modules and themes through the user interface') . '</dt>';
- $output .= '<dd>' . t('You can also install new modules and themes in the same fashion, through the <a href="@install">install page</a>, or by clicking the <em>Install new module/theme</em> link at the top of the <a href="@modules_page">modules</a> and <a href="@themes_page">themes</a> pages. In this case, you are prompted to provide either the URL to the download, or to upload a packaged release file from your local computer.', array('@modules_page' => url('admin/config/modules'), '@themes_page' => url('admin/appearance'), '@install' => url('admin/reports/updates/install'))) . '</dd>';
+ $output .= '<dd>' . t('You can also install new modules and themes in the same fashion, through the <a href="@install">install page</a>, or by clicking the <em>Install new module/theme</em> link at the top of the <a href="@modules_page">modules</a> and <a href="@themes_page">themes</a> pages. In this case, you are prompted to provide either the URL to the download, or to upload a packaged release file from your local computer.', array('@modules_page' => url('admin/modules'), '@themes_page' => url('admin/appearance'), '@install' => url('admin/reports/updates/install'))) . '</dd>';
}
$output .= '</dl>';
return $output;
@@ -192,7 +192,7 @@ function update_menu() {
// customize the appearance as needed.
$paths = array(
'report' => 'admin/reports/updates',
- 'module' => 'admin/config/modules',
+ 'module' => 'admin/modules',
'theme' => 'admin/appearance',
);
foreach ($paths as $context => $path) {
@@ -218,8 +218,8 @@ function update_menu() {
// Customize the titles of the action links depending on where they appear.
$items['admin/reports/updates/install']['title'] = 'Install new module or theme';
$items['admin/reports/updates/update']['title'] = 'Update existing modules and themes';
- $items['admin/config/modules/install']['title'] = 'Install new module';
- $items['admin/config/modules/update']['title'] = 'Update existing modules';
+ $items['admin/modules/install']['title'] = 'Install new module';
+ $items['admin/modules/update']['title'] = 'Update existing modules';
$items['admin/appearance/install']['title'] = 'Install new theme';
$items['admin/appearance/update']['title'] = 'Update existing themes';
diff --git a/modules/update/update.test b/modules/update/update.test
index 4eda46e76..83f76d93f 100644
--- a/modules/update/update.test
+++ b/modules/update/update.test
@@ -133,7 +133,7 @@ class UpdateCoreTestCase extends UpdateTestHelper {
}
/**
- * Check the messages at admin/config/modules when the site is up to date.
+ * Check the messages at admin/modules when the site is up to date.
*/
function testModulePageUpToDate() {
$this->setSystemInfo7_0();
@@ -141,7 +141,7 @@ class UpdateCoreTestCase extends UpdateTestHelper {
variable_set('update_fetch_url', url('update-test', array('absolute' => TRUE)));
variable_set('update_test_xml_map', array('drupal' => '0'));
- $this->drupalGet('admin/config/modules');
+ $this->drupalGet('admin/modules');
$this->assertText(t('No update information available.'));
$this->clickLink(t('check manually'));
$this->assertText(t('Checked available update data for one project.'));
@@ -150,7 +150,7 @@ class UpdateCoreTestCase extends UpdateTestHelper {
}
/**
- * Check the messages at admin/config/modules when missing an update.
+ * Check the messages at admin/modules when missing an update.
*/
function testModulePageRegularUpdate() {
$this->setSystemInfo7_0();
@@ -158,7 +158,7 @@ class UpdateCoreTestCase extends UpdateTestHelper {
variable_set('update_fetch_url', url('update-test', array('absolute' => TRUE)));
variable_set('update_test_xml_map', array('drupal' => '1'));
- $this->drupalGet('admin/config/modules');
+ $this->drupalGet('admin/modules');
$this->assertText(t('No update information available.'));
$this->clickLink(t('check manually'));
$this->assertText(t('Checked available update data for one project.'));
@@ -167,7 +167,7 @@ class UpdateCoreTestCase extends UpdateTestHelper {
}
/**
- * Check the messages at admin/config/modules when missing a security update.
+ * Check the messages at admin/modules when missing a security update.
*/
function testModulePageSecurityUpdate() {
$this->setSystemInfo7_0();
@@ -175,7 +175,7 @@ class UpdateCoreTestCase extends UpdateTestHelper {
variable_set('update_fetch_url', url('update-test', array('absolute' => TRUE)));
variable_set('update_test_xml_map', array('drupal' => '2-sec'));
- $this->drupalGet('admin/config/modules');
+ $this->drupalGet('admin/modules');
$this->assertText(t('No update information available.'));
$this->clickLink(t('check manually'));
$this->assertText(t('Checked available update data for one project.'));
diff --git a/modules/user/user.test b/modules/user/user.test
index 975324b45..494d3e1fb 100644
--- a/modules/user/user.test
+++ b/modules/user/user.test
@@ -946,7 +946,7 @@ class UserPermissionsTestCase extends DrupalWebTestCase {
// permission is assigned by default.
$edit = array();
$edit['modules[Core][aggregator][enable]'] = TRUE;
- $this->drupalPost('admin/config/modules', $edit, t('Save configuration'));
+ $this->drupalPost('admin/modules', $edit, t('Save configuration'));
$this->assertTrue(user_access('administer news feeds', $this->admin_user), t('The permission was automatically assigned to the administrator role'));
}