forked from extern/egroupware
f93a49673c
- empty lines in the csv file are now ignored (they produced empty contacts before) - you can define a charset for conversation now - mass-import is made easier now
72 lines
1.6 KiB
Smarty
72 lines
1.6 KiB
Smarty
|
|
<br><center>
|
|
|
|
<FORM {enctype} action="{action_url}" method="post">
|
|
<TABLE>
|
|
|
|
<!-- BEGIN filename -->
|
|
<TR>
|
|
<TD>{lang_csvfile}</td>
|
|
<td><INPUT NAME="csvfile" SIZE=30 TYPE="file" VALUE="{csvfile}"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>{lang_fieldsep}</td>
|
|
<td><input name="fieldsep" size=1 value="{fieldsep}"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>{lang_charset}</td>
|
|
<td>
|
|
{select_charset}
|
|
</td>
|
|
</tr>
|
|
<tr><td> </td>
|
|
<td><INPUT NAME="convert" TYPE="submit" VALUE="{submit}"></TD>
|
|
</TR>
|
|
<!-- END filename -->
|
|
|
|
<!-- BEGIN fheader -->
|
|
<tr>
|
|
<td><b>{lang_csv_fieldname}</b></td>
|
|
<td><b>{lang_addr_fieldname}</b></td>
|
|
<td><b>{lang_translation}</b></td>
|
|
</tr>
|
|
<!-- END fheader -->
|
|
|
|
<!-- BEGIN fields -->
|
|
<tr>
|
|
<td>{csv_field}</td>
|
|
<td><SELECT name="addr_fields[{csv_idx}]">{addr_fields}</select></td>
|
|
<td><input name="trans[{csv_idx}]" size=60 value="{trans}"></td>
|
|
</tr>
|
|
<!-- END fields -->
|
|
|
|
<!-- BEGIN ffooter -->
|
|
<tr>
|
|
<td rowspan="2" valign="middle"><br>{submit}</TD>
|
|
<td colspan="2"><br>
|
|
{lang_start} <INPUT name="start" type="text" size="5" value="{start}">
|
|
{lang_max} <INPUT name="max" type="text" size="3" value="{max}"><td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3"><INPUT name="debug" type="checkbox" value="1" {debug}> {lang_debug}</td>
|
|
</TR>
|
|
<tr><td colspan="3"> <p>
|
|
{help_on_trans}
|
|
</td></tr>
|
|
<!-- END ffooter -->
|
|
|
|
<!-- BEGIN imported -->
|
|
<tr>
|
|
<td colspan="2">
|
|
{log}<p>
|
|
{anz_imported}
|
|
</td>
|
|
</TR>
|
|
<!-- END imported -->
|
|
|
|
</TABLE>
|
|
{hiddenvars}
|
|
</form>
|
|
|
|
</CENTER>
|