Fix: wrong space

This commit is contained in:
Regis Houssin 2012-09-13 09:57:12 +02:00
parent b1e01b50f5
commit 9130dbda4e

View File

@ -374,8 +374,10 @@ class Form
if ($direction < 0) $s.='<'.$tag.$paramfortooltipimg.' valign="top" width="14">'.$img.'</'.$tag.'>';
if ($text != '')
{
$s.='<'.$tag.$paramfortooltiptd.'>'.$text;
if ($direction) $s.='&nbsp;';
$s.='<'.$tag.$paramfortooltiptd.'>';
if ($direction < 0) $s.='&nbsp;';
$s.=$text;
if ($direction > 0) $s.='&nbsp;';
$s.='</'.$tag.'>';
}
if ($direction > 0) $s.='<'.$tag.$paramfortooltipimg.' valign="top" width="14">'.$img.'</'.$tag.'>';