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_verify.tpl
2011-05-03 09:49:01 +10:00

108 lines
4.0 KiB
Smarty

{assign var=meth value=':'|explode:$VAR._page}
<!-- {$meth.0}:{$meth.1} -->
{if $VAR.verify != ''}
{$method->exe_noauth('account','user_verify')}
{else}
{assign var='verify_results' value='none'}
{/if}
{if $verify_results == false || $VAR.verify == ''}
<form id="user_verify" 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 module=account method=user_verify}</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 verification code from the email you recieved below. If you have not recieved the verification email, or are having trouble, you can use the form below to request that the verification email be resent.{/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 style="width: 25%;">{t}Verification Code{/t}</td>
<td style="width: 75%;"><input type="text" name="verify" value="{$VAR.verify}" size="32"/></td>
</tr>
<tr class="row1" valign="middle" align="left">
<td style="width: 25%;"></td>
<td style="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.0}"/>
</div>
</form>
{/if}
{if $verify_results != '1'}
<br/>
<form id="user_verify_resend" 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 module=account method=user_verify_resend}</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}If you are having trouble with the verification code, or never received the verification email, you can use this form to request that we resend the verification email to you. Please enter either your username or email address, not both.{/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 style="width: 25%;">{osb f=tf module=account field=email}</td>
<td style="width: 75%;"><input type="text" name="account_email" value="{$VAR.account_email}" size="22"/></td>
</tr>
<tr class="row1" valign="middle" align="left">
<td style="width: 25%;">{osb f=tf module=account field=username}</td>
<td style="width: 75%;"><input type="text" name="account_username"/></td>
</tr>
<tr class="row1" valign="middle" align="left">
<td style="width: 25%;"></td>
<td style="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}:user_verify_resend"/>
</div>
</form>
{/if}