Skip to content

Commit

Permalink
Fix: wrong space
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Sep 13, 2012
1 parent b1e01b5 commit 9130dbd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions htdocs/core/class/html.form.class.php
Expand Up @@ -374,8 +374,10 @@ function textwithtooltip($text, $htmltext, $tooltipon = 1, $direction = 0, $img
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.'>';
Expand Down

0 comments on commit 9130dbd

Please sign in to comment.