Overhauled templates
[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 <div class="contentHeaderTitle">
14 <h1 class="contentTitle">{lang}wcf.user.registerActivation{/lang}</h1>
15 </div>
16
17 {hascontent}
18 <nav class="contentHeaderNavigation">
19 <ul>
20 {content}{event name='contentHeaderNavigation'}{/content}
21 </ul>
22 </nav>
23 {/hascontent}
24 </header>
25
26 {include file='userNotice'}
27
28 {if $__wcf->user->userID && $__wcf->user->activationCode}<p class="info">{lang}wcf.user.registerActivation.info{/lang}</p>{/if}
29
30 {include file='formError'}
31
32 <form method="post" action="{link controller='RegisterActivation'}{/link}">
33 <div class="section">
34 <dl{if $errorField == 'username'} class="formError"{/if}>
35 <dt><label for="username">{lang}wcf.user.username{/lang}</label></dt>
36 <dd>
37 <input type="text" id="username" name="username" value="{$username}" required="required" class="medium" />
38 {if $errorField == 'username'}
39 <small class="innerError">
40 {if $errorType == 'notFound'}{lang}wcf.user.username.error.notFound{/lang}{/if}
41 </small>
42 {/if}
43 </dd>
44 </dl>
45
46 <dl{if $errorField == 'activationCode'} class="formError"{/if}>
47 <dt><label for="activationCode">{lang}wcf.user.activationCode{/lang}</label></dt>
48 <dd>
49 <input type="text" id="activationCode" maxlength="9" name="activationCode" value="{@$activationCode}" required="required" class="medium" />
50 {if $errorField == 'activationCode'}
51 <small class="innerError">
52 {if $errorType == 'notValid'}{lang}wcf.user.activationCode.error.notValid{/lang}{/if}
53 </small>
54 {/if}
55 <small><a href="{link controller='RegisterNewActivationCode'}{/link}">{lang}wcf.user.newActivationCode{/lang}</a></small>
56 </dd>
57 </dl>
58
59 {event name='fields'}
60 </div>
61
62 {event name='sections'}
63
64 <div class="formSubmit">
65 <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
66 {@SECURITY_TOKEN_INPUT_TAG}
67 </div>
68 </form>
69
70 {include file='footer'}
71 </body>
72 </html>