[Typo3-dev] TEXTPIC nowrap hard coded?
Thomas Peterson
info at thomas-peterson.de
Thu Nov 24 22:07:51 CET 2005
Hello,
I have spend many time to find the problem. :-)
In class.tslib_content.php the Function IMGTEXT:
case '24': // in text, no wrap
$theResult = '';
$theResult.= '<table border="0" cellspacing="0" cellpadding="0"
class="imgtext-nowrap"><tr>';
if ($align=='right') {
$theResult.= '<td valign="top">'.$content.'</td><td
valign="top">'.$tablecode.'</td>';
} else {
$theResult.= '<td valign="top">'.$tablecode.'</td><td
valign="top">'.$content.'</td>';
}
$theResult.= '</tr></table>';
$output= $theResult;
break;
A hard coded table :-) i must change the code for correct the table
layout.
Why is it hard coded?
Best Regards
More information about the TYPO3-dev
mailing list