{* * $Revision: 1.5 $ * If you want to customize this file, do not edit it directly since future upgrades * may overwrite it. Instead, copy it into a new directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. *}

{g->text text="Recover a lost or forgotten password"}

{g->text text="Recovering your password requires that your user account has an email address assigned, and that you have access to the listed email address. A confirmation will be emailed to you containing a URL which you must visit to set a new password for your account. To prevent abuse, password recovery requests can not be attempted more than once in a 20 minute period. A recovery confirmation is valid for seven days. If it is not used during that time, it will be purged from the system and a new request will have to be made."}
{if isset($status.requestSent)} {capture name="adminResetUrl"} {/capture}

{g->text text="Your recovery request has been sent!"}

{g->text text="Note that if the account does not have an email address, you may not receive the email and you should contact your system administrator for help."}

{g->text text="Administrators can use the %sEmergency Password Recovery%s page to recover the admin account if they fail to receive recovery email due to server problems, or lack of a working email address." arg1=$smarty.capture.adminResetUrl arg2="
"} {/if}

{g->text text="Username"}

{if isset($form.error.userName.missing)}
{g->text text="You must enter a username"}
{/if}
{* Include our extra ItemAddOptions *} {foreach from=$UserRecoverPassword.plugins item=plugin} {include file="gallery:`$plugin.file`" l10Domain=$plugin.l10Domain} {/foreach}