16093.patch

Administrator Admin, 2010-12-18 01:32

Download (1.13 KB)

View differences:

typo3/sysext/cms/tslib/content/class.tslib_content_multimedia.php (revision )
47 47
			? $this->cObj->stdWrap($conf['file'], $conf['file.'])
48 48
			: $conf['file'];
49 49
		$incFile = $GLOBALS['TSFE']->tmpl->getFileName($filename);
50

  
50 51
		if ($incFile) {
51 52
			$fileinfo = t3lib_div::split_fileref($incFile);
52 53
			if (t3lib_div::inList('txt,html,htm', $fileinfo['fileext'])) {
......
79 80
				}
80 81
				if (t3lib_div::inList('swf,swa,dcr', $fileinfo['fileext'])) {
81 82
					$parArray['quality'] = 'quality="high"';
83
					$parArray['width'] = 'width="' . $width  . '"';
84
					$parArray['height'] = 'height="' . $height . '"';
82 85
				}
83 86
				if (t3lib_div::inList('class', $fileinfo['fileext'])) {
84 87
					$parArray['width'] = 'width="' . $width . '"';
......
125 128
	include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['tslib/content/class.tslib_content_multimedia.php']);
126 129
}
127 130

  
128
?>
131
?>