From 83353ad7f900d96538b7ade3b5d9de256e65b39d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 3 Feb 2010 17:32:25 +0000 Subject: [PATCH] svn path=/trunk/boinc/; revision=20404 --- html/user/opt_out.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/html/user/opt_out.php b/html/user/opt_out.php index bd9063644d..8bfb33be3a 100644 --- a/html/user/opt_out.php +++ b/html/user/opt_out.php @@ -26,21 +26,22 @@ $code = get_str("code"); $userid = get_int('userid'); $user = lookup_user_id($userid); if (!$user) { - error_page("no user"); + error_page("no such user"); } if (salted_key($user->authenticator) != $code) { - error_page("bad code"); + error_page("invalid code"); } $result = $user->update("send_email=0"); if ($result) { - page_head("$email removed from mailing list"); + page_head("Removed from mailing list"); echo " No further emails will be sent to $user->email_addr. +

To resume getting emails, - go here + edit your project preferences. "; page_tail(); }