Work on import module

This commit is contained in:
Laurent Destailleur 2009-08-23 00:34:55 +00:00
parent d06f00da5e
commit c8aceb1c7b
4 changed files with 6 additions and 6 deletions

View File

@ -653,8 +653,8 @@ if ($step == 3 && $datatoimport)
$entityicon=$entitytoicon[$entity]?$entitytoicon[$entity]:$entity;
$entitylang=$entitytolang[$entity]?$entitytolang[$entity]:$entity;
print '<td nowrap="nowrap">'.img_object('',$entityicon).' '.$langs->trans($entitylang).'</td>';
print '<td>'.$langs->trans($label).' ('.$code.')</td>';
print '<td nowrap="nowrap" style="font-weight: normal">'.img_object('',$entityicon).' '.$langs->trans($entitylang).'</td>';
print '<td style="font-weight: normal">'.$langs->trans($label).' ('.$code.')</td>';
print '</tr>';
$save_select.=$bit;
@ -968,11 +968,11 @@ function show_elem($fieldssource,$pos,$var,$key)
else
{
//print '<td width="16">'.img_file('','').'</td>';
print '<td class="nocellnopadding" width="16">';
print '<td class="nocellnopadding" width="16" style="font-weight: normal">';
// 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("MoveBox",$pos),'uparrow','class="boxhandle" style="cursor:move;"');
print '</td>';
print '<td>';
print '<td style="font-weight: normal">';
print $langs->trans("Field").' '.$key.': ';
print $fieldssource[$key]['name'].' ('.$fieldssource[$key]['example1'].')';
print '</td>';

View File

@ -58,6 +58,6 @@ TypeOfLineServiceOrProduct=Type of line (0=product, 1=service)
FileWithDataToImport=File with data to import
FileToImport=Source file to import
FileMustHaveOneOfFollowingFormat=File to import must have one of following format
ChooseFileToImport=Choose file to import then click on picto %s ...
ChooseFileToImport=Upload or choose file to import then click on picto %s ...
FieldsInSourceFile=Fields in source file
FieldsInTargetDatabase=Target fields in Dolibarr database

View File

@ -58,6 +58,6 @@ TypeOfLineServiceOrProduct=Type de ligne (0=produit, 1=service)
FileWithDataToImport=Fichier contenant les données à importer
FileToImport=Fichier source à importer
FileMustHaveOneOfFollowingFormat=Le fichier à importer doit avoir un des formats suivants
ChooseFileToImport=Choisissez le fichier à importer puis cliquez sur le picto %s ...
ChooseFileToImport=Ajouter ou choisissez le fichier à importer puis cliquez sur le picto %s ...
FieldsInSourceFile=Champs dans le fichier source
FieldsInTargetDatabase=Champs cibles dans la base Dolibarr

Binary file not shown.

Before

Width:  |  Height:  |  Size: 780 B

After

Width:  |  Height:  |  Size: 693 B