1553ead412c8d272e734d7e7315df6adbcd91cc2
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 </head>
27 <body style='height:100%; width:100%;'>
28 {* GOsa login - smarty template *}
29 {$php_errors}
31 {if $changed}
32 <div class='success'">
33 <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>
34 </div>
35 {else}
36 <form action='password.php{$params}' method='post' name='mainform' onSubmit='js_check(this);return true;'>
37 <h1 class='headline'>
38 <img class='center' src='{$password_img}' alt='{t}Password{/t}' title='{t}Password{/t}'>
39 {t}Password change{/t}
40 </h1>
42 <!-- Display SSL warning message on demand -->
43 <p class='warning'> {$ssl} </p>
44 <input type='hidden' name='javascript' value='false'/>
46 <!-- Display error message on demand -->
47 <p class='warning'> {$message} </p>
50 <p class="infotext">
51 {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}
52 </p>
54 <div class="ruler"></div>
55 <table>
56 {if $show_directory_chooser}
57 <tr>
58 <td>{t}Directory{/t}</td>
59 <td>
60 <select name='server' title='{t}Directory{/t}'>
61 {html_options options=$server_options selected=$server_id}
62 </select>
63 </td>
64 </tr>
65 {/if}
66 <tr>
67 <td>{t}Username{/t}</td>
68 <td>{if $display_username}
69 <input type='text' name='uid' maxlength='25' value='{$uid}' title='{t}Username{/t}' onFocus="nextfield= 'current_password';">
70 {else}
71 <i>{$uid}</i>
72 {/if}
73 </td>
74 </tr>
75 <tr>
76 <td>{t}Current password{/t}</td>
77 <td><input type='password' name='current_password' maxlength='25' value='' title='{t}Current password{/t}' onFocus="nextfield= 'new_password';"></td>
78 </tr>
79 <tr>
80 <td>{t}New password{/t}</td>
81 <td><input type='password' name='new_password' maxlength='25' value='' title='{t}New password{/t}' onFocus="nextfield= 'new_password_repeated';"></td>
82 </tr>
83 <tr>
84 <td>{t}New password{/t} ({t}again{/t})</td>
85 <td><input type='password' name='new_password_repeated' maxlength='25' value='' title='{t}New password repeated{/t}' onFocus="nextfield= 'apply';"></td>
86 </tr>
87 </table>
89 <div class="ruler"></div>
91 <div class="change">
92 <input type='submit' name='apply' value='{t}Change{/t}'
93 title='{t}Click here to change your password{/t}'>
94 </div>
95 <!-- check, if cookies are enabled -->
96 <p class='warning'>
97 <script language="JavaScript" type="text/javascript">
98 <!--
99 document.cookie = "gosatest=empty;path=/";
100 if (document.cookie.indexOf( "gosatest=") > -1 )
101 document.cookie = "gosatest=empty;path=/;expires=Thu, 01-Jan-1970 00:00:01 GMT";
102 else
103 document.write("{$cookies}");
104 -->
105 </script>
106 </p>
108 </form>
110 {/if}
112 <table class='iesucks'><tr><td>{$errors}</td></tr></table>
114 <!-- Place cursor in username field -->
115 <script language="JavaScript" type="text/javascript">
116 <!-- // First input field on page
117 focus_field('error_accept','uid','directory', 'username', 'current_password');
118 -->
119 </script>
121 </body>
122 </html>