From 995936183e716420f4e70c4a981c685da29de0f1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 31 Aug 2011 18:47:29 +0000 Subject: [PATCH] For the "default" field, we keep usa of standard on and off button because it is not a feature we activate or not but a choice of one line among others. I will change this later to replace with a checkbox. --- htdocs/admin/workflow.php | 10 +++++----- htdocs/core/class/html.form.class.php | 3 +-- 2 files changed, 6 insertions(+), 7 deletions(-) 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 "\n"; print "\n"; print ' '; print ' '; -//print ' '; +print ' '; print "\n"; clearstatcache(); @@ -107,20 +107,20 @@ if (sizeof($workflowcodes) > 0) if (! empty($conf->global->$code)) { print ''; } else { print ''; } - //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
'.$langs->trans("Description").''.$langs->trans("Status").''.$langs->trans("Infos").''.$langs->trans("Infos").'
'; - print img_picto($langs->trans("Activated"),'switch_on'); + print img_picto($langs->trans("Activated"),'on'); print ''; - print img_picto($langs->trans("Disabled"),'switch_off'); + print img_picto($langs->trans("Disabled"),'off'); print ''; + print ''; //$s=$modCodeTiers->getToolTip($langs,$soc,-1); //print $form->textwithpicto('',$s,1); - //print '