From 15bf4681c2111344d688e1323c293a9070cfed0a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 29 Jun 2007 18:19:25 +0000 Subject: - Patch #130108 by webchick: link to newly created account in admin panel. --- modules/user/user.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/user') 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 %name. 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 %name.', 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.')); -- cgit v1.2.3