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");
|
2005-02-21 18:02:56 +00:00
|
|
|
include_once("../inc/translation.inc");
|
2002-12-19 05:11:25 +00:00
|
|
|
|
2005-02-14 18:33:08 +00:00
|
|
|
db_init();
|
|
|
|
|
2005-03-28 22:26:22 +00:00
|
|
|
$email_addr = get_str("email_addr", true);
|
|
|
|
|
2004-12-06 22:41:19 +00:00
|
|
|
if ($email_addr) {
|
2005-02-13 19:04:20 +00:00
|
|
|
// here when this page is reached via create_account_action.php
|
|
|
|
//
|
2005-02-21 18:02:56 +00:00
|
|
|
page_head(tr(AC_READY_TITLE));
|
2003-02-07 09:00:35 +00:00
|
|
|
echo "
|
2005-02-21 18:02:56 +00:00
|
|
|
<h3>".tr(AC_READY_WELCOME)."</h3>
|
2004-12-06 22:41:19 +00:00
|
|
|
<p>
|
2003-02-27 22:30:31 +00:00
|
|
|
";
|
2005-02-13 19:04:20 +00:00
|
|
|
$email_addr = process_user_text($email_addr);
|
2004-12-06 22:41:19 +00:00
|
|
|
email_sent_message($email_addr);
|
|
|
|
} else {
|
2005-02-13 19:04:20 +00:00
|
|
|
// here when user followed link in account-confirm email
|
|
|
|
//
|
2005-02-21 18:02:56 +00:00
|
|
|
page_head(tr(AC_CREATED_TITLE));
|
2004-12-06 22:41:19 +00:00
|
|
|
}
|
|
|
|
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>
|
2005-02-21 18:02:56 +00:00
|
|
|
".tr(AC_READY_PASTE)."
|
2004-12-06 22:41:19 +00:00
|
|
|
</td>
|
|
|
|
<td><input name=authenticator size=40></td>
|
|
|
|
</tr><tr>
|
2005-02-21 18:02:56 +00:00
|
|
|
<td align=right>".tr(AC_READY_CLICK)."</td>
|
2004-12-06 22:41:19 +00:00
|
|
|
<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
|
|
|
|
|
|
|
?>
|