Project

General

Profile

Bug #25189 » 20120425_Patch_25189_4.5.15.diff

Jörg Wagner, 2012-04-25 23:12

View differences:

sysext\cms\tslib\class.tslib_gifbuilder.php 2012-04-25 22:47:31.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']) {
(3-3/3)