Added user ".$_GET["login"].
- " with password $tmp_user_pwd.
";
+ print format_notice(sprintf(__("Added user %s
+ with password %s"), $login, $tmp_user_pwd));
initialize_user($link, $new_uid);
} else {
- print "
Could not create user ".
- $_GET["login"]."
";
+ print format_warning(sprintf(__("Could not create user %s"),
+ $login));
}
} else {
- print "
User ".
- $_GET["login"]." already exists.
";
+ print format_warning(sprintf(__("User %s already exists."),
+ $login));
+
}
}
} else if ($subop == "resetPass") {
@@ -153,8 +154,8 @@
db_query($link, "UPDATE ttrss_users SET pwd_hash = '$pwd_hash'
WHERE id = '$uid'");
- print "
Changed password of
- user $login to $tmp_user_pwd.";
+ print format_notice(sprintf(__("Changed password of user %s
+ to %s"), $login, $tmp_user_pwd));
if (MAIL_RESET_PASS && $email) {
print " Notifying $email.";
@@ -190,7 +191,7 @@
print "