Code

0e814fb289669c74b8fa344b0ff167082fb18437
[gosa.git] / plugins / addons / ldapmanager / contentimport.tpl
1 {if $type == FALSE || $LDIFError != FALSE}
2 <p style="margin-top:5px;">
3   {t}The LDIF import plugin provides methods to upload a set of entries to your running LDAP directory as ldif. You may use this to add new or modify existing entries. Remember that GOsa will not check your ldifs for GOsa conformance.{/t}
4 </p>
6 <p class="seperator">&nbsp;</p>
7 <table summary="">
8 <tr>
9     <td width="30%">
10                 <LABEL for="userfile">{t}Import LDIF File{/t}</LABEL>
11     </td>
12     <td>
13                         <input type="hidden" name="ignore">
14                         <input type="hidden" name="MAX_FILE_SIZE" value="2097152">
15                         <input name="userfile" id="userfile" type="file" value="{t}Browse{/t}">
16     </td>
17 </tr>
18 <tr>
19         <td>
20                 &nbsp;
21         </td>
22         <td>
23         <input type="checkbox" name="overwrite" value="1" id="overwrite">
24                 <LABEL for="overwrite">{t}Modify existing attributes{/t}</LABEL>
25         </td>
26 </tr>
27 <tr>
28         <td>
29                 &nbsp;
30         </td>
31         <td>
32         <input type="checkbox" name="cleanup" value="1" id="cleanup">
33                 <LABEL for="cleanup">{t}Overwrite existing entry{/t}</LABEL>
34         </td>
35 </tr>
36 </table>
37 {else}
39 <br>
40     <h1>{t}Import successful{/t}</h1>
41 <br>
43 <div align="right">
44                 <input type="submit" value="{t}Back{/t}" name='back'>
45 </div>
46                 
47 {/if}
48 <p class="plugbottom">
49 <input type="submit" value="{t}Import{/t}" name="fileup" >
50 </p>
51 <input type="hidden" name="ignore">