TYPO3 CMS  TYPO3_6-2
TypoScriptFrontendControllerHook.php
Go to the documentation of this file.
1 <?php
20 
28  public function contentPostProcOutput(array $params, \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController $controller) {
29  if (strpos($controller->content, 'textarea id="RTEarea') !== FALSE) {
30  $userAgent = \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_USER_AGENT');
32  if ($browserInfo['browser'] === 'msie' && $browserInfo['version'] > 10) {
33  $controller->content = preg_replace('/<head([^>]*)>/', '<head$1>' . LF . '<meta http-equiv="X-UA-Compatible" content="IE=10" />', $controller->content);
34  }
35  }
36  }
37 }
contentPostProcOutput(array $params, \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController $controller)