Merge branch 'master' into next
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / registerActivation.tpl
1 {include file='documentHeader'}
2
3 <head>
4 <title>{lang}wcf.user.registerActivation{/lang} - {PAGE_TITLE|language}</title>
5 {include file='headInclude'}
6 </head>
7
8 <body id="tpl{$templateName|ucfirst}" data-template="{$templateName}" data-application="{$templateNameApplication}">
9
10 {include file='header'}
11
12 <header class="contentHeader">
13 <h1 class="contentTitle">{lang}wcf.user.registerActivation{/lang}</h1>
14 </header>
15
16 {include file='userNotice'}
17
18 {if $__wcf->user->userID && $__wcf->user->activationCode}<p class="info">{lang}wcf.user.registerActivation.info{/lang}</p>{/if}
19
20 {include file='formError'}
21
22 <div class="contentNavigation">
23 {hascontent}
24 <nav>
25 <ul>
26 {content}
27 {event name='contentNavigationButtons'}
28 {/content}
29 </ul>
30 </nav>
31 {/hascontent}
32 </div>
33
34 <form method="post" action="{link controller='RegisterActivation'}{/link}">
35 <div class="section">
36 <dl{if $errorField == 'username'} class="formError"{/if}>
37 <dt><label for="username">{lang}wcf.user.username{/lang}</label></dt>
38 <dd>
39 <input type="text" id="username" name="username" value="{$username}" required="required" class="medium" />
40 {if $errorField == 'username'}
41 <small class="innerError">
42 {if $errorType == 'notFound'}{lang}wcf.user.username.error.notFound{/lang}{/if}
43 </small>
44 {/if}
45 </dd>
46 </dl>
47
48 <dl{if $errorField == 'activationCode'} class="formError"{/if}>
49 <dt><label for="activationCode">{lang}wcf.user.activationCode{/lang}</label></dt>
50 <dd>
51 <input type="text" id="activationCode" maxlength="9" name="activationCode" value="{@$activationCode}" required="required" class="medium" />
52 {if $errorField == 'activationCode'}
53 <small class="innerError">
54 {if $errorType == 'notValid'}{lang}wcf.user.activationCode.error.notValid{/lang}{/if}
55 </small>
56 {/if}
57 <small><a href="{link controller='RegisterNewActivationCode'}{/link}">{lang}wcf.user.newActivationCode{/lang}</a></small>
58 </dd>
59 </dl>
60
61 {event name='fields'}
62 </div>
63
64 {event name='sections'}
65
66 <div class="formSubmit">
67 <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
68 {@SECURITY_TOKEN_INPUT_TAG}
69 </div>
70 </form>
71
72 {include file='footer'}
73 </body>
74 </html>