14065.diff

Administrator Admin, 2010-04-12 02:15

Download (894 Bytes)

View differences:

t3lib/class.t3lib_tstemplate.php (working copy)
704 704
		}
705 705

  
706 706
		$this->addExtensionStatics($idList,$templateID,$pid,$row);
707

  
708
			// Include Static Template Records after all other TypoScript has been included.
709
		if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['includeStaticTypoScriptSourcesAtEnd'])) {
710
			$_params = array(
711
					'idList' => &$idList,
712
					'templateId' => &$templateID,
713
					'pid' => &$pid,
714
					'row' => &$row
715
			);
716
			foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['includeStaticTypoScriptSourcesAtEnd'] as $_funcRef)	{
717
				t3lib_div::callUserFunction($_funcRef, $_params, $this);
718
			}
719
		}
707 720
	}
708 721

  
709 722
	/**