2005-08-11 00:17:00 +00:00
|
|
|
<?php
|
2005-12-06 23:00:44 +00:00
|
|
|
|
|
|
|
// Users are taken here after creating an account via the Wizard.
|
|
|
|
// They've already entered an email address and password.
|
|
|
|
// Now get a name, country, and zip code
|
|
|
|
|
2007-10-30 18:16:29 +00:00
|
|
|
require_once('../inc/boinc_db.inc');
|
2005-08-11 00:17:00 +00:00
|
|
|
require_once('../inc/util.inc');
|
|
|
|
require_once('../inc/countries.inc');
|
|
|
|
require_once('../inc/translation.inc');
|
|
|
|
|
|
|
|
$auth = process_user_text(get_str("auth"));
|
|
|
|
$user = lookup_user_auth($auth);
|
|
|
|
if (!$user) {
|
|
|
|
error_page("no such account");
|
|
|
|
}
|
|
|
|
page_head("Finish account setup");
|
|
|
|
|
|
|
|
echo "
|
|
|
|
<form action=account_finish_action.php method=post>
|
|
|
|
";
|
|
|
|
start_table();
|
|
|
|
row2(
|
2007-11-02 14:43:02 +00:00
|
|
|
tra("Name")."<br><span class=\"description\">".tra("Identifies you on our web site. Use your real name or a nickname.")."</span>",
|
|
|
|
"<input name=\"name\" size=\"30\" value=\"$user->name\">"
|
2005-08-11 00:17:00 +00:00
|
|
|
);
|
|
|
|
row2_init(
|
2007-11-02 14:43:02 +00:00
|
|
|
tra("Country")."<br><span class=\"description\">".tra("Select the country you want to represent, if any.")."</span>",
|
|
|
|
"<select name=\"country\">"
|
2005-08-11 00:17:00 +00:00
|
|
|
);
|
|
|
|
print_country_select();
|
|
|
|
echo "</select></td></tr>\n";
|
|
|
|
row2(
|
2007-11-02 14:43:02 +00:00
|
|
|
tra("Postal or ZIP Code")."<br><span class=\"description\">".tra("Optional")."</span>",
|
|
|
|
"<input name=\"postal_code\" size=\"20\">"
|
2005-08-11 00:17:00 +00:00
|
|
|
);
|
|
|
|
row2("",
|
2007-11-02 14:43:02 +00:00
|
|
|
"<input type=\"submit\" value=\"OK\">"
|
2005-08-11 00:17:00 +00:00
|
|
|
);
|
|
|
|
end_table();
|
|
|
|
echo "
|
|
|
|
<input type=hidden name=auth value=$auth>
|
|
|
|
</form>
|
|
|
|
";
|
|
|
|
|
|
|
|
page_tail();
|