Code

Template update .
[gosa.git] / gosa-plugins / fai / 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 {render acl=$cnACL}
14                                                         <input value="{$cn}" size="45" maxlength="80" disabled id="cn">
15 {/render}
16                                                 </td>
17                                         </tr>
18                                         <tr>
19                                                 <td>
20                                                         <LABEL for="description">
21                                                         {t}Description{/t}
22                                                         </LABEL>
23                                                 </td>
24                                                 <td>
25 {render acl=$descriptionACL}
26                                                         <input value="{$description}" size="45" maxlength="80" name="description" id="description">
27 {/render}
28                                                 </td>
29                                         </tr>
30                                 </table>
31                 </td>
32         </tr>
33 </table>
34 <p class="seperator">&nbsp;</p>
35 <table width="100%" summary=''>
36         <tr>
37                 <td>
38                                 <h2><img class="center" alt="" src="images/fai_hook.png" align="middle" title="{t}Objects{/t}">&nbsp;
39                                         {t}List of hook scripts{/t}
40                                 </h2>
41                                 <table width="100%" summary=''>
42                                 <tr>
43                                         <td>
44                                                 {$Entry_divlist}
45 {if $sub_object_is_addable}
46                                                 <input type="submit" name="AddSubObject"     value="{msgPool type=addButton}"   title="{msgPool type=addButton}">
47 {else}
48                                                 <input type="submit" name="AddSubObject"     value="{msgPool type=addButton}"   title="{msgPool type=addButton}" disabled>
49 {/if}
50                                         </td>
51                                 </tr>
52                                 </table>
53                 </td>
54         </tr>
55 </table>
56 <input type="hidden" value="1" name="FAIhook_posted">
57 <!-- Place cursor -->
58 <script language="JavaScript" type="text/javascript">
59   <!-- // First input field on page
60         focus_field('cn','description');
61   -->
62 </script>