setNewEmailAndHash($u->getEmail(), $confirm_hash); if ($u->isError()) { exit_error('Error',$u->getErrorMessage()); } else { $message = stripcslashes($Language->getText('account_lostpw', 'message', array($GLOBALS['HTTP_HOST'], $confirm_hash, $GLOBALS[sys_name]))); util_send_message($u->getEmail(),$Language->getText('account_lostpw', 'subject', $GLOBALS[sys_name]),$message); $HTML->header(array('title'=>"Lost Password Confirmation",'pagename'=>'account_lostpw')); echo $Language->getText('account_lostpw','notify'); $HTML->footer(array()); exit(); } } $HTML->header(array('title'=>"Lost Account Password",'pagename'=>'account_lostpw')); echo $Language->getText('account_lostpw','warn'); ?>
getText('general', 'return', $GLOBALS[sys_name]); ?> footer(array()); ?>