diff --git a/htdocs/imports/import.php b/htdocs/imports/import.php index 9e729fb36ac..c6fe3094b68 100644 --- a/htdocs/imports/import.php +++ b/htdocs/imports/import.php @@ -836,6 +836,7 @@ if ($step == 4 && $datatoimport) print ''; // List of targets fields + $height=24; $i = 0; $var=true; $mandatoryfieldshavesource=true; @@ -843,7 +844,7 @@ if ($step == 4 && $datatoimport) foreach($fieldstarget as $code=>$label) { $var=!$var; - print ''; + print ''; $i++; @@ -1704,13 +1705,15 @@ function show_elem($fieldssource,$pos,$key,$var,$nostyle='') { global $langs,$bc; + $height='24'; + print "\n\n\n"; print '
'."\n"; print ''."\n"; if ($pos && $pos > count($fieldssource)) // No fields { - print ''; + print ''; print ''; @@ -1721,7 +1724,7 @@ function show_elem($fieldssource,$pos,$key,$var,$nostyle='') } elseif ($key == 'none') // Empty line { - print ''; + print ''; print ''; @@ -1732,7 +1735,7 @@ function show_elem($fieldssource,$pos,$key,$var,$nostyle='') } else // Print field of source file { - print ''; + print ''; print '
'; print img_picto(($pos>0?$langs->trans("MoveField",$pos):''),'uparrow','class="boxhandle" style="cursor:move;"'); print '
'; print ' '; print '
'; // The image must have the class 'boxhandle' beause it's value used in DOM draggable objects to define the area used to catch the full object print img_picto($langs->trans("MoveField",$pos),'uparrow','class="boxhandle" style="cursor:move;"');