mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-10 03:28:18 +01:00
Fix the extracss parameter was overwritten other css into
textwithtooltip function. Add tooltip on THM and TJM parameter of user.
This commit is contained in:
@@ -2186,7 +2186,7 @@ function img_help($usehelpcursor = 1, $usealttitle = 1)
|
||||
else $usealttitle = $langs->trans('Info');
|
||||
}
|
||||
|
||||
return img_picto($usealttitle, 'info.png', ($usehelpcursor ? 'style="cursor: help"' : ''));
|
||||
return img_picto($usealttitle, 'info.png', ($usehelpcursor ? 'style="vertical-align: middle; cursor: help"' : 'style="vertical-align: middle;"'));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2201,7 +2201,7 @@ function img_info($titlealt = 'default')
|
||||
|
||||
if ($titlealt == 'default') $titlealt = $langs->trans('Informations');
|
||||
|
||||
return img_picto($titlealt, 'info.png');
|
||||
return img_picto($titlealt, 'info.png', 'style="vertical-align: middle;"');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user