Fix: Pb si le tooltip contient des quots
This commit is contained in:
parent
aec7c95eb4
commit
d190440569
@ -70,6 +70,7 @@ class Form
|
|||||||
$s ='';
|
$s ='';
|
||||||
if ($conf->use_javascript && $htmltooltip)
|
if ($conf->use_javascript && $htmltooltip)
|
||||||
{
|
{
|
||||||
|
$htmltooltip=ereg_replace("'","\'",$htmltooltip);
|
||||||
$s.=' onmouseover="showtip(\''.$htmltooltip.'\')"';
|
$s.=' onmouseover="showtip(\''.$htmltooltip.'\')"';
|
||||||
$s.=' onMouseout="hidetip()"';
|
$s.=' onMouseout="hidetip()"';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user