{* $Id: tiki-remind_password.tpl 18403 2009-05-03 22:33:27Z marclaporte $ *}
{title admpage='login'}{tr}I forgot my password{/tr}{/title}

{if $showmsg ne 'n'}
  {if $showmsg eq 'e'}<span class="warn">{icon _id=exclamation alt="{tr}Error{/tr}" style="vertical-align:middle;align:left;"}{else}{icon _id=accept alt="{tr}OK{/tr}" style="vertical-align:middle;align:left;"} {/if} 
{if $prefs.login_is_email ne 'y'}
  {$msg|escape:'html'|@default:'{tr}Enter your username or email.{/tr}'}
{else}
  {$msg|escape:'html'|@default:'{tr}Enter your email.{/tr}'}
{/if}
  {if $showmsg eq 'e'}</span>{/if}
  <br /><br />
{/if}

{if $showfrm eq 'y'}
  <form action="tiki-remind_password.php" method="post">
  <table class="form">
  {if $prefs.login_is_email ne 'y'}
  <tr>
    <td class="formcolor">{tr}Username{/tr}</td>
	<td class="formcolor"><input type="text" name="name" /></td>
  </tr>
  <tr><td class="formcolor" colspan="2">{tr}or{/tr}</td></tr>
  {/if}
  <tr>
    <td class="formcolor">{tr}Email{/tr}</td>
    <td class="formcolor">{if $prefs.login_is_email ne 'y'}<input type="text" name="email" />{else}<input type="text" name="name" />{/if}</td>
  </tr><tr>
    <td class="formcolor" colspan="2"><input type="submit" name="remind" value="{if $prefs.feature_clear_passwords eq 'y'}{tr}Send me my Password{/tr}{else}{tr}Request Password Reset{/tr}{/if}" /></td>
  </tr>  
  </table>
  </form>
{/if}
