Merge branch '2.0'
[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="boxHeadline">
13 <h1>{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="container containerPadding marginTop">
36 <fieldset>
37 <legend><label for="userID">{lang}wcf.user.registerActivation{/lang}</label></legend>
38
39 <dl{if $errorField == 'username'} class="formError"{/if}>
40 <dt><label for="username">{lang}wcf.user.username{/lang}</label></dt>
41 <dd>
42 <input type="text" id="username" name="username" value="{$username}" required="required" class="medium" />
43 {if $errorField == 'username'}
44 <small class="innerError">
45 {if $errorType == 'notFound'}{lang}wcf.user.username.error.notFound{/lang}{/if}
46 </small>
47 {/if}
48 </dd>
49 </dl>
50
51 <dl{if $errorField == 'activationCode'} class="formError"{/if}>
52 <dt><label for="activationCode">{lang}wcf.user.activationCode{/lang}</label></dt>
53 <dd>
54 <input type="text" id="activationCode" maxlength="9" name="activationCode" value="{@$activationCode}" required="required" class="medium" />
55 {if $errorField == 'activationCode'}
56 <small class="innerError">
57 {if $errorType == 'notValid'}{lang}wcf.user.activationCode.error.notValid{/lang}{/if}
58 </small>
59 {/if}
60 <small><a href="{link controller='RegisterNewActivationCode'}{/link}">{lang}wcf.user.newActivationCode{/lang}</a></small>
61 </dd>
62 </dl>
63
64 {event name='fields'}
65 </fieldset>
66
67 {event name='fieldsets'}
68 </div>
69
70 <div class="formSubmit">
71 <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
72 {@SECURITY_TOKEN_INPUT_TAG}
73 </div>
74 </form>
75
76 {include file='footer'}
77 </body>
78 </html>