Code

Udpated JS focus,
[gosa.git] / plugins / personal / environment / hotplugDialogNew.tpl
index 635e93c962aabf9c9fe327d6d43ecdac19bf3ea2..b88bccf649995d43600e70e6707b53a673c5efd4 100644 (file)
@@ -4,7 +4,7 @@
        
 <table width="100%" summary="">
  <tr>
-  <td width="50%">
+  <td width="50%" style="vertical-align:top">
        <table summary="{t}Create new hotplug device{/t}" style="border-right:1px solid #B0B0B0;width:100%">
                <tr>
                        <td><LABEL for="HOT_name">{t}Device name{/t}</LABEL>{$must}
@@ -14,7 +14,7 @@
                        </td>
                </tr>
                <tr>
-                       <td><LABEL for="HOT_description">{t}Description{/t}</LABEL>{$must}
+                       <td><LABEL for="HOT_description">{t}Description{/t}</LABEL>
                        </td>
                        <td>
                                <input type="text" size=40 value="{$HOT_description}" name="HOT_description" id="HOT_description">
    </td>
    <td style="vertical-align:top">
        <table summary="">
-               <tr>
-                       <td><LABEL for="HOT_id">{t}Device ID{/t}</LABEL>{$must}
-                       </td>
-                       <td>
-                               <input type="text" value="{$HOT_id}" name="HOT_id" id="HOT_id">
-                       </td>
-               </tr>
+                <tr>
+                        <td><LABEL for="HOT_id">{t}Serial number{/t}&nbsp;{t}(iSerial){/t}</LABEL>{$must}
+                        </td>
+                        <td>
+                                <input type="text" value="{$HOT_id}" name="HOT_id" id="HOT_id">
+                        </td>
+                        <td colspan="2">&nbsp;</td>
+                </tr>
+                <tr>
+                        <td><LABEL for="HOT_vendor">{t}Vendor-ID{/t}&nbsp;{t}(idVendor){/t}</LABEL>{$must}
+                        </td>
+                        <td>
+                                <input type="text" value="{$HOT_vendor}" name="HOT_vendor" id="HOT_vendor">
+                        </td>
+                </tr>
+                <tr>
+                        <td><LABEL for="HOT_produkt">{t}Product-ID{/t}&nbsp;{t}(idProduct){/t}</LABEL>{$must}
+                        </td>
+                        <td>
+                                <input type="text" value="{$HOT_produkt}" name="HOT_produkt" id="HOT_produkt">
+                        </td>
+                </tr>
        </table>
 </table>
        <p class="seperator">&nbsp;</p>
@@ -40,7 +55,7 @@
        </p>
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page
-  document.mainform.HOT_name.focus();
+       focus_field('HOT_name');
   -->
 </script>