Code

Completed lvm partition changes
[gosa.git] / gosa-plugins / fai / admin / fai / faiHook.tpl
2 <table width="100%" summary='{t}FAI hook{/t}'>
3  <tr>
4   <td width="50%" valign="top">
5    <h3>{t}Generic{/t}
6    </h3>
7    <table summary="{t}Generic settings{/t}" cellspacing="4">
8     <tr>
9      <td><LABEL for="cn">{t}Name{/t}</LABEL>
10      </td>
11      <td>
12       {render acl=$cnACL}
13        <input type='text' value="{$cn}" size="45" maxlength="80" disabled id="cn">
14       {/render}
15      </td>
16     </tr>
17     <tr>
18      <td><LABEL for="description">{t}Description{/t}</LABEL>
19      </td>
20      <td>
21       {render acl=$descriptionACL}
22        <input type='text' value="{$description}" size="45" maxlength="80" name="description" id="description">
23       {/render}
24      </td>
25     </tr>
26    </table>
27   </td>
28  </tr>
29 </table>
30 <hr>
31 <table width="100%" summary='{t}List of hooks{/t}'>
32  <tr>
33   <td>
34    <h3>{t}List of hook scripts{/t}
35    </h3>
36    {$Entry_divlist}
37    
38    {if $sub_object_is_addable}
39     <button type='submit' name='AddSubObject' title="{msgPool type=addButton}">
40     {msgPool type=addButton}</button>
41     {else}
42     <button type='submit' name='AddSubObject' title="{msgPool type=addButton}">
43     {msgPool type=addButton}</button>
44     
45    {/if}
46   </td>
47  </tr>
48 </table>
49 <input type="hidden" value="1" name="FAIhook_posted"><!-- Place cursor -->
50 <script language="JavaScript" type="text/javascript"><!-- // First input field on page  focus_field('cn','description');  --></script>