{if $prehook_return and $display_prehook_error and $prehook_return > 0}

{$prehook_output[0]}

{/if} {if $posthook_return and $display_posthook_error and $posthook_return > 0}

{$posthook_output[0]}

{/if} {if $result !== "passwordchanged"} {if $show_help }

{$msg_changehelp}

{if $msg_changehelpextramessage}

{$msg_changehelpextramessage}

{/if} {if !$show_menu and ($use_question or $use_tokens or $use_sms or $change_sshkey) }

{$msg_changehelpextramessage}

{/if}
{/if} {if $pwd_show_policy !== "never" and $pwd_show_policy_pos === 'above'} {include file="policy.tpl"} {/if}
{if ($use_captcha)} {include file="captcha.tpl"} {/if}
{if $pwd_show_policy !== "never" and $pwd_show_policy_pos === 'below'} {include file="policy.tpl"} {/if} {elseif $msg_passwordchangedextramessage}

{$msg_passwordchangedextramessage}

{/if}