diff options
Diffstat (limited to 'modules/path/path.module')
-rw-r--r-- | modules/path/path.module | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/path/path.module b/modules/path/path.module index bac63f1d2..191ce4f0b 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -22,9 +22,9 @@ function path_help($path, $arg) { $output .= '<p>' . t('This module also provides user-defined mass URL aliasing capabilities, which is useful if you wish to uniformly use URLs different from the default. For example, you may want to have your URLs presented in a different language. Access to the Drupal source code on the web server is required to set up mass URL aliasing.') . ' </p>'; $output .= '<p>' . t('For more information, see the online handbook entry for <a href="@path">Path module</a>.', array('@path' => 'http://drupal.org/handbook/modules/path/')) . '</p>'; return $output; - case 'admin/build/path': + case 'admin/settings/path': return '<p>' . t("Drupal provides complete control over URLs through aliasing, which is often used to make URLs more readable or easy to remember. For example, the alias 'about' may be mapped onto the post at the system path 'node/1', creating a more meaningful URL. Each system path can have multiple aliases.") . '</p>'; - case 'admin/build/path/add': + case 'admin/settings/path/add': return '<p>' . t('Enter the path you wish to create the alias for, followed by the name of the new alias.') . '</p>'; } } @@ -33,31 +33,31 @@ function path_help($path, $arg) { * Implement hook_menu(). */ function path_menu() { - $items['admin/build/path'] = array( + $items['admin/settings/path'] = array( 'title' => 'URL aliases', 'description' => "Change your site's URL paths by aliasing them.", 'page callback' => 'path_admin_overview', 'access arguments' => array('administer url aliases'), ); - $items['admin/build/path/edit'] = array( + $items['admin/settings/path/edit'] = array( 'title' => 'Edit alias', 'page callback' => 'path_admin_edit', 'access arguments' => array('administer url aliases'), 'type' => MENU_CALLBACK, ); - $items['admin/build/path/delete'] = array( + $items['admin/settings/path/delete'] = array( 'title' => 'Delete alias', 'page callback' => 'drupal_get_form', 'page arguments' => array('path_admin_delete_confirm'), 'access arguments' => array('administer url aliases'), 'type' => MENU_CALLBACK, ); - $items['admin/build/path/list'] = array( + $items['admin/settings/path/list'] = array( 'title' => 'List', 'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10, ); - $items['admin/build/path/add'] = array( + $items['admin/settings/path/add'] = array( 'title' => 'Add alias', 'page callback' => 'path_admin_edit', 'access arguments' => array('administer url aliases'), |