Overhauled page title management
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / registerActivation.tpl
CommitLineData
320f4a6d
MW
1{include file='header'}
2
320f4a6d
MW
3{if $__wcf->user->userID && $__wcf->user->activationCode}<p class="info">{lang}wcf.user.registerActivation.info{/lang}</p>{/if}
4
ee629b22 5{include file='formError'}
320f4a6d 6
320f4a6d 7<form method="post" action="{link controller='RegisterActivation'}{/link}">
95961bdf
MW
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>
320f4a6d 20
95961bdf
MW
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'}
320f4a6d
MW
35 </div>
36
95961bdf
MW
37 {event name='sections'}
38
320f4a6d
MW
39 <div class="formSubmit">
40 <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
ee629b22 41 {@SECURITY_TOKEN_INPUT_TAG}
320f4a6d
MW
42 </div>
43</form>
44
45{include file='footer'}