Code

Udpated JS focus,
[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" {$cnACL}>
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" {$descriptionACL} name="description" id="description">
24                                                 </td>
25                                         </tr>
26                                 </table>
27                 </td>
28         </tr>
29 </table>
30 <p class="seperator">&nbsp;</p>
31 <table width="100%" summary=''>
32         <tr>
33                 <td>
34                                 <h2><img class="center" alt="" src="images/fai_hook.png" align="middle" title="{t}Objects{/t}">&nbsp;
35                                         <LABEL for="SubObject">
36                                                 {t}List of hook scripts{/t}
37                                         </LABEL>
38                                 </h2>
39                                 <table width="100%" summary=''>
40                                 <tr>
41                                         <td>
42                                                 {$Entry_divlist}
43                                                 <input type="submit" name="AddSubObject"     value="{t}Add{/t}"         title="{t}Add{/t}" {$cnACL}>
44                                         </td>
45                                 </tr>
46                                 </table>
47                 </td>
48         </tr>
49 </table>
50 <input type="hidden" value="1" name="FAIhook_posted">
51 <!-- Place cursor -->
52 <script language="JavaScript" type="text/javascript">
53   <!-- // First input field on page
54         focus_field('cn','description');
55   -->
56 </script>