.
require_once("../inc/util.inc");
require_once("../inc/countries.inc");
check_get_args(array("tnow", "ttok"));
$user = get_logged_in_user();
check_tokens($user->authenticator);
page_head(tra("Edit account information"));
form_start('edit_user_info_action.php', 'post');
echo form_tokens($user->authenticator);
form_input_text(
tra("Screen name %1 real name or nickname%2", "
", "
"), 'user_name', $user->name ); if (USER_URL) { form_input_text( tra("URL %1 of your personal web page; optional%2", "", "
"), 'url', $user->url ); } if (USER_COUNTRY) { form_select( tra("Country"), 'country', country_select_options($user->country) ); } if (POSTAL_CODE) { form_input_text( tra("Postal (ZIP) code %1 Optional%2", "", "
"), 'postal_code', $user->postal_code ); } form_submit('Update info'); form_end(); page_tail(); ?>