1 {if $LDIFError != FALSE || $type == FALSE}
2 <p style="margin-top:5px;">
3 {t}The XLS export plugin provides methods to download a complete snapshot of the running LDAP directory as xls. You may save these files for documentation.{/t}
4 </p>
5 <hr>
7 <table summary="" style="width:100%;">
8 <tr>
9 <td width="30%">
10 <LABEL for="single" >{t}Export single entry{/t}</LABEL>
11 </td>
12 <td>
13 {*<input id="text" type="text" value="" name="single">*}
14 <select id="single" name="single" size="1" title="{t}Choose the data you want to Export{/t}">
15 {html_options options=$choicelist selected=0}
16 </select>
17 </td>
18 <td>
19 <button type='submit' name='sfrmgetsingle'>{t}Export{/t}</button>
21 </td>
22 </tr>
23 <tr>
24 <td width="30%">
25 <LABEL for="selfull">{t}Export complete XLS for{/t}</LABEL>
26 </td>
27 <td>
28 <select id="selfull" name="selfull" size="1" title="{t}Choose the department you want to Export{/t}">
29 {html_options options=$deplist selected=0}
30 </select>
31 </td>
32 <td>
33 <button type='submit' name='sfrmgetfull'>{t}Export{/t}</button>
35 </td>
36 </tr>
38 {if $govmode eq "true"}
39 <tr>
40 <td width="30%">
41 <LABEL for="selivbb">{t}Export IVBB LDIF for{/t}</LABEL>
42 </td>
43 <td>
44 <select id="selivbb" name="selivbb" size="1" title="{t}Choose the department you want to Export{/t}">
45 {html_options options=$deplist selected=$depselectivbb}
46 </select>
47 </td>
48 <td>
49 <button type='submit' name='sfrmgetivbb'>{t}Export{/t}</button>
51 </td>
52 </tr>
53 {/if}
54 </table>
57 {else}
60 <br>
61 <h1>{t}Export successful{/t}</h1>
62 <br>
63 <div>
64 <img alt="" border="0" align=middle src="images/filesaveas.png">
65 <a href = "plugins/ldapmanager/getxls.php{$para}" title="{t}Click here to save the complete LDAP database to a xls file{/t} ">{t}Click here to save the LDAP Export to a xls file{/t}</a>
68 <br>
69 <br>
70 </div>
71 <div align="right">
72 <button type='submit' name='back'>{msgPool type=backButton}</button>
74 </div>
75 {/if}
77 <hr>
79 <input type="hidden" name="ignore">