| 1 | {include file='header'} |
| 2 | |
| 3 | {if $__wcf->user->userID && $__wcf->user->activationCode}<p class="info">{lang}wcf.user.registerActivation.info{/lang}</p>{/if} |
| 4 | |
| 5 | {include file='formError'} |
| 6 | |
| 7 | <form method="post" action="{link controller='RegisterActivation'}{/link}"> |
| 8 | <div class="section"> |
| 9 | <dl{if $errorField == 'username'} class="formError"{/if}> |
| 10 | <dt><label for="username">{lang}wcf.user.username{/lang}</label></dt> |
| 11 | <dd> |
| 12 | <input type="text" id="username" name="username" value="{$username}" required="required" class="medium" /> |
| 13 | {if $errorField == 'username'} |
| 14 | <small class="innerError"> |
| 15 | {if $errorType == 'notFound'}{lang}wcf.user.username.error.notFound{/lang}{/if} |
| 16 | </small> |
| 17 | {/if} |
| 18 | </dd> |
| 19 | </dl> |
| 20 | |
| 21 | <dl{if $errorField == 'activationCode'} class="formError"{/if}> |
| 22 | <dt><label for="activationCode">{lang}wcf.user.activationCode{/lang}</label></dt> |
| 23 | <dd> |
| 24 | <input type="text" id="activationCode" maxlength="9" name="activationCode" value="{@$activationCode}" required="required" class="medium" /> |
| 25 | {if $errorField == 'activationCode'} |
| 26 | <small class="innerError"> |
| 27 | {if $errorType == 'notValid'}{lang}wcf.user.activationCode.error.notValid{/lang}{/if} |
| 28 | </small> |
| 29 | {/if} |
| 30 | <small><a href="{link controller='RegisterNewActivationCode'}{/link}">{lang}wcf.user.newActivationCode{/lang}</a></small> |
| 31 | </dd> |
| 32 | </dl> |
| 33 | |
| 34 | {event name='fields'} |
| 35 | </div> |
| 36 | |
| 37 | {event name='sections'} |
| 38 | |
| 39 | <div class="formSubmit"> |
| 40 | <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" /> |
| 41 | {@SECURITY_TOKEN_INPUT_TAG} |
| 42 | </div> |
| 43 | </form> |
| 44 | |
| 45 | {include file='footer'} |