Code

Reset array of dns to delete, before adding new dns
[gosa.git] / gosa-plugins / goto / admin / devices / deviceGeneric.tpl
2 <h2>{t}Devices{/t}</h2>
4 <table width="100%" summary="">
5  <tr>
6   <td width="50%" style="vertical-align:top">
7     <table style="border-right:1px solid #B0B0B0;width:100%">
8         <tr>
9             <td><LABEL for="base">{t}Base{/t}</LABEL>
10             </td>
11             <td>
12                                 <select name="base">
13                                         {html_options options=$bases selected=$base}
14                                 </select>
15             </td>
16         </tr>
17         <tr>
18             <td><LABEL for="cn">{t}Device name{/t}</LABEL>{$must}
19             </td>
20             <td>
21                 <input type="text" size=40 value="{$cn}" name="cn" id="cn">
22             </td>
23         </tr>
24         <tr>
25             <td><LABEL for="description">{t}Description{/t}</LABEL>
26             </td>
27             <td>
28                 <input type="text" size=40 value="{$description}" name="description" id="description">
29             </td>
30         </tr>
31         <tr>
32             <td><LABEL for="description">{t}Device type{/t}</LABEL>
33             </td>
34             <td>
35                 <select id="type" size="1" name="type" title="{t}Choose the device type{/t}">
36                         {html_options options=$types selected=$type}
37                 </select>
38             </td>
39         </tr>
40     </table>
41    </td>
42    <td style="vertical-align:top">
43     <table summary="">
44         <tr>
45             <td><LABEL for="dev_id">{t}Serial number{/t}&nbsp;{t}(iSerial){/t}</LABEL>{$must}
46             </td>
47             <td>
48                 <input type="text" value="{$dev_id}" name="dev_id" id="dev_id">
49             </td>
50             <td colspan="2">&nbsp;</td>
51         </tr>
52         <tr>
53             <td><LABEL for="vendor">{t}Vendor-ID{/t}&nbsp;{t}(idVendor){/t}</LABEL>{$must}
54             </td>
55             <td>
56                 <input type="text" value="{$vendor}" name="vendor" id="vendor">
57             </td>
58         </tr>
59         <tr>
60           <td><LABEL for="produkt">{t}Product-ID{/t}&nbsp;{t}(idProduct){/t}</LABEL>{$must}
61             </td>
62             <td>
63                 <input type="text" value="{$serial}" name="serial" id="serial">
64             </td>
65         </tr>
66     </table>
67 </table>
68 <input type='hidden' value="1" name="deviceGeneric_posted">
69 <script language="JavaScript" type="text/javascript">
70   <!-- // First input field on page
71     focus_field('name');
72   -->
73 </script>