2002-08-12 19:46:52 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once("edit.inc");
|
|
|
|
require_once("util.inc");
|
|
|
|
|
2002-09-05 22:19:23 +00:00
|
|
|
db_init();
|
2002-12-04 19:14:00 +00:00
|
|
|
$authenticator = init_session();
|
|
|
|
$user = get_user_from_auth($authenticator);
|
2002-08-12 19:46:52 +00:00
|
|
|
|
|
|
|
if ($user) {
|
2002-08-13 00:08:08 +00:00
|
|
|
$head = sprintf("Edit %s's User Information", $user->name);
|
2002-08-12 19:46:52 +00:00
|
|
|
page_head($head);
|
|
|
|
print_edit_user_info($user);
|
2002-11-12 17:01:16 +00:00
|
|
|
page_tail();
|
2002-08-12 19:46:52 +00:00
|
|
|
} else {
|
2002-11-12 17:01:16 +00:00
|
|
|
print_login_form();
|
2002-08-12 19:46:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|