diff --git a/htdocs/admin/workflow.php b/htdocs/admin/workflow.php index c0554e0cf93..234ec73a9bd 100755 --- a/htdocs/admin/workflow.php +++ b/htdocs/admin/workflow.php @@ -86,7 +86,7 @@ print "
| '.$langs->trans("Description").' | '; print ''.$langs->trans("Status").' | '; -//print ''.$langs->trans("Infos").' | '; +print ''.$langs->trans("Infos").' | '; print "'; - print img_picto($langs->trans("Activated"),'switch_on'); + print img_picto($langs->trans("Activated"),'on'); print ' | '; } else { print ''; - print img_picto($langs->trans("Disabled"),'switch_off'); + print img_picto($langs->trans("Disabled"),'off'); print ' | '; } - //print ''; + print ' | '; //$s=$modCodeTiers->getToolTip($langs,$soc,-1); //print $form->textwithpicto('',$s,1); - //print ' | '; + print ''; print ''; } diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 0e95a7e0bb9..88bb5aedab7 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -194,10 +194,9 @@ class Form /** * Show a text with a picto and a tooltip on picto - * * @param text Text to show * @param htmltooltip Content of tooltip - * @param direction 1=Icon is after text, -1=Icon is before text, 0=no icon + * @param direction 1=Icon is after text, -1=Icon is before text * @param type Type of picto (info, help, warning, superadmin...) * @param extracss Add a CSS style to td tags * @param noencodehtmltext Do not encode into html entity the htmltext