Fix to avoid duplicate tooltip
This commit is contained in:
parent
1f1e72f2b6
commit
24732cf454
@ -1575,7 +1575,7 @@ class Adherent extends CommonObject
|
|||||||
|
|
||||||
$picto='user';
|
$picto='user';
|
||||||
|
|
||||||
if ($withpicto) $result.=($link.img_object($label, $picto, 'class="classfortooltip"').$linkend);
|
if ($withpicto) $result.=($link.img_object('', $picto, 'class="classfortooltip"').$linkend);
|
||||||
if ($withpicto && $withpicto != 2) $result.=' ';
|
if ($withpicto && $withpicto != 2) $result.=' ';
|
||||||
$result.=$link.($maxlen?dol_trunc($this->ref,$maxlen):$this->ref).$linkend;
|
$result.=$link.($maxlen?dol_trunc($this->ref,$maxlen):$this->ref).$linkend;
|
||||||
return $result;
|
return $result;
|
||||||
|
|||||||
@ -1845,7 +1845,7 @@ class User extends CommonObject
|
|||||||
*
|
*
|
||||||
* @param int $withpictoimg Include picto in link (0=No picto, 1=Include picto into link, 2=Only picto, -1=Include photo into link, -2=Only picto photo)
|
* @param int $withpictoimg Include picto in link (0=No picto, 1=Include picto into link, 2=Only picto, -1=Include photo into link, -2=Only picto photo)
|
||||||
* @param string $option On what the link point to
|
* @param string $option On what the link point to
|
||||||
* @param integer $infologin Add connection info to the tooltip
|
* @param integer $infologin Add complete info tooltip
|
||||||
* @param integer $notooltip 1=Disable tooltip on picto and name
|
* @param integer $notooltip 1=Disable tooltip on picto and name
|
||||||
* @param int $maxlen Max length of visible user name
|
* @param int $maxlen Max length of visible user name
|
||||||
* @param int $hidethirdpartylogo Hide logo of thirdparty if user is external user
|
* @param int $hidethirdpartylogo Hide logo of thirdparty if user is external user
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user