--- C:\TYPO3\Typo3_4.2\typo3_src+dummy-4.2.0alpha1\typo3\sysext\cms\tslib\class.tslib_pagegen.php 2007-09-06 19:30:34.000000000 +0300 +++ C:\TYPO3\Typo3_4.2\typo3_src+dummy-4.2.0alpha1\typo3\sysext\cms\tslib\class.tslib_pagegen2.php 2007-09-19 17:26:51.657920000 +0300 @@ -78,7 +78,8 @@ /** * Class for starting TypoScript page generation * - * The class is not instantiated as an objects but called directly with the "::" operator. + * // The class is not instantiated as an objects but called directly with the "::" operator. + * The class IS instantiated as an objects to make possible XCLASS it. * eg: TSpagegen::pagegenInit() * * @author Kasper Skaarhoj @@ -213,7 +214,8 @@ if (!is_array($GET[$val])) { $tmpVal = rawurlencode($GET[$val]); - if ($test && !TSpagegen::isAllowedLinkVarValue($tmpVal,$test)) { +// if ($test && !TSpagegen::isAllowedLinkVarValue($tmpVal,$test)) { + if ($test && !$this->isAllowedLinkVarValue($tmpVal,$test)) { continue; // Error: This value was not allowed for this key } @@ -347,7 +349,8 @@ if ($GLOBALS['TSFE']->config['config']['disableAllHeaderCode']) { $GLOBALS['TSFE']->content = $pageContent; } else { - TSpagegen::renderContentWithHeader($pageContent); +// TSpagegen::renderContentWithHeader($pageContent); + $this->renderContentWithHeader($pageContent); } $GLOBALS['TT']->pull($GLOBALS['TT']->LR?$GLOBALS['TSFE']->content:''); $GLOBALS['TT']->decStackPointer(); @@ -505,7 +508,8 @@ } if (count($temp_styleLines)) { if ($GLOBALS['TSFE']->config['config']['inlineStyle2TempFile']) { - $GLOBALS['TSFE']->content.=TSpagegen::inline2TempFile(implode(chr(10),$temp_styleLines),'css'); +// $GLOBALS['TSFE']->content.=TSpagegen::inline2TempFile(implode(chr(10),$temp_styleLines),'css'); + $GLOBALS['TSFE']->content.=$this->inline2TempFile(implode(chr(10),$temp_styleLines),'css'); } else { $GLOBALS['TSFE']->content.='