EOT;
endtable();
list($timestamp, $form_token) = getFormToken();
echo "
";
if ($CONFIG['allow_user_account_delete'] != 0) { // user is allowed to delete his account --- start
print <<< EOT
";
} // user is allowed to delete his account --- end
pagefooter();
break;
case 'change_pass' :
if (!USER_ID) {
cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
}
// Just a sanity check (should get caught when user clicks 'My Profile')
if (UDB_INTEGRATION != 'coppermine') {
$cpg_udb->edit_profile(USER_ID);
}
$title = $lang_register_php['change_pass'];
pageheader($title);
echo <<
EOT;
starttable(-1, cpg_fetch_icon('my_profile', 2) . $title, 2);
make_form($change_password_form_param, '');
echo <<