Added proper support for font size and color
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / lostPassword.tpl
1 {include file='header'}
2
3 <p class="info">{lang}wcf.user.lostPassword.description{/lang}</p>
4
5 {include file='formError'}
6
7 <form method="post" action="{link controller='LostPassword'}{/link}">
8 <div class="section">
9 <dl id="usernameDiv"{if $errorField == 'username'} class="formError"{/if}>
10 <dt>
11 <label for="usernameInput">{lang}wcf.user.username{/lang}</label>
12 </dt>
13 <dd>
14 <input type="text" id="usernameInput" name="username" value="{$username}" class="medium" />
15 {if $errorField == 'username'}
16 <small class="innerError">
17 {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
18 {if $errorType == 'notFound'}{lang}wcf.user.username.error.notFound{/lang}{/if}
19 {if $errorType == '3rdParty'}{lang}wcf.user.username.error.3rdParty{/lang}{/if}
20 </small>
21 {/if}
22 </dd>
23 </dl>
24
25 <dl id="emailDiv"{if $errorField == 'email'} class="formError"{/if}>
26 <dt>
27 <label for="emailInput">{lang}wcf.user.email{/lang}</label>
28 </dt>
29 <dd>
30 <input type="email" id="emailInput" name="email" value="{$email}" class="medium" />
31 {if $errorField == 'email'}
32 <small class="innerError">
33 {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
34 {if $errorType == 'notFound'}{lang}wcf.user.lostPassword.email.error.notFound{/lang}{/if}
35 </small>
36 {/if}
37 </dd>
38 </dl>
39
40 {event name='fields'}
41 </div>
42
43 {event name='sections'}
44
45 {include file='captcha'}
46
47 <div class="formSubmit">
48 <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
49 {@SECURITY_TOKEN_INPUT_TAG}
50 </div>
51 </form>
52
53 <script data-relocate="true">
54 //<![CDATA[
55 $(function() {
56 new WCF.User.Registration.LostPassword();
57 });
58 //]]>
59 </script>
60
61 {include file='footer'}