Code

Udpated JS focus,
[gosa.git] / plugins / admin / systems / password.tpl
index 131d8dc81a6d9ceaae1030f9d686603323329532..734a4ae0c443f629c34b36070c0acd7664167377 100644 (file)
@@ -1,5 +1,8 @@
 <p>
- {t}To change the terminal root password use the fields below. The changes take effect during next reboot. Please memorize the new password, because the you would't be able to log in. <b>Leave fields blank for password inheritance from default entries.</b>{/t}
+ {t}To change the terminal root password use the fields below. The changes take effect during the next reboot. Please memorize the new password, because you wouldn't be able to log in.{/t}
+</p>
+<p>
+ <b>{t}Leave fields blank for password inheritance from default entries.{/t}</b>
 </p>
 
 <p>
@@ -30,7 +33,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>