Code

Udpated JS focus,
[gosa.git] / plugins / personal / password / password.tpl
index ff6ef92d24aecd77a45fcb6b2fb37f4373e45a73..0787b70566491cc53cf958f85ade4faecbc66c3b 100644 (file)
@@ -1,7 +1,3 @@
-<div class="plugtop">
-  <img alt="" src="{$headimage}" align=middle>{t}Change password{/t}
-</div>
-
 <p>
   {t}To change your personal password use the fields below. The changes take effect immediately. Please memorize the new password, because you wouldn't be able to login without it.{/t}
 </p>
@@ -33,7 +29,7 @@
 <p class="plugbottom">
   <input type=submit name="password_finish" value="{t}Set password{/t}">
   &nbsp;
-  <input type=reset id="" name="password_cancel" value="{t}Clear fields{/t}">
+  <input type=reset id="password_cancel" name="password_cancel" value="{t}Clear fields{/t}">
 </p>
 
 <input type="hidden" name="ignore">
@@ -42,7 +38,7 @@
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page
   nextfield= 'current_password';
-  document.mainform.current_password.focus();
+       focus_field('current_password');
   -->
 </script>