e7a3b87f3446fe55b2ceabae29a952fb4603e8c3
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/transitional.dtd">
3 <html>
5 <head>
6 <title>GOsa - {t}Change your password{/t}</title>
8 <meta name="generator" content="my hands">
9 <meta name="description" content="GOsa - Password changer">
10 <meta name="author" lang="de" content="Cajus Pollmeier">
12 <meta http-equiv="Expires" content="Mon, 26 Jul 1997 05:00:00 GMT">
13 <meta http-equiv="Last-Modified" content="{$date} GMT">
14 <meta http-equiv="Cache-Control" content="no-cache">
15 <meta http-equiv="Pragma" content="no-cache">
16 <meta http-equiv="Cache-Control" content="post-check=0, pre-check=0">
17 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
19 <style type="text/css">@import url('themes/default/password-style.css');</style>
20 <link rel="shortcut icon" href="favicon.ico">
22 {if isset($ieworkaround)}<script language="javascript"src="include/png.js" type="text/javascript"></script>{/if}
23 <script language="javascript" src="include/focus.js" type="text/javascript"></script>
24 <script language="javascript" src="include/warning.js" type="text/javascript"></script>
25 <script language="javascript" src="include/pwdStrength.js" type="text/javascript"></script>
26 </head>
28 <body style='height:100%; width:100%;'>
29 {* GOsa login - smarty template *}
30 {$php_errors}
32 {if $changed}
33 <div class='success'">
34 <img class='center' src='images/true.png' alt='{t}Success{/t}' title='{t}Success{/t}'> <b>{t}Your password has been changed successfully.{/t}</b>
35 </div>
36 {else}
37 <form action='password.php{$params}' method='post' name='mainform' onSubmit='js_check(this);return true;'>
38 <h1 class='headline'>
39 <img class='center' src='{$password_img}' alt='{t}Password{/t}' title='{t}Password{/t}'>
40 {t}Password change{/t}
41 </h1>
43 <!-- Display SSL warning message on demand -->
44 <p class='warning'> {$ssl} </p>
45 <input type='hidden' name='javascript' value='false'/>
47 <!-- Display error message on demand -->
48 <p class='warning'> {$message} </p>
51 <p class="infotext">
52 {t}This dialog provides a simple way to change your password. Enter the current password and the new password (twice) in the fields below and press the 'Change' button.{/t}
53 </p>
55 <div class="ruler"></div>
56 <table>
57 {if $show_directory_chooser}
58 <tr>
59 <td>{t}Directory{/t}</td>
60 <td>
61 <select name='server' title='{t}Directory{/t}'>
62 {html_options options=$server_options selected=$server_id}
63 </select>
64 </td>
65 </tr>
66 {/if}
67 <tr>
68 <td>{t}Username{/t}</td>
69 <td>{if $display_username}
70 <input type='text' name='uid' maxlength='40' value='{$uid}' title='{t}Username{/t}' onFocus="nextfield= 'current_password';">
71 {else}
72 <i>{$uid}</i>
73 {/if}
74 </td>
75 </tr>
76 <tr>
77 <td>{t}Current password{/t}</td>
78 <td><input type='password' name='current_password' maxlength='40' value='' title='{t}Current password{/t}' onFocus="nextfield= 'new_password';"></td>
79 </tr>
80 <tr>
81 <td>{t}New password{/t}</td>
82 <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>
83 </tr>
84 <tr>
85 <td>{t}New password repeated{/t}</td>
86 <td><input type='password' name='new_password_repeated' maxlength='40' value='' title='{t}New password repeated{/t}' onFocus="nextfield= 'apply';"></td>
87 </tr>
88 <tr>
89 <td>{t}Password strength{/t}</td>
90 <td>
91 <span id="meterEmpty" style="padding:0;margin:0;width:100%;background-color:#DC143C;display:block;height:5px;">
92 <span id="meterFull" style="padding:0;margin:0;z-index:100;width:0;background-color:#006400;display:block;height:5px;"></span></span>
93 </td>
94 </tr>
95 </table>
97 <div class="ruler"></div>
99 <div class="change">
100 <input type='submit' name='apply' value='{t}Change{/t}'
101 title='{t}Click here to change your password{/t}'>
102 <input type='hidden' id='formSubmit'>
103 </div>
104 <!-- check, if cookies are enabled -->
105 <p class='warning'>
106 <script language="JavaScript" type="text/javascript">
107 <!--
108 document.cookie = "gosatest=empty;path=/";
109 if (document.cookie.indexOf( "gosatest=") > -1 )
110 document.cookie = "gosatest=empty;path=/;expires=Thu, 01-Jan-1970 00:00:01 GMT";
111 else
112 document.write("{$cookies}");
113 -->
114 </script>
115 </p>
117 </form>
119 {/if}
121 <table class='iesucks'><tr><td>{$errors}</td></tr></table>
123 <!-- Place cursor in username field -->
124 <script language="JavaScript" type="text/javascript">
125 <!-- // First input field on page
126 focus_field('error_accept','uid','directory', 'username', 'current_password');
127 -->
128 </script>
130 </body>
131 </html>