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)
733 733

  
734 734
					// Render one image
735 735
				if($origImages[$imgKey][0]==0) {
736
					$imageSpace=$this->cObj->data['imagewidth'] + $border*($borderSpace+$borderThickness)*2;
736
					$imageSpace= ((intval($this->cObj->data['imagewidth']) == 0) ? $defaultColumnWidth : $this->cObj->data['imagewidth']) + $border*($borderSpace+$borderThickness)*2;
737 737
				} else {
738
					$imageSpace = $origImages[$imgKey][0] + $border*($borderSpace+$borderThickness)*2;
738
					$imageSpace = ((intval($origImages[$imgKey][0]) ==0) ? $defaultColumnWidth : $origImages[$imgKey][0]) + $border*($borderSpace+$borderThickness)*2;
739 739
				}
740 740

  
741 741
				$GLOBALS['TSFE']->register['IMAGE_NUM'] = $imgKey;
(4-4/4)