Fix: On corrige htmltooltip lorsqu'il faut afficher contenu avec des "

This commit is contained in:
Laurent Destailleur 2007-11-12 01:34:28 +00:00
parent 45af9432bf
commit 03ee736de9
2 changed files with 2 additions and 0 deletions

View File

@ -2263,6 +2263,7 @@ else
$text.= ' '.$objp->ref.'</a>';
$text.= ' - '.$objp->product;
$description=($conf->global->PRODUIT_DESC_IN_FORM?'':$objp->description);
//print $description;
print $html->textwithtooltip($text,$description,3,'','',$i);
print_date_range($objp->date_start,$objp->date_end);
if ($conf->global->PRODUIT_DESC_IN_FORM)

View File

@ -103,6 +103,7 @@ class Form
{
if ($conf->use_javascript)
{
$htmltext=eregi_replace('"',"\'",$htmltext);
if ($tooltipon==1 || $tooltipon==3)
{
$paramfortooltiptext.=' onmouseover="showtip(\''.$htmltext.'\')"';