? .DS_Store
? d_19.patch
? d_25.patch
? files
? flarg.sql
? user-blah.patch
? user-link.patch
? modules/node_revisions
? modules/node/node-stuff.module
? modules/user/.new.user.modu
? sites/localhost
? themes/.DS_Store
Index: modules/user/user.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.module,v
retrieving revision 1.759
diff -u -p -r1.759 user.module
--- modules/user/user.module 17 Mar 2007 18:30:14 -0000 1.759
+++ modules/user/user.module 22 Mar 2007 16:59:49 -0000
@@ -1345,7 +1345,7 @@ function user_register_submit($form_id,
}
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. No e-mail has been sent.', array('@url' => url("user/$account->uid"))));
}
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.
@@ -1363,7 +1363,7 @@ function user_register_submit($form_id,
drupal_mail(($notify ? 'user-register-notify' : 'user-register-welcome'), $mail, $subject, $body, $from);
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 %user.', array('@url' => url("user/$account->uid"), '%user' => $name)));
}
else {
drupal_set_message(t('Your password and further instructions have been sent to your e-mail address.'));