summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-06-29 18:19:25 +0000
committerDries Buytaert <dries@buytaert.net>2007-06-29 18:19:25 +0000
commit15bf4681c2111344d688e1323c293a9070cfed0a (patch)
treea5e2949ce8c006c2854a10d2955ebbeb8377d976 /modules
parent48e13d41f7a93f03f20ddd07327f52f85a72f1ba (diff)
downloadbrdo-15bf4681c2111344d688e1323c293a9070cfed0a.tar.gz
brdo-15bf4681c2111344d688e1323c293a9070cfed0a.tar.bz2
- Patch #130108 by webchick: link to newly created account in admin panel.
Diffstat (limited to 'modules')
-rw-r--r--modules/user/user.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 2140adc28..905e7e7ea 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -1421,7 +1421,7 @@ function user_register_submit($form, &$form_state) {
}
else {
if ($admin && !$notify) {
- drupal_set_message(t('Created a new user account. No e-mail has been sent.'));
+ drupal_set_message(t('Created a new user account for <a href="@url">%name</a>. No e-mail has been sent.', array('@url' => url("user/$account->uid"), '%name' => $account->name)));
}
else if (!variable_get('user_email_verification', TRUE) && $account->status && !$admin) {
// No e-mail verification is required, create new user account, and login user immediately.
@@ -1435,7 +1435,7 @@ function user_register_submit($form, &$form_state) {
$op = $notify ? 'register_admin_created' : 'register_no_approval_required';
_user_mail_notify($op, $account, $pass);
if ($notify) {
- drupal_set_message(t('Password and further instructions have been e-mailed to the new user %user.', array('%user' => $name)));
+ drupal_set_message(t('Password and further instructions have been e-mailed to the new user <a href="@url">%name</a>.', array('@url' => url("user/$account->uid"), '%name' => $account->name)));
}
else {
drupal_set_message(t('Your password and further instructions have been sent to your e-mail address.'));