Project

General

Profile

Feature #20996 » patch-csc-v2.patch

Administrator Admin, 2009-09-04 20:20

View differences:

typo3/sysext/css_styled_content/pi1/class.tx_cssstyledcontent_pi1.php (Arbeitskopie)
// Render one image
if($origImages[$imgKey][0]==0) {
$imageSpace=$this->cObj->data['imagewidth'] + $border*($borderSpace+$borderThickness)*2;
$imageSpace= ((intval($this->cObj->data['imagewidth']) == 0) ? $defaultColumnWidth : $this->cObj->data['imagewidth']) + $border*($borderSpace+$borderThickness)*2;
} else {
$imageSpace = $origImages[$imgKey][0] + $border*($borderSpace+$borderThickness)*2;
$imageSpace = ((intval($origImages[$imgKey][0]) ==0) ? $defaultColumnWidth : $origImages[$imgKey][0]) + $border*($borderSpace+$borderThickness)*2;
}
$GLOBALS['TSFE']->register['IMAGE_NUM'] = $imgKey;
(4-4/4)