protected function CreateNewUser()
	{
		if (!$this->_login->getCanRegister())
		{
			$this->FormLogin();
			return;
		}
		$myWords = $this->WordCollection();
		$this->defaultXmlnukeDocument->setPageTitle($myWords->Value("CREATEUSERTITLE"));

		$this->_login->setAction(ModuleActionLogin::NEWUSER);
		$this->_login->setNextAction(ModuleActionLogin::NEWUSERCONFIRM);
		$this->_login->setPassword("");
		$this->_login->setCanRegister(false); // Hide buttons
		$this->_login->setCanRetrievePassword(false); // Hide buttons

		return;
	}
protected function CreateNewUser()
	{
		if (!$this->_login->getCanRegister())
		{
			$this->FormLogin();
			return;
		}
		$myWords = $this->WordCollection();
		$this->defaultXmlnukeDocument->setPageTitle($myWords->Value("CREATEUSERTITLE"));

		$this->_login->setAction(ModuleActionLogin::NEWUSER);
		$this->_login->setNextAction(ModuleActionLogin::NEWUSERCONFIRM);
		$this->_login->setPassword("");
		$this->_login->setCanRegister(false); // Hide buttons
		$this->_login->setCanRetrievePassword(false); // Hide buttons

		return;
	}
protected function CreateNewUser ( ) { if ( ! $ this -> _login -> getCanRegister ( ) ) { $ this -> FormLogin ( ) ; return ; } $ myWords = $ this -> WordCollection ( ) ; $ this -> defaultXmlnukeDocument -> setPageTitle ( $ myWords -> Value ( "CREATEUSERTITLE" ) ) ; $ this -> _login -> setAction ( ModuleActionLogin :: NEWUSER ) ; $ this -> _login -> setNextAction ( ModuleActionLogin :: NEWUSERCONFIRM ) ; $ this -> _login -> setPassword ( "" ) ; $ this -> _login -> setCanRegister ( false ) ; // Hide buttons $ this -> _login -> setCanRetrievePassword ( false ) ; // Hide buttons return ; }
Create New User
Create New User