2
0
forked from Wavyzz/dolibarr

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

@@ -357,13 +357,13 @@ class Deplacement extends CommonObject
global $langs;
$result='';
$label=$langs->trans("Show").': '.$this->ref;
$lien = '<a href="'.DOL_URL_ROOT.'/compta/deplacement/card.php?id='.$this->id.'">';
$lien = '<a href="'.DOL_URL_ROOT.'/compta/deplacement/card.php?id='.$this->id.'" title="'.$label.'" class="classfortooltip">';
$lienfin='</a>';
$picto='trip';
$label=$langs->trans("Show").': '.$this->ref;
if ($withpicto) $result.=($lien.img_object($label, $picto, 'class="classfortooltip"').$lienfin);
if ($withpicto && $withpicto != 2) $result.=' ';