diff --git a/gosa-core/ihtml/themes/default/password.tpl b/gosa-core/ihtml/themes/default/password.tpl
index 1553ead412c8d272e734d7e7315df6adbcd91cc2..0dfc2f5fb05934202a59c2a1d57508ce0828c38b 100644 (file)
<meta http-equiv="Cache-Control" content="post-check=0, pre-check=0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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">
{if isset($ieworkaround)}<script language="javascript"src="include/png.js" type="text/javascript"></script>{/if}
<style type="text/css">@import url('themes/default/password-style.css');</style>
<link rel="shortcut icon" href="favicon.ico">
{if isset($ieworkaround)}<script language="javascript"src="include/png.js" type="text/javascript"></script>{/if}
- <script language="javascript"src="include/focus.js" type="text/javascript"></script>
- <script language="javascript"src="include/warning.js" type="text/javascript"></script>
+ <script language="javascript" src="include/prototype.js" type="text/javascript"></script>
+ <script language="javascript" src="include/gosa.js" type="text/javascript"></script>
+ <script language="javascript" src="include/pwdStrength.js" type="text/javascript"></script>
</head>
<body style='height:100%; width:100%;'>
</head>
<body style='height:100%; width:100%;'>
<tr>
<td>{t}Username{/t}</td>
<td>{if $display_username}
<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}
{else}
<i>{$uid}</i>
{/if}
</tr>
<tr>
<td>{t}Current password{/t}</td>
</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>
</tr>
<tr>
<td>{t}New password{/t}</td>
- <td><input type='password' name='new_password' maxlength='25' value='' title='{t}New password{/t}' onFocus="nextfield= 'new_password_repeated';"></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>
</tr>
<tr>
- <td>{t}New password{/t} ({t}again{/t})</td>
- <td><input type='password' name='new_password_repeated' maxlength='25' value='' title='{t}New password repeated{/t}' onFocus="nextfield= 'apply';"></td>
+ <td>{t}New password repeated{/t}</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>
+ <td>
+ <span id="meterEmpty" style="padding:0;margin:0;width:100%;background-color:#DC143C;display:block;height:5px;">
+ <span id="meterFull" style="padding:0;margin:0;z-index:100;width:0;background-color:#006400;display:block;height:5px;"></span></span>
+ </td>
</tr>
</table>
<div class="ruler"></div>
<div class="change">
</tr>
</table>
<div class="ruler"></div>
<div class="change">
- <input type='submit' name='apply' value='{t}Change{/t}'
+ <input type='submit' name='apply' value='{t}Change{/t}'
title='{t}Click here to change your password{/t}'>
title='{t}Click here to change your password{/t}'>
+ <input type='hidden' id='formSubmit'>
</div>
<!-- check, if cookies are enabled -->
<p class='warning'>
</div>
<!-- check, if cookies are enabled -->
<p class='warning'>
{/if}
{/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');
<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>
-->
</script>