1 <table width="100%" summary='{t}FAI hook{/t}'>
2 <tr>
3 <td width="50%" valign="top">
4 <h3>{t}Generic{/t}</h3>
5 <table summary="{t}Generic settings{/t}" 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 type='text' 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 type='text' 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 <hr>
35 <table width="100%" summary='{t}List of hooks{/t}'>
36 <tr>
37 <td>
38 <h3>
39 {t}List of hook scripts{/t}
40 </h3>
41 {$Entry_divlist}
42 {if $sub_object_is_addable}
43 <button type='submit' name='AddSubObject' title="{msgPool type=addButton}">{msgPool type=addButton}</button>
44 {else}
45 <button type='submit' name='AddSubObject' title="{msgPool type=addButton}">{msgPool type=addButton}</button>
46 {/if}
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>