From 565cb6bc091d677157f34737f9a1c061c8ef94c7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 28 Oct 2009 18:46:00 +0000 Subject: [PATCH] Cleaner informations --- htdocs/imports/import.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/imports/import.php b/htdocs/imports/import.php index 2e768f60526..0d3e3469d63 100644 --- a/htdocs/imports/import.php +++ b/htdocs/imports/import.php @@ -851,8 +851,8 @@ if ($step == 4 && $datatoimport) if ($mandatoryfieldshavesource) $mandatoryfieldshavesource=(! empty($valforsourcefieldnb[$i]) && ($valforsourcefieldnb[$i] <= sizeof($fieldssource))); //print 'xx'.($i).'-'.$valforsourcefieldnb[$i].'-'.$mandatoryfieldshavesource; } - $htmltext =$langs->trans("Table").": ".$tablename."
"; - $htmltext.=$langs->trans("Field").': '.$code."
"; + $htmltext =$langs->trans("Label").": ".$langs->trans($newlabel)."
"; + $htmltext.=$langs->trans("Table")." -> ".$langs->trans("Field").": ".$tablename." -> ".preg_replace('/^.*\./','',$code)."
"; $htmltext.=$langs->trans("Required").': '.yn(preg_match('/\*$/',$label)).''; $note=$objimport->array_import_examplevalues[0][$code]; if ($note) $htmltext.='
'.$langs->trans("Note").'/'.$langs->trans("Example").': '.$note;