1 {* GOsa dhcp host - smarty template *}
2 <p><b>{t}Generic{/t}</b></p>
3 <table width="100%">
4 <tr>
5 <td width="50%" style="vertical-align:top">
6 <table>
7 <tr>
8 <td>{t}Name{/t}{$must}</td>
9 <td>
10 <input type='text' name='cn' size='25' maxlength='80' value='{$cn}'
11 title='{t}Name of host{/t}'>
12 </td>
13 </tr>
14 <tr>
15 <td>{t}Fixed address{/t}</td>
16 <td>
17 <input type='text' name='fixedaddr' size='25' maxlength='80' value='{$fixedaddr}'
18 title='{t}Use hostname or IP-address to assign fixed address{/t}'>
19 </td>
20 </tr>
21 </table>
22 </td>
23 <td>
24 <table>
25 <tr>
26 <td>{t}Hardware type{/t}</td>
27 <td>
28 <select name='hwtype'>
29 {html_options options=$hwtypes selected=$hwtype}
30 </select>
31 </td>
32 </tr>
33 <tr>
34 <td>{t}Hardware address{/t}</td>
35 <td>
36 <input type='text' name='dhcpHWAddress' size='20' maxlength='18' value='{$dhcpHWAddress}'>
37 </td>
38 </tr>
39 </table>
40 </td>
41 </tr>
42 </table>
44 <p class="seperator"></p>
46 <!-- Include network settings -->
48 <!-- Include advanced settings -->
51 <div style='background-color:#F09090;width:100%;height:20px;text-align:right'>
52 Temporary escape:
53 <input type=submit name="cancel_section" value="{t}Escape{/t}">
54 </div>
56 <!-- Place cursor in correct field -->
57 <script language="JavaScript" type="text/javascript">
58 <!-- // First input field on page
59 document.mainform.cn.focus();
60 -->
61 </script>