{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 and $source !== "sms"}

{$msg_resetbytokenhelp|unescape: "html" nofilter}

{elseif show_help and $source === "sms"}

{$msg_resetbysmshelp|unescape: "html" nofilter}

{/if} {if $result !== "tokenrequired" and $result !== "tokennotvalid"} {if $pwd_show_policy !== "never" and $pwd_show_policy_pos === 'above'} {include file="policy.tpl"} {/if}
{if $pwd_show_policy !== "never" and $pwd_show_policy_pos === 'below'} {include file="policy.tpl"} {/if} {/if} {/if}