{* DO NOT EDIT THIS FILE! Use an override template instead. *}
<form action={concat($module.functions.password.uri,"/",$userID)|ezurl} method="post" name="Password">

<div class="maincontentheader">
<h1>{"Change password for user"|i18n("design/standard/user")} {$userAccount.login}</h1>
</div>

{section show=$message}
{section show=or($oldPasswordNotValid,$newPasswordNotMatch)}
    {section show=$oldPasswordNotValid}
        <div class="warning">
            <h2>{'Please retype your old password.'|i18n('design/standard/user')}</h2>
        </div>
    {/section}
    {section show=$newPasswordNotMatch}
        <div class="warning">
            <h2>{"Password didn't match, please retype your new password."|i18n('design/standard/user')}</h2>
        </div>
    {/section}

{section-else}
    <div class="feedback">
        <h2>{'Password successfully updated.'|i18n('design/standard/user')}</h2>
    </div>
{/section}

{/section}

<div class="block">
{section show=$oldPasswordNotValid}*{/section}
<label>{"Old password"|i18n("design/standard/user")}</label><div class="labelbreak"></div>
<input class="halfbox" type="password" name="oldPassword" size="11" value="{$oldPassword}" />
</div>

<div class="block">
<div class="element">
{section show=$newPasswordNotMatch}*{/section}
<label>{"New password"|i18n("design/standard/user")}</label><div class="labelbreak"></div>
<input class="halfbox" type="password" name="newPassword" size="11" value="{$newPassword}" />
</div>
<div class="element">
{section show=$newPasswordNotMatch}*{/section}
<label>{"Retype password"|i18n("design/standard/user")}</label><div class="labelbreak"></div>
<input class="halfbox" type="password" name="confirmPassword" size="11" value="{$confirmPassword}" />
</div>
<div class="break"></div>
</div>

<div class="buttonblock">
<input class="defaultbutton" type="submit" name="OKButton" value="{'OK'|i18n('design/standard/user')}" />
<input class="button" type="submit" name="CancelButton" value="{'Cancel'|i18n('design/standard/user')}" />
</div>

</form>
