public function showForm()
	{
		$blockcenter = new XmlBlockCollection($this->_myWords->Value("MSGFILL"), BlockPosition::Center );
		$this->_document->addXmlnukeObject($blockcenter);

		$paragraph = new XmlParagraphCollection();
		$blockcenter->addXmlnukeObject($paragraph);

		$form = new XmlFormCollection($this->_context, "module:sendpage", $this->_myWords->Value("CAPTION"));
		$paragraph->addXmlnukeObject($form);

		$caption = new XmlInputCaption($this->_myWords->ValueArgs("INFO", array(urldecode($this->_link))));
		$form->addXmlnukeObject($caption);

		$hidden = new XmlInputHidden("action", "submit");
		$form->addXmlnukeObject($hidden);

		$hidden = new XmlInputHidden("link", $this->_link);
		$form->addXmlnukeObject($hidden);

		$textbox = new XmlInputTextBox($this->_myWords->Value("FLDNAME"), "fromname", "", 40);
		$textbox->setRequired(true);
		$form->addXmlnukeObject($textbox);

		$textbox = new XmlInputTextBox($this->_myWords->Value("FLDEMAIL"), "frommail", "", 40);
		$textbox->setDataType(INPUTTYPE::EMAIL );
		$textbox->setRequired(true);
		$form->addXmlnukeObject($textbox);

		$textbox = new XmlInputTextBox($this->_myWords->Value("FLDTONAME"), "toname", "", 40);
		$textbox->setRequired(true);
		$form->addXmlnukeObject($textbox);

		$textbox = new XmlInputTextBox($this->_myWords->Value("FLDTOEMAIL"), "tomail", "", 40);
		$textbox->setDataType(INPUTTYPE::EMAIL );
		$textbox->setRequired(true);
		$form->addXmlnukeObject($textbox);

		$memo = new XmlInputMemo($this->_myWords->Value("LABEL_MESSAGE"), "custommessage","");
		$form->addXmlnukeObject($memo);

		$form->addXmlnukeObject(new XmlInputImageValidate($this->_myWords->Value("TYPETEXTFROMIMAGE")));

		$button = new XmlInputButtons();
		$button->addSubmit($this->_myWords->Value("TXT_SUBMIT"), "");
		$form->addXmlnukeObject($button);
	}
public function showForm()
	{
		$blockcenter = new XmlBlockCollection($this->_myWords->Value("MSGFILL"), BlockPosition::Center );
		$this->_document->addXmlnukeObject($blockcenter);

		$paragraph = new XmlParagraphCollection();
		$blockcenter->addXmlnukeObject($paragraph);

		$form = new XmlFormCollection($this->_context, "module:sendpage", $this->_myWords->Value("CAPTION"));
		$paragraph->addXmlnukeObject($form);

		$caption = new XmlInputCaption($this->_myWords->ValueArgs("INFO", array(urldecode($this->_link))));
		$form->addXmlnukeObject($caption);

		$hidden = new XmlInputHidden("action", "submit");
		$form->addXmlnukeObject($hidden);

		$hidden = new XmlInputHidden("link", $this->_link);
		$form->addXmlnukeObject($hidden);

		$textbox = new XmlInputTextBox($this->_myWords->Value("FLDNAME"), "fromname", "", 40);
		$textbox->setRequired(true);
		$form->addXmlnukeObject($textbox);

		$textbox = new XmlInputTextBox($this->_myWords->Value("FLDEMAIL"), "frommail", "", 40);
		$textbox->setDataType(INPUTTYPE::EMAIL );
		$textbox->setRequired(true);
		$form->addXmlnukeObject($textbox);

		$textbox = new XmlInputTextBox($this->_myWords->Value("FLDTONAME"), "toname", "", 40);
		$textbox->setRequired(true);
		$form->addXmlnukeObject($textbox);

		$textbox = new XmlInputTextBox($this->_myWords->Value("FLDTOEMAIL"), "tomail", "", 40);
		$textbox->setDataType(INPUTTYPE::EMAIL );
		$textbox->setRequired(true);
		$form->addXmlnukeObject($textbox);

		$memo = new XmlInputMemo($this->_myWords->Value("LABEL_MESSAGE"), "custommessage","");
		$form->addXmlnukeObject($memo);

		$form->addXmlnukeObject(new XmlInputImageValidate($this->_myWords->Value("TYPETEXTFROMIMAGE")));

		$button = new XmlInputButtons();
		$button->addSubmit($this->_myWords->Value("TXT_SUBMIT"), "");
		$form->addXmlnukeObject($button);
	}
public function showForm ( ) { $ blockcenter = new XmlBlockCollection ( $ this -> _myWords -> Value ( "MSGFILL" ) , BlockPosition :: Center ) ; $ this -> _document -> addXmlnukeObject ( $ blockcenter ) ; $ paragraph = new XmlParagraphCollection ( ) ; $ blockcenter -> addXmlnukeObject ( $ paragraph ) ; $ form = new XmlFormCollection ( $ this -> _context , "module:sendpage" , $ this -> _myWords -> Value ( "CAPTION" ) ) ; $ paragraph -> addXmlnukeObject ( $ form ) ; $ caption = new XmlInputCaption ( $ this -> _myWords -> ValueArgs ( "INFO" , array ( urldecode ( $ this -> _link ) ) ) ) ; $ form -> addXmlnukeObject ( $ caption ) ; $ hidden = new XmlInputHidden ( "action" , "submit" ) ; $ form -> addXmlnukeObject ( $ hidden ) ; $ hidden = new XmlInputHidden ( "link" , $ this -> _link ) ; $ form -> addXmlnukeObject ( $ hidden ) ; $ textbox = new XmlInputTextBox ( $ this -> _myWords -> Value ( "FLDNAME" ) , "fromname" , "" , 40 ) ; $ textbox -> setRequired ( true ) ; $ form -> addXmlnukeObject ( $ textbox ) ; $ textbox = new XmlInputTextBox ( $ this -> _myWords -> Value ( "FLDEMAIL" ) , "frommail" , "" , 40 ) ; $ textbox -> setDataType ( INPUTTYPE :: EMAIL ) ; $ textbox -> setRequired ( true ) ; $ form -> addXmlnukeObject ( $ textbox ) ; $ textbox = new XmlInputTextBox ( $ this -> _myWords -> Value ( "FLDTONAME" ) , "toname" , "" , 40 ) ; $ textbox -> setRequired ( true ) ; $ form -> addXmlnukeObject ( $ textbox ) ; $ textbox = new XmlInputTextBox ( $ this -> _myWords -> Value ( "FLDTOEMAIL" ) , "tomail" , "" , 40 ) ; $ textbox -> setDataType ( INPUTTYPE :: EMAIL ) ; $ textbox -> setRequired ( true ) ; $ form -> addXmlnukeObject ( $ textbox ) ; $ memo = new XmlInputMemo ( $ this -> _myWords -> Value ( "LABEL_MESSAGE" ) , "custommessage" , "" ) ; $ form -> addXmlnukeObject ( $ memo ) ; $ form -> addXmlnukeObject ( new XmlInputImageValidate ( $ this -> _myWords -> Value ( "TYPETEXTFROMIMAGE" ) ) ) ; $ button = new XmlInputButtons ( ) ; $ button -> addSubmit ( $ this -> _myWords -> Value ( "TXT_SUBMIT" ) , "" ) ; $ form -> addXmlnukeObject ( $ button ) ; }
Show the form
Show the form