2002-12-19 05:11:25 +00:00
|
|
|
<?php
|
2004-12-06 22:41:19 +00:00
|
|
|
include_once("../inc/db.inc");
|
|
|
|
include_once("../inc/util.inc");
|
|
|
|
include_once("../inc/email.inc");
|
2002-12-19 05:11:25 +00:00
|
|
|
|
2004-12-06 22:41:19 +00:00
|
|
|
$email_addr = $_GET["email_addr"];
|
|
|
|
page_head("Activate account");
|
|
|
|
|
|
|
|
// $email_addr is set when this page is reached via
|
|
|
|
// create_account_action.php
|
|
|
|
|
|
|
|
if ($email_addr) {
|
2003-02-07 09:00:35 +00:00
|
|
|
echo "
|
2004-12-06 22:41:19 +00:00
|
|
|
<h3>Congratulations - your ".PROJECT." account has been created</h3>
|
|
|
|
<p>
|
2003-02-27 22:30:31 +00:00
|
|
|
";
|
2004-12-06 22:41:19 +00:00
|
|
|
email_sent_message($email_addr);
|
|
|
|
} else {
|
|
|
|
echo "<h3>Activate your ".PROJECT." account</h3>\n";
|
|
|
|
}
|
|
|
|
echo "
|
|
|
|
<form method=post action=login_action.php>
|
|
|
|
<input type=hidden name=next_url value=account_setup.php>
|
|
|
|
<table cellpadding=8>
|
|
|
|
<tr><td align=right>
|
|
|
|
To activate your account, paste the account key here:
|
|
|
|
</td>
|
|
|
|
<td><input name=authenticator size=40></td>
|
|
|
|
</tr><tr>
|
|
|
|
<td align=right>and click</td>
|
|
|
|
<td><input type=submit value='OK'></td>
|
|
|
|
</tr></table>
|
|
|
|
</form>
|
|
|
|
";
|
2002-12-19 05:11:25 +00:00
|
|
|
|
2004-12-06 22:41:19 +00:00
|
|
|
page_tail();
|
2002-12-19 05:11:25 +00:00
|
|
|
|
|
|
|
?>
|