Add dol_escape_htmltag and start to adapt boxes

This commit is contained in:
frederic34
2015-01-21 01:06:04 +01:00
parent 1b0dd671b3
commit f4161b457b
52 changed files with 964 additions and 661 deletions

View File

@@ -2886,8 +2886,10 @@ class Commande extends CommonOrder
$picto='order';
$label=$langs->trans("ShowOrder").': '.$this->ref;
if (! empty($this->ref_client))
$label.= '<br>'.$langs->trans('RefCustomer').': '.$this->ref_client;
$linkstart = '<a href="'.$url.'" title="'.$label.'" class="classfortooltip">';
$linkstart = '<a href="'.$url.'" title="'.dol_escape_htmltag($label, 1).'" class="classfortooltip">';
$linkend='</a>';
if ($withpicto) $result.=($linkstart.img_object($label, $picto, 'class="classfortooltip"').$linkend);