/
change_password.tpl
executable file
·36 lines (33 loc) · 1.32 KB
/
change_password.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{*
* Copyright (c) 2004-2011 OIC Group, Inc.
* Written and Designed by Adam Kessler
*
* This file is part of Exponent
*
* Exponent is free software; you can redistribute
* it and/or modify it under the terms of the GNU
* General Public License as published by the Free
* Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* GPL: http://www.gnu.org/licenses/gpl.txt
*
*}
<div class="module users change-password">
<div class="info-header">
<div class="related-actions">
{help text="Get Help"|gettext|cat:" "|cat:("Changing User Passwords"|gettext) module="change-my-password"}
</div>
<h1>Change {if $isuser}your{else}{$u->username}'s{/if} password</h1>
</div>
<p>To change your password enter your current password and then enter what you would like your new password to be.</p>
{form action=save_change_password}
{control type="hidden" name="uid" value=$u->id}
{if $isuser}
{control type="password" name="password" label="Current Password"}
{/if}
{control type="password" name="new_password1" label="Enter your new password"}
{control type="password" name="new_password2" label="Confirm your new password"}
{control type="buttongroup" submit="Change My Password" cancel="Cancel"}
{/form}
</div>