Project

General

Profile

Bug #17708 » bug_6561_css_styled_content.diff

Administrator Admin, 2007-10-20 16:37

View differences:

typo3/sysext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php 2007-10-20 15:12:36.000000000 +0200
$imgCount = count($imgs) - $imgStart;
$imgMax = intval($this->cObj->stdWrap($conf['imgMax'], $conf['imgMax.']));
if ($imgMax) {
$imgCount = t3lib_div::intInRange($imgCount, 0, $conf['imgMax']); // reduce the number of images.
$imgCount = t3lib_div::intInRange($imgCount, 0, $imgMax); // reduce the number of images.
}
$imgPath = $this->cObj->stdWrap($conf['imgPath'], $conf['imgPath.']);
......
$imgConf['emptyTitleHandling'] = 'removeAttr';
}
}
$imgsTag[$imgKey] = $this->cObj->IMAGE($imgConf);
$imgsTag[$a] = $this->cObj->IMAGE($imgConf);
} else {
$imgsTag[$imgKey] = $this->cObj->IMAGE(Array('file' => $totalImagePath)); // currentValKey !!!
$imgsTag[$a] = $this->cObj->IMAGE(Array('file' => $totalImagePath)); // currentValKey !!!
}
// Restore our ATagParams
$GLOBALS['TSFE']->ATagParams = $oldATagParms;
// Store the original filepath
$origImages[$imgKey] = $GLOBALS['TSFE']->lastImageInfo;
$origImages[$a] = $GLOBALS['TSFE']->lastImageInfo;
$imageRowsFinalWidths[floor($a/$colCount)] += $GLOBALS['TSFE']->lastImageInfo[0];
}
(1-1/5)