Code

Starting move
[gosa.git] / gosa-core / 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="" width="100%">
8 <tr>
9     <td width="180">
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                 <input type="radio" name="overwrite" value="1" checked>{t}Modify existing objects, keep untouched attributes{/t}<br>
25                 <input type="radio" name="overwrite" value="0">{t}Overwrite existing objects, all not listed attributes will be removed{/t}
26         </td>
27 </tr>
28 <tr>
29         <td>
30                 &nbsp;
31         </td>
32         <td>
33         <input type="checkbox" name="cleanup" value="1" id="cleanup">
34                 <LABEL for="cleanup">{t}Remove existing entries first{/t}</LABEL>
35         </td>
36 </tr>
37 </table>
38 {else}
40 <br>
41     <h1>{t}Import successful{/t}</h1>
42 <br>
44 <div align="right">
45                 <input type="submit" value="{t}Back{/t}" name='back'>
46 </div>
47                 
48 {/if}
49 <p class="plugbottom">
50 <input type="submit" value="{t}Import{/t}" name="fileup" >
51 </p>
52 <input type="hidden" name="ignore">