Code

Updated password change template for systems
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Apr 2010 08:29:51 +0000 (08:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Apr 2010 08:29:51 +0000 (08:29 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17924 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/password.tpl

index 5bcbe7368207c272de0d8c7ecbf7801b8486a206..d3f58fb346f4cef062cd49d6a888746a7c3b4cc4 100644 (file)
 
   <tr>
     <td><b><LABEL for="new_password">{t}New password{/t}</LABEL></b></td>
-    <td><input id="new_password" type="password" name="new_password" size="30" maxlength="40"
-               onkeyup="testPasswordCss(document.getElementById('new_password').value);"
-               onFocus="nextfield= 'repeated_password';"></td>
+    <td>
+        {factory type='password' id='new_password' name='new_password'
+            onkeyup="testPasswordCss(\$('new_password').value);" onfocus="nextfield='repeated_password';"}
+    </td>
   </tr>
   <tr>
     <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="nextfield= 'password_finish';"></td>
+    <td>
+        {factory type='password' id='repeated_password' name='repeated_password'
+            onfocus="nextfield='password_finish';"}
+    </td>
   </tr>
   <tr>
        <td>{t}Password strength{/t}</td>
 
 <hr>
 <div class="plugin-actions">
-  <button type='submit' name='password_finish'>{t}Set password{/t}</button>
-
-  <button type='submit' name='password_cancel'>{msgPool type=cancelButton}</button>
-
+  <button type='submit' id='password_finish'name='password_finish'>{t}Set password{/t}</button>
+  <button type='submit' id='password_cancel'name='password_cancel'>{msgPool type=cancelButton}</button>
 </div>