Bug #14760 » bug_1115.diff
typo3_src-3.8.0/typo3/sysext/cms/tslib/class.tslib_content.php 2005-09-30 08:56:42.000000000 +0200 | ||
---|---|---|
$spaceBelowAbove = intval($this->stdWrap($conf['spaceBelowAbove'],$conf['spaceBelowAbove.']));
|
||
switch ($contentPosition) {
|
||
case '0': // above
|
||
$output= '<div style="text-align:'.$align.';">'.$tablecode.'</div>'.$this->wrapSpace($content, $spaceBelowAbove.'|0');
|
||
$output= '<div align="'.$align.'">'.$tablecode.'</div>'.$this->wrapSpace($content, $spaceBelowAbove.'|0');
|
||
break;
|
||
case '8': // below
|
||
$output= $this->wrapSpace($content, '0|'.$spaceBelowAbove).'<div style="text-align:'.$align.';">'.$tablecode.'</div>';
|
||
$output= $this->wrapSpace($content, '0|'.$spaceBelowAbove).'<div align="'.$align.'">'.$tablecode.'</div>';
|
||
break;
|
||
case '16': // in text
|
||
$output= $tablecode.$content;
|