Code

Disable prototype by default, add datepicker for later use
[gosa.git] / gosa-core / ihtml / themes / default / password.tpl
index ffae9c3acfe02284686b969037543e9f8efe8686..8956e517539cc79da8791b8ca658ed2497e55bee 100644 (file)
@@ -16,6 +16,7 @@
   <meta http-equiv="Cache-Control" content="post-check=0, pre-check=0">
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
+  <style type="text/css">@import url('themes/default/style.css');</style>
   <style type="text/css">@import url('themes/default/password-style.css');</style>
   <link rel="shortcut icon" href="favicon.ico">
 
@@ -67,7 +68,7 @@
       <tr>
        <td>{t}Username{/t}</td>
        <td>{if $display_username}
-           <input type='text' name='uid' maxlength='25' value='{$uid}' title='{t}Username{/t}' onFocus="nextfield= 'current_password';">
+           <input type='text' name='uid' maxlength='40' value='{$uid}' title='{t}Username{/t}' onFocus="nextfield= 'current_password';">
            {else}
            <i>{$uid}</i>
            {/if}
       </tr>
       <tr>
        <td>{t}Current password{/t}</td>
-       <td><input type='password' name='current_password' maxlength='25' value='' title='{t}Current password{/t}' onFocus="nextfield= 'new_password';"></td>
+       <td><input type='password' name='current_password' maxlength='40' value='' title='{t}Current password{/t}' onFocus="nextfield= 'new_password';"></td>
       </tr>
       <tr>
        <td>{t}New password{/t}</td>
-       <td><input type='password' name='new_password' id="new_password" maxlength='25' value='' title='{t}New password{/t}' onFocus="nextfield= 'new_password_repeated';" onkeyup="testPasswordCss(document.getElementById('new_password').value);"></td>
+       <td><input type='password' name='new_password' id="new_password" maxlength='40' value='' title='{t}New password{/t}' onFocus="nextfield= 'new_password_repeated';" onkeyup="testPasswordCss(document.getElementById('new_password').value);"></td>
       </tr>
       <tr>
        <td>{t}New password repeated{/t}</td>
-       <td><input type='password' name='new_password_repeated' maxlength='25' value='' title='{t}New password repeated{/t}' onFocus="nextfield= 'apply';"></td>
+       <td><input type='password' name='new_password_repeated' maxlength='40' value='' title='{t}New password repeated{/t}' onFocus="nextfield= 'apply';"></td>
       </tr>
       <tr>
        <td>{t}Password strength{/t}</td>
 
 {/if}
 
+{$msg_dialogs}
+
 <table class='iesucks'><tr><td>{$errors}</td></tr></table>
 
 <!-- Place cursor in username field -->
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page
   focus_field('error_accept','uid','directory', 'username', 'current_password');
+  next_msg_dialog();
   -->
 </script>