1 {* GOsa dhcp host - smarty template *}
2 <h3>{t}DNS update key{/t}</h3>
4 <table width="100%">
5 <tr>
6 <td>{t}Key name{/t}{$must}</td>
7 <td>
8 <input id='cn' type='text' name='cn' size='25' maxlength='80' value='{$cn}'
9 title='{t}Name of Key{/t}'>
10 </td>
11 </tr>
12 <tr>
13 <td>{t}Encryption method{/t}</td>
14 <td>
15 <select name='dhcpKeyAlgorithm'>
16 {html_options options=$dhcpKeyAlgorithms selected=$dhcpKeyAlgorithm}
17 </select>
18 </td>
19 </tr>
20 <tr>
21 <td>{t}Key{/t}{$must}</td>
22 <td>
23 <input type='text' name='dhcpKeySecret' size='30' maxlength='80' value='{$dhcpKeySecret}'>
24 </td>
25 </tr>
26 </table>
28 <input type='hidden' name='dhcp_tsigkey_posted' value='1'>
29 <hr>
31 <!-- Place cursor in correct field -->
32 <script language="JavaScript" type="text/javascript">
33 <!-- // First input field on page
34 focus_field('cn');
35 -->
36 </script>