{combine_css id='standard_pages_css' path="themes/standard_pages/skins/{$STD_PGS_SELECTED_SKIN}.css" order=100} {combine_css path="themes/default/vendor/fontello/css/gallery-icon.css" order=-10} {combine_script id='standard_pages_js' load='async' require='jquery' path='themes/standard_pages/js/standard_pages.js'}
{'Help'|translate} {if isset($errors['password_page_error'])}
{foreach from=$errors['password_page_error'] item=error}

{$error}

{/foreach}
{/if}
{if 'none' != $STD_PGS_SELECTED_LOGO}
{if 'piwigo_logo' == $STD_PGS_SELECTED_LOGO} {else if 'custom_logo' == $STD_PGS_SELECTED_LOGO} {else if 'gallery_title'}

{$GALLERY_TITLE}

{/if}
{/if}
{if $action eq 'lost' or $action eq 'reset' or $action eq 'lost_code'}

{if !isset($is_first_login)}{'Forgot your password?'|translate}{else}{'Welcome !'|translate}
{'It\'s your first login !'|translate}{/if}

{if $action eq 'lost'}

{'Please enter your username or email address.'|@translate} {'You will receive a link to create a new password via email.'|@translate}

{'must not be empty'|translate}

{if isset($errors['password_form_error'])}

{$errors['password_form_error']}

{/if}
{elseif $action eq 'reset'}

{if !isset($is_first_login)} {'Hello %s, enter your new password below.'|@translate:$username} {else} {'Let\'s set your password below.'|translate} {/if}

{if isset($is_first_login)}
{/if}

{'must not be empty'|translate}

{'must not be empty'|translate}

{elseif $action eq 'lost_code'} {'If your account exists, a verification code has been sent to your email address.'|translate}

{'must not be empty'|translate}

{if isset($errors['password_form_error'])}

{$errors['password_form_error']}

{/if}

{"If you do not receive the email, please contact your webmaster."|translate}

{/if}
{else} {if $action eq 'lost_end'} {'An email has been sent with a link to reset your password'|translate}

{'Check your inbox.'|translate}

{elseif $action eq 'reset_end'} {if isset($is_first_login)}{assign var="string" value=""}{else}{assign var="string" value="reset"}{/if} {if isset($is_first_login)} {'Your password was successfully set'|translate} {else} {'Your password was successfully reset'|translate} {/if} {'Login'|translate} {else}

{'An error has occured please got back to Sign in or Register'|translate}

{/if} {/if}
{'Return to the gallery'|translate} {if count($language_options) > 1}
{foreach from=$language_options key=code item=lang} {$lang} {/foreach}
{$language_options[$current_language]}
{/if}