From: Christian Jul Jensen Date: Tue, 5 Apr 2005 15:09:39 +0000 (+0000) Subject: Added the possibility to include static templates from files in static templates... X-Git-Tag: TYPO3_3-8-0beta2~43 X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff_plain/7c1cc1108e1bc0e77823ecf4691fe0b612ece300 Added the possibility to include static templates from files in static templates defined in files. In other words the file include_static_file.txt now corresponds to the field in the DB. git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@605 709f56b5-9817-0410-a4d7-c38de5d9e867 --- diff --git a/t3lib/class.t3lib_tstemplate.php b/t3lib/class.t3lib_tstemplate.php index 28461b4adc4b..805bff6b029d 100755 --- a/t3lib/class.t3lib_tstemplate.php +++ b/t3lib/class.t3lib_tstemplate.php @@ -598,6 +598,7 @@ class t3lib_TStemplate { 'config'=> @is_file($ISF_filePath.'setup.txt') ?t3lib_div::getUrl($ISF_filePath.'setup.txt'):'', 'editorcfg'=> @is_file($ISF_filePath.'editorcfg.txt') ?t3lib_div::getUrl($ISF_filePath.'editorcfg.txt'):'', 'include_static'=> @is_file($ISF_filePath.'include_static.txt')?implode(',',array_unique(t3lib_div::intExplode(',',t3lib_div::getUrl($ISF_filePath.'include_static.txt')))):'', + 'include_static_file'=> @is_file($ISF_filePath.'include_static_file.txt')?implode(',',array_unique(explode(',',t3lib_div::getUrl($ISF_filePath.'include_static_file.txt')))):'', 'title' => $ISF_file, 'uid' => $mExtKey );