Project

General

Profile

Bug #41487 » 20121004_Patch_41487_4.7.4.diff

Jörg Wagner, 2012-10-04 18:27

View differences:

TYPO3/typo3_src-4.7.4_PATCHED/typo3/sysext/cms/tslib/class.tslib_gifbuilder.php 2012-08-29 08:55:16.000000000 +0200
// Traverse the GIFBUILDER objects an render each one:
if (is_array($this->setup)) {
$sKeyArray=t3lib_TStemplate::sortedKeyList($this->setup);
foreach($sKeyArray as $theKey) {
$theValue=$this->setup[$theKey];
if (intval($theKey) && $conf=$this->setup[$theKey.'.']) {
$isStdWrapped = array();
foreach($conf as $key => $value) {
$parameter = rtrim($key,'.');
if(!$isStdWrapped[$parameter] && isset($conf[$parameter.'.'])) {
$conf[$parameter] = $this->cObj->stdWrap($conf[$parameter], $conf[$parameter.'.']);
$isStdWrapped[$parameter] = 1;
if($theValue!='TEXT'){
$isStdWrapped = array();
foreach($conf as $key => $value) {
$parameter = rtrim($key,'.');
if(!$isStdWrapped[$parameter] && isset($conf[$parameter.'.'])) {
$conf[$parameter] = $this->cObj->stdWrap($conf[$parameter], $conf[$parameter.'.']);
$isStdWrapped[$parameter] = 1;
}
}
}
switch($theValue) {
// Images
case 'IMAGE':
if ($conf['mask']) {
(2-2/2)