2
0
forked from Wavyzz/dolibarr

Fix for rtl languages

This commit is contained in:
Laurent Destailleur
2017-01-21 16:12:25 +01:00
parent f03ad00466
commit 3a2d9c8610
6 changed files with 18 additions and 19 deletions

View File

@@ -2504,7 +2504,7 @@ function img_edit($titlealt = 'default', $float = 0, $other = '')
if ($titlealt == 'default') $titlealt = $langs->trans('Modify');
return img_picto($titlealt, 'edit.png', ($float ? 'style="float: right"' : $other));
return img_picto($titlealt, 'edit.png', ($float ? 'style="float: '.($langs->tab_translate["DIRECTION"] == 'rtl'?'left':'right').'"' : $other));
}
/**