Code

Updated dns and dhcp integration
[gosa.git] / plugins / admin / users / password.tpl
index 65f93e7475bc6621a35eb0b04ea8397bc6152ced..83dfc24948a1236c1b73973ac64cd32b1746b092 100644 (file)
@@ -6,14 +6,14 @@
  {t}Changing the password affects your authentification on mail, proxy, samba and unix services.{/t}
 </p>
 
-<table style="vertical-align:top; text-align:left;" cellpadding=4 border=0>
+<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>