diff --git a/checkin_notes b/checkin_notes index a69b1de1f6..dab5318d63 100755 --- a/checkin_notes +++ b/checkin_notes @@ -24663,3 +24663,28 @@ David 12 Feb 2005 util.inc user/ various (didn't finish) + +David 13 Feb 2005 + - Get rid of the concept of explicitly "activating" an account. + Instead: whenever the server receives an account key + (whether via the web or in a scheduler RPC request) + for an account that has an unverified email address + (i.e. the email_addr field is in 'munged' form) + it changes the email address to non-munged form. + + html/ + inc/ + email.inc + languages/ + language_interface + translations/ + en.po + user/ + account_created.php + account_setup.php + account_setup_first.php + account_setup_nonfirst_done.php + create_account_form.php + login_action.php + sched/ + handle_request.C diff --git a/html/inc/email.inc b/html/inc/email.inc index c21befaff4..7d93690b46 100644 --- a/html/inc/email.inc +++ b/html/inc/email.inc @@ -36,8 +36,7 @@ This email confirms your account with ".PROJECT.": "; if (!$is_validated) { $body .= " -To activate your account, copy and paste your Account Key -in the 'Activate account' page at ".URL_BASE."account_created.php +To configure your account, visit ".URL_BASE."account_created.php "; } } else { diff --git a/html/languages/language_interface b/html/languages/language_interface index bb2787921e..acea032bf2 100644 --- a/html/languages/language_interface +++ b/html/languages/language_interface @@ -26,4 +26,13 @@ RULES_OTHER_TEXT_B CREATE_AC_TITLE CREATE_AC_READ_RULES CREATE_AC_ALREADY_GOT +CREATE_AC_NAME +CREATE_AC_NAME_DESC +CREATE_AC_EMAIL +CREATE_AC_EMAIL_DESC +CREATE_AC_COUNTRY +CREATE_AC_COUNTRY_DESC +CREATE_AC_ZIP +CREATE_AC_CREATE AC_CREATED_TITLE +OPTIONAL diff --git a/html/languages/translations/en.po b/html/languages/translations/en.po index 35c091e25f..58fdf202ff 100644 --- a/html/languages/translations/en.po +++ b/html/languages/translations/en.po @@ -139,7 +139,7 @@ msgid "CREATE_AC_READ_RULES" msgstr "Read the %s before creating an account." msgid "CREATE_AC_ALREADY_GOT" -msgstr "If you already received an account ID, do not submit this form. " +msgstr "If you already received an account key, do not submit this form. " "%s instead." msgid "CREATE_AC_NAME" @@ -200,7 +200,7 @@ msgid "" msgstr "" msgid "AC_CREATED_TITLE" -msgstr "Activate your account" +msgstr "Configure your account" ######################################### diff --git a/html/user/account_created.php b/html/user/account_created.php index e172105c46..8396ae652f 100644 --- a/html/user/account_created.php +++ b/html/user/account_created.php @@ -3,27 +3,29 @@ include_once("../inc/db.inc"); include_once("../inc/util.inc"); include_once("../inc/email.inc"); -$email_addr = $_GET["email_addr"]; -page_head("Activate account"); - -// $email_addr is set when this page is reached via -// create_account_action.php +$email_addr = get_str("email_addr", true); if ($email_addr) { + // here when this page is reached via create_account_action.php + // + page_head("Account created"); echo "
"; + $email_addr = process_user_text($email_addr); email_sent_message($email_addr); } else { - echo "