Add tooltip in getNomUrl link

This commit is contained in:
frederic34
2015-01-20 20:45:38 +01:00
parent 67debbe37d
commit 1b0dd671b3
39 changed files with 153 additions and 151 deletions

View File

@@ -2884,12 +2884,12 @@ class Commande extends CommonOrder
if ($short) return $url;
$linkstart = '<a href="'.$url.'">';
$linkend='</a>';
$picto='order';
$label=$langs->trans("ShowOrder").': '.$this->ref;
$linkstart = '<a href="'.$url.'" title="'.$label.'" class="classfortooltip">';
$linkend='</a>';
if ($withpicto) $result.=($linkstart.img_object($label, $picto, 'class="classfortooltip"').$linkend);
if ($withpicto && $withpicto != 2) $result.=' ';
$result.=$linkstart.$this->ref.$linkend;