2
{t}The CSV import plugin provides methods to generate user accounts from a file containing Comma Seperated Values. The administrator can decide which columns should be transfered to which attribute. Note that you must have at least the UID, GIVENNAME and SURENAME set.{/t}
4
<p class="seperator"> </p>
10
<LABEL for="userfile">{t}Select CSV file to import{/t}</LABEL>
13
<input type="hidden" name="MAX_FILE_SIZE" value="2097152">
14
<input id="userfile" name="userfile" type="file" value="{t}Browse{/t}">
19
<LABEL for="template">{t}Select template{/t}</LABEL>
22
<select id="template" name="template" size="1" title="">
23
{html_options options=$templates selected=""}
29
{elseif $sorted != FALSE}
34
<b>{t}All entries have been written to the LDAP database successfully.{/t}</b>
36
<b style="color:red">{t}Oups. There was an error during the import of your data.{/t}</b>
39
<b>{t}Here is the status report for the import:{/t} </b>
44
<table summary="" cellspacing="1" border=0 cellpadding="4" bgcolor="#FEFEFE">
46
{foreach from=$head item=h}
47
<td bgcolor="#BBBBBB">
52
{if $pointsbefore == TRUE}
54
<td colspan={$i} bgcolor = "#EEEEEE">
60
{foreach from=$data item=row key=key}
62
{foreach from=$data[$key] item=col key=key2}
63
<td bgcolor="#EEEEEE">
69
{if $pointsafter == TRUE}
71
<td colspan={$i} bgcolor = "#EEEEEE">
80
<br><b>{t}Selected Template{/t}:</b> {$tpl}
83
<table summary="" cellspacing="1" border=0 cellpadding="4" bgcolor="#FEFEFE">
85
{foreach from=$data[0] item=item key=key}
86
<td bgcolor="#BBBBBB">
87
<select name="row{$key}" size="1" title="">
88
{html_options options=$attrs selected=$selectedattrs[$key]}
93
{foreach from=$data item=val key=key}
95
{foreach from=$data[$key] item=val2 key=key2}
96
<td bgcolor="#EEEEEE">
97
{$data[$key][$key2]}
105
<!-- {html_table loop=$data cols=$anz table_attr='border="1"'}-->
107
<p class="plugbottom">
109
<input type="submit" value="{t}Import{/t}" name="fileup" >
111
{if $sorted == FALSE}
112
<input name="sorted" value="{t}Import{/t}" type ="submit">
114
<input type=submit name="back{$plug}" value="{t}Back{/t}">
118
<input type="hidden" name="ignore">