/**
  * Show the Email form
  *
  * @access	public
  * @author	Matt Mecham
  * @param	string		Returned error message (if any)
  * @return	string		Processed HTML
  */
 public function showFormEmail($_message = '')
 {
     //-----------------------------------------
     // Do we have another URL for email resets?
     //-----------------------------------------
     require_once IPS_ROOT_PATH . 'sources/handlers/han_login.php';
     $han_login = new han_login($this->registry);
     $han_login->init();
     $han_login->checkMaintenanceRedirect();
     $txt = $this->lang->words['ce_current'] . $this->memberData['email'];
     if ($this->settings['reg_auth_type']) {
         $txt .= $this->lang->words['ce_auth'];
     }
     if ($this->settings['bot_antispam']) {
         $captchaHTML = $this->registry->getClass('class_captcha')->getTemplate();
     }
     $_message = $_message ? $this->lang->words[$_message] : '';
     if ($this->memberData['g_access_cp']) {
         $this->hide_form_and_save_button = true;
     }
     return $this->registry->getClass('output')->getTemplate('ucp')->emailChangeForm($txt, $_message, $captchaHTML, $this->_isFBUser);
 }
 /**
  * Displays the lost password form
  *
  * @access	public
  * @param	string	$errors
  * @return	void
  */
 public function lostPasswordForm($errors = "")
 {
     //-----------------------------------------
     // Do we have another URL for password resets?
     //-----------------------------------------
     require_once IPS_ROOT_PATH . 'sources/handlers/han_login.php';
     $han_login = new han_login($this->registry);
     $han_login->init();
     $han_login->checkMaintenanceRedirect();
     /* CAPTCHA */
     if ($this->settings['bot_antispam']) {
         $captchaHTML = $this->registry->getClass('class_captcha')->getTemplate();
     }
     $this->registry->output->setTitle($this->lang->words['lost_pass_form']);
     $this->registry->output->addNavigation($this->lang->words['lost_pass_form'], '');
     $this->output .= $this->registry->output->getTemplate('register')->lostPasswordForm($this->lang->words[$errors]);
     if ($this->settings['bot_antispam']) {
         $this->output = str_replace("<!--{REG.ANTISPAM}-->", $captchaHTML, $this->output);
     }
 }