2003-02-07 09:00:35 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
include_once("db.inc");
|
|
|
|
include_once("util.inc");
|
|
|
|
include_once("prefs.inc");
|
|
|
|
|
|
|
|
$authenticator = init_session();
|
|
|
|
db_init();
|
|
|
|
|
|
|
|
$user = get_user_from_auth($authenticator);
|
|
|
|
if ($user == NULL) {
|
|
|
|
print_login_form();
|
|
|
|
exit();
|
|
|
|
}
|
|
|
|
|
2003-02-08 02:06:35 +00:00
|
|
|
page_head("Account setup", $user);
|
2003-02-07 09:00:35 +00:00
|
|
|
echo "
|
2003-02-08 02:06:35 +00:00
|
|
|
<h3>Account setup</h3>
|
|
|
|
Thank you for letting ".PROJECT." use part of your computer power.
|
2003-02-07 09:00:35 +00:00
|
|
|
<br>
|
2003-02-08 02:06:35 +00:00
|
|
|
You can control when and how your computer is used.
|
2003-02-07 09:00:35 +00:00
|
|
|
<br>
|
2003-02-18 23:07:48 +00:00
|
|
|
To use the defaults settings,
|
|
|
|
scroll to the bottom and click OK.
|
2003-02-07 09:00:35 +00:00
|
|
|
";
|
2003-03-04 21:33:10 +00:00
|
|
|
$global_prefs = default_prefs_global();
|
|
|
|
global_prefs_update($user, $global_prefs);
|
|
|
|
$project_prefs = default_prefs_project();
|
|
|
|
project_prefs_update($user, $project_prefs);
|
2003-02-07 09:00:35 +00:00
|
|
|
|
2003-02-18 23:07:48 +00:00
|
|
|
echo "<form action=account_setup_first_action.php>
|
|
|
|
<table cellpadding=6>
|
|
|
|
";
|
2003-03-04 21:33:10 +00:00
|
|
|
prefs_form_global($user, $global_prefs);
|
|
|
|
prefs_form_email($project_prefs);
|
2003-02-18 23:07:48 +00:00
|
|
|
venue_form($user);
|
|
|
|
|
|
|
|
echo "<tr><td><br></td><td><input type=submit value=\"OK\"></td></tr>
|
|
|
|
</table>
|
|
|
|
</form>\n
|
|
|
|
";
|
|
|
|
|
2003-02-07 09:00:35 +00:00
|
|
|
page_tail();
|
|
|
|
|
|
|
|
?>
|