This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/themes/default/blocks/account/user_password_reset.tpl

69 lines
2.6 KiB
Smarty
Raw Normal View History

2009-08-03 04:10:16 +00:00
{assign var=meth value=':'|explode:$VAR._page}
<!-- {$meth.0}:{$meth.1} -->
{if $VAR.validate == ''}
{t}The link you followed has either expired, or been malformed by your email reader. If you suspect that it did not copy correctly from your email reader, please paste the entire link from your email reader to the address bar in your browser. Otherwise, you can restart your password reset request by clicking the link below:{/t}<br/>
<br/>
<a href="?_page=account:user_password">{t}Submit{/t}</a>
<br>
{elseif $pw_changed != true}
{if $VAR.type == 'expired'}
<p><b>Your current password has expired. Please select a new password below in order to login.</b></p>
{/if}
<form id="user_password_reset" method="post" action="" enctype="multipart/form-data">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr valign="top">
<td class="table_heading">{osb f=tt}</td>
</tr>
<tr valign="top">
<td class="row1">
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
<tr class="row1" valign="middle" align="left">
<td>{t}Please enter the new password for your account below.{/t}<br/>
<br/>
</td>
</tr>
<tr class="row1" valign="middle" align="left">
<td>
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
<tr class="row1" valign="middle" align="left">
<td class="width: 25%;">{osb f=tf field=password}</td>
<td class="width: 75%;"><input type="password" name="account_password" value="" size="32"/></td>
</tr>
<tr class="row1" valign="middle" align="left">
<td class="width: 25%;">{t}Confirm Password{/t}</td>
<td class="width: 75%;"><input type="password" name="confirm_password" value="" size="32"/></td>
</tr>
<tr class="row1" valign="middle" align="left">
<td class="width: 25%;">&nbsp;</td>
<td class="width: 75%;"><input type="submit" name="Submit" value="{t}Submit{/t}" class="form_button"/></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<div>
<input type="hidden" name="_page" value="{$VAR._page}"/>
<input type="hidden" name="do[]" value="{$meth.0}:{$meth.1}"/>
<input type="hidden" name="validate" value="{$VAR.validate}"/>
</div>
</form>
{else}
<input id="" type="submit" name="{t}Account Options{/t}" value="{t}Account Options{/t}" onclick="document.location='?_page=account:account'"/>
{/if}