1 {if $LDIFError != FALSE || $type == FALSE}
2 <p style="margin-top:5px;">
3 {t}The LDIF export plugin provides methods to download a complete snapshot of the running LDAP directory as ldif. You may save these files for backup purpose or when initializing a new server.{/t}
4 </p>
5 <hr>
7 <table summary="" style="width:100%;">
8 <tr>
9 <td width="30%">
10 <LABEL for="text" >{t}Export single entry{/t}</LABEL>
11 </td>
12 <td>
13 <input id="text" type="text" value="" name="single">
14 </td>
15 <td>
16 <button type='submit' name='sfrmgetsingle'>{t}Export{/t}</button>
18 </td>
19 </tr>
20 <tr>
21 <td width="30%">
22 <LABEL for="selfull">{t}Export complete LDIF for{/t}</LABEL>
23 </td>
24 <td>
25 <select id="selfull" name="selfull" size="1" title="{t}Choose the department you want to Export{/t}">
26 {html_options options=$deplist selected=0}
27 </select>
28 </td>
29 <td>
30 <button type='submit' name='sfrmgetfull'>{t}Export{/t}</button>
32 </td>
33 </tr>
35 {if $govmode eq "true"}
36 <tr>
37 <td width="30%">
38 <LABEL for="selivbb">{t}Export IVBB LDIF for{/t}</LABEL>
39 </td>
40 <td>
41 <select id="selivbb" name="selivbb" size="1" title="{t}Choose the department you want to Export{/t}">
42 {html_options options=$deplist selected=$depselectivbb}
43 </select>
44 </td>
45 <td>
46 <button type='submit' name='sfrmgetivbb'>{t}Export{/t}</button>
48 </td>
49 </tr>
50 {/if}
51 </table>
54 {else}
57 <br>
58 <h1>{t}Export successful{/t}</h1>
59 <br>
60 <div>
61 {image path="images/filesaveas.png"}
63 <a href = "plugins/ldapmanager/getldif.php{$para}" title="{t}Click here to save the complete LDAP database to a file{/t} ">{t}Click here to save the LDAP Export {/t}</a>
66 <br>
67 <br>
68 </div>
69 <div align="right">
70 <button type='submit' name='back'>{msgPool type=backButton}</button>
72 </div>
73 {/if}
75 <hr>
77 <input type="hidden" name="ignore">