Code

Updated dns and dhcp integration
[gosa.git] / plugins / admin / users / password.tpl
index d37a1f2786571ba7bf26007bd1a169fe3bd0a099..83dfc24948a1236c1b73973ac64cd32b1746b092 100644 (file)
@@ -8,12 +8,12 @@
 
 <table summary="" style="vertical-align:top; text-align:left;" cellpadding=4 border=0>
   <tr>
-    <td><b>{t}New password{/t}</b></td>
-    <td><input type="password" name="new_password" size="30" maxlength="40" onFocus="nextfield= 'repeated_password';"></td>
+    <td><b><LABEL for="new_password">{t}New password{/t}</LABEL></b></td>
+    <td><input type="password" id="new_password" name="new_password" size="30" maxlength="40" onFocus="nextfield= 'repeated_password';"></td>
   </tr>
   <tr>
-    <td><b>{t}Repeat new password{/t}</b></td>
-    <td><input type="password" name="repeated_password" size="30" maxlength="40" onFocus="nextfiled= 'password_finish'"></td>
+    <td><b><LABEL for="repeated_password">{t}Repeat new password{/t}</LABEL></b></td>
+    <td><input type="password" id="repeated_password" name="repeated_password" size="30" maxlength="40" onFocus="nextfiled= 'password_finish'"></td>
   </tr>
 </table>
 <br>
@@ -26,7 +26,7 @@
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page
-  nextfield= "new_password";
-  document.mainform.new_password.focus();
+       nextfield= "new_password";
+       focus_field('new_password');
   -->
 </script>