2003-02-07 09:00:35 +00:00
|
|
|
<?php
|
|
|
|
|
2004-02-02 23:34:39 +00:00
|
|
|
include_once("../inc/db.inc");
|
|
|
|
include_once("../inc/util.inc");
|
|
|
|
include_once("../inc/prefs.inc");
|
2005-02-21 18:02:56 +00:00
|
|
|
include_once("../inc/translation.inc");
|
2003-02-07 09:00:35 +00:00
|
|
|
|
|
|
|
$authenticator = init_session();
|
|
|
|
db_init();
|
|
|
|
|
|
|
|
$user = get_user_from_auth($authenticator);
|
|
|
|
if ($user == NULL) {
|
|
|
|
print_login_form();
|
|
|
|
exit();
|
|
|
|
}
|
|
|
|
|
2005-02-21 18:02:56 +00:00
|
|
|
page_head(tr(AC_FIRST_TITLE));
|
2003-02-07 09:00:35 +00:00
|
|
|
echo "
|
2005-02-21 18:02:56 +00:00
|
|
|
<br>".tr(AC_FIRST_CONTROL)."<br>".tr(AC_FIRST_DEFAULT)."<p>
|
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);
|
2004-10-15 23:46:24 +00:00
|
|
|
|
|
|
|
if (strlen($user->project_prefs) == 0) {
|
|
|
|
$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);
|
2004-12-06 22:41:19 +00:00
|
|
|
|
|
|
|
prefs_form_privacy($user);
|
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();
|
|
|
|
|
|
|
|
?>
|