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