Esempio n. 1
0
 /**
  * End page and output content.
  *
  * @return	void
  */
 function printContent()
 {
     if (!$this->ajax) {
         $this->content .= $this->doc->endPage();
         $this->content = $this->doc->insertStylesAndJS($this->content);
         echo $this->content;
     } else {
         t3lib_formprotection_Factory::get()->persistTokens();
         $this->content = $GLOBALS['LANG']->csConvObj->utf8_encode($this->content, $GLOBALS['LANG']->charSet);
         t3lib_ajax::outputXMLreply($this->content);
     }
 }
 /**
  * End page and output content.
  *
  * @return	void
  */
 function printContent()
 {
     if (!$this->ajax) {
         $this->content .= $this->doc->endPage();
         $this->content = $this->doc->insertStylesAndJS($this->content);
         echo $this->content;
     } else {
         $this->content = $GLOBALS['LANG']->csConvObj->utf8_encode($this->content, $GLOBALS['LANG']->charSet);
         t3lib_ajax::outputXMLreply($this->content);
     }
 }