Location: PHPKode > projects > ECrm > eCrm-1.03-beta1/rparser/lng/en/msgs/MessageWizard.inc
<?

class MessageWizard
{
	var $msg = "";
	
	function MessageWizard()
	{
		// Login and Logout messages //
		$this->msg[100]						= "";
		$this->msg[101]						= "Your username or password was incorrect.";
		$this->msg[102]						= "You have successfully ended your session.";
		$this->msg[103]						= "Your information has been saved.";
		$this->msg[104]						= "Similar record found:<br>\n";
		$this->msg[105]						= "Nothing found";
		$this->msg[106]						= "Sorry, but this intro name exists already.";
		$this->msg[107]						= "Empty";
		$this->msg[108]						= "Your session has expired.";
		$this->msg[200]						= "Please fill out all the required forms:<br><br>\n";
		$this->msg[201]						= "- gender<br>\n";
		$this->msg[202]						= "- lastname<br>\n";
		$this->msg[203]						= "- firstname<br>\n";
		$this->msg[204]						= "- email1<br>\n";
		$this->msg[205]						= "- language<br>\n";
		$this->msg[206]						= "- contact_group<br>\n";
		$this->msg[207]						= "This form is not saved in the database<br>\n";
		$this->msg[208]						= "No formname specified.<br>\n";
	}
	
	function GetError($param)
	{
		$this->CheckParseVar($param,"GetError");

		return($this->msg[$param]);
	}
	
	function GetMessage($param)
	{
		$this->CheckParseVar($param,"GetMessage");

		return($this->msg[$param]);
	}

  function GetName($param)
  {
    $this->CheckParseVar($param,"GetMessage");

    return($this->msg[$param]);
  }

  function CheckParseVar($var=false,$function)
  {
    if(!$var){print("MessageWizard: Undefined variable in function $function\n<br>"); exit;}
  }
}

?>
Return current item: ECrm