summaryrefslogtreecommitdiff
path: root/modules/profile/profile.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-07-31 19:01:03 +0000
committerDries Buytaert <dries@buytaert.net>2009-07-31 19:01:03 +0000
commitd4228535043619ada5192001acde645238660b37 (patch)
tree1c4b55878b06e58bd88239e1ceaa598c429beb63 /modules/profile/profile.module
parent9f44fd1b86fdcc412a0ce7b2d3d2048e8564a979 (diff)
downloadbrdo-d4228535043619ada5192001acde645238660b37.tar.gz
brdo-d4228535043619ada5192001acde645238660b37.tar.bz2
- Patch #536570 by Gábor Hojtsy: implemented new IA for top-level users.
Diffstat (limited to 'modules/profile/profile.module')
-rw-r--r--modules/profile/profile.module14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index bc3ecd6b6..4d85e4c76 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -43,7 +43,7 @@ function profile_help($path, $arg) {
$output .= '<li>' . t('date') . '</li></ul>';
$output .= '<p>' . t('For more information, see the online handbook entry for <a href="@profile">Profile module</a>.', array('@profile' => 'http://drupal.org/handbook/modules/profile/')) . '</p>';
return $output;
- case 'admin/user/profile':
+ case 'admin/settings/profile':
return '<p>' . t("This page displays a list of the existing custom profile fields to be displayed on a user's <em>My Account</em> page. To provide structure, similar or related fields may be placed inside a category. To add a new category (or edit an existing one), edit a profile field and provide a new category name. To change the category of a field or the order of fields within a category, grab a drag-and-drop handle under the Title column and drag the field to a new location in the list. (Grab a handle by clicking and holding the mouse while hovering over a handle icon.) Remember that your changes will not be saved until you click the <em>Save configuration</em> button at the bottom of the page.") . '</p>';
}
}
@@ -82,34 +82,34 @@ function profile_menu() {
'access arguments' => array('access user profiles'),
'type' => MENU_SUGGESTED_ITEM,
);
- $items['admin/user/profile'] = array(
+ $items['admin/settings/profile'] = array(
'title' => 'Profiles',
'description' => 'Create customizable fields for your users.',
'page callback' => 'drupal_get_form',
'page arguments' => array('profile_admin_overview'),
'access arguments' => array('administer users'),
);
- $items['admin/user/profile/add'] = array(
+ $items['admin/settings/profile/add'] = array(
'title' => 'Add field',
'page callback' => 'drupal_get_form',
'page arguments' => array('profile_field_form'),
'access arguments' => array('administer users'),
'type' => MENU_CALLBACK,
);
- $items['admin/user/profile/autocomplete'] = array(
+ $items['admin/settings/profile/autocomplete'] = array(
'title' => 'Profile category autocomplete',
'page callback' => 'profile_admin_settings_autocomplete',
'access arguments' => array('administer users'),
'type' => MENU_CALLBACK,
);
- $items['admin/user/profile/edit'] = array(
+ $items['admin/settings/profile/edit'] = array(
'title' => 'Edit field',
'page callback' => 'drupal_get_form',
'page arguments' => array('profile_field_form'),
'access arguments' => array('administer users'),
'type' => MENU_CALLBACK,
);
- $items['admin/user/profile/delete'] = array(
+ $items['admin/settings/profile/delete'] = array(
'title' => 'Delete field',
'page callback' => 'drupal_get_form',
'page arguments' => array('profile_field_delete'),
@@ -150,7 +150,7 @@ function profile_block_configure($delta = '') {
'#title' => t('Profile fields to display'),
'#default_value' => variable_get('profile_block_author_fields', array()),
'#options' => $fields,
- '#description' => t('Select which profile fields you wish to display in the block. Only fields designated as public in the <a href="@profile-admin">profile field configuration</a> are available.', array('@profile-admin' => url('admin/user/profile'))),
+ '#description' => t('Select which profile fields you wish to display in the block. Only fields designated as public in the <a href="@profile-admin">profile field configuration</a> are available.', array('@profile-admin' => url('admin/settings/profile'))),
);
return $form;
}