Code

Added download button for Scripts/Hooks
[gosa.git] / plugins / admin / fai / faiHook.tpl
1 <table width="100%" summary=''>
2         <tr>
3                 <td width="50%" valign="top">
4                                 <h2><img class="center" alt="" src="images/fai_small.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2>
5                                 <table summary="" cellspacing="4">
6                                         <tr>
7                                                 <td>
8                                                         <LABEL for="cn">
9                                                         {t}Name{/t}
10                                                         </LABEL>
11                                                 </td>
12                                                 <td>
13                                                         <input value="{$cn}" size="45" maxlength="80" disabled id="cn">
14                                                 </td>
15                                         </tr>
16                                         <tr>
17                                                 <td>
18                                                         <LABEL for="description">
19                                                         {t}Description{/t}
20                                                         </LABEL>
21                                                 </td>
22                                                 <td>
23                                                         <input value="{$description}" size="45" maxlength="80" {$description} name="description" id="description">
24                                                 </td>
25                                         </tr>
26                                 </table>
27                 </td>
28                 <td style="border-left: 1px solid rgb(160, 160, 160);">
29                    &nbsp;
30                 </td>
31                 <td>
32                                 <h2><img class="center" alt="" src="images/fai_hook.png" align="middle" title="{t}Objects{/t}">&nbsp;
33                                         <LABEL for="SubObject">
34                                                 {t}List of hook scripts{/t}
35                                         </LABEL>
36                                 </h2>
37                                 <table width="100%" summary=''>
38                                 <tr>
39                                         <td>
40                                                 {$Entry_divlist}
41                                                 <!--
42                                                 <select name="SubObject[]" title="{t}Choose a hook to delete or edit{/t}" style="width:100%" size="20" id="SubObject" multiple>
43                                                         {html_options values=$SubObjectKeys output=$SubObjects}
44                                                 </select><br>
45                                                 <input type="submit" name="EditSubObject"    value="{t}Edit{/t}"    title="{t}Edit{/t}">
46                                                 <input type="submit" name="DelSubObject"     value="{t}Delete{/t}"  title="{t}Delete{/t}">
47                                                 -->
48                                                 <input type="submit" name="AddSubObject"     value="{t}Add{/t}"         title="{t}Add{/t}">
49                                         </td>
50                                 </tr>
51                                 </table>
52                 </td>
53         </tr>
54 </table>
55 <input type="hidden" value="1" name="FAIhook_posted">
56 <!-- Place cursor -->
57 <script language="JavaScript" type="text/javascript">
58   <!-- // First input field on page
59   document.mainform.description.focus();
60   -->
61 </script>