Commit | Line | Data |
---|---|---|
320f4a6d MW |
1 | {include file='header'} |
2 | ||
e7b063d6 AE |
3 | {include file='formError'} |
4 | ||
320f4a6d | 5 | <form method="post" action="{link controller='RegisterNewActivationCode'}{/link}"> |
95961bdf MW |
6 | <div class="section"> |
7 | <dl{if $errorField == 'username'} class="formError"{/if}> | |
8 | <dt><label for="username">{lang}wcf.user.username{/lang}</label></dt> | |
9 | <dd> | |
10 | <input type="text" id="username" name="username" value="{$username}" required="required" class="medium" /> | |
11 | {if $errorField == 'username'} | |
12 | <small class="innerError"> | |
13 | {if $errorType == 'empty'} | |
14 | {lang}wcf.global.form.error.empty{/lang} | |
15 | {elseif $errorType == 'alreadyEnabled'} | |
16 | {lang}wcf.user.registerActivation.error.userAlreadyEnabled{/lang} | |
17 | {else} | |
18 | {lang}wcf.user.username.error.{@$errorType}{/lang} | |
19 | {/if} | |
20 | </small> | |
21 | {/if} | |
22 | </dd> | |
23 | </dl> | |
320f4a6d | 24 | |
95961bdf MW |
25 | <dl{if $errorField == 'password'} class="formError"{/if}> |
26 | <dt><label for="password">{lang}wcf.user.password{/lang}</label></dt> | |
27 | <dd> | |
28 | <input type="password" id="password" name="password" value="{$password}" required="required" class="medium" /> | |
29 | {if $errorField == 'password'} | |
30 | <small class="innerError"> | |
31 | {if $errorType == 'empty'} | |
32 | {lang}wcf.global.form.error.empty{/lang} | |
33 | {else} | |
34 | {lang}wcf.user.password.error.{@$errorType}{/lang} | |
35 | {/if} | |
36 | </small> | |
37 | {/if} | |
38 | </dd> | |
39 | </dl> | |
40 | ||
41 | <dl{if $errorField == 'email'} class="formError"{/if}> | |
42 | <dt><label for="email">{lang}wcf.user.email{/lang}</label></dt> | |
43 | <dd> | |
44 | <input type="email" id="email" name="email" value="{$email}" class="medium" /> | |
45 | {if $errorField == 'email'} | |
46 | <small class="innerError"> | |
47 | {lang}wcf.user.email.error.{@$errorType}{/lang} | |
48 | </small> | |
49 | {/if} | |
50 | <small>{lang}wcf.user.registerNewActivationCode.email.description{/lang}</small> | |
51 | </dd> | |
52 | </dl> | |
53 | ||
54 | {event name='fields'} | |
320f4a6d MW |
55 | </div> |
56 | ||
95961bdf MW |
57 | {event name='sections'} |
58 | ||
320f4a6d MW |
59 | <div class="formSubmit"> |
60 | <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" /> | |
ee629b22 | 61 | {@SECURITY_TOKEN_INPUT_TAG} |
320f4a6d MW |
62 | </div> |
63 | </form> | |
64 | ||
65 | {include file='footer'} |