Code

Added prototype support
[gosa.git] / gosa-plugins / ldapmanager / addons / ldapmanager / contentexportxls.tpl
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>
37         
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         <h3>{t}Export successful{/t}</h3>
62 <br>
63         <div>
64                 {image path="images/filesaveas.png"}
66                 <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>
69                 <br>
70                 <br>
71         </div>
72         <div align="right">
73                 <button type='submit' name='back'>{msgPool type=backButton}</button>
75         </div>
76 {/if}
78 <hr>
80 <input type="hidden" name="ignore">