Merge branch 'master' into next
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / lostPassword.tpl
1 {include file="documentHeader"}
2
3 <head>
4 <title>{lang}wcf.user.lostPassword{/lang} - {PAGE_TITLE|language}</title>
5 {include file='headInclude'}
6
7 <script data-relocate="true">
8 //<![CDATA[
9 $(function() {
10 new WCF.User.Registration.LostPassword();
11 });
12 //]]>
13 </script>
14 </head>
15
16 <body id="tpl{$templateName|ucfirst}" data-template="{$templateName}" data-application="{$templateNameApplication}">
17
18 {include file='header'}
19
20 <header class="contentHeader">
21 <div class="contentHeaderTitle">
22 <h1 class="contentTitle">{lang}wcf.user.lostPassword{/lang}</h1>
23 </div>
24
25 {hascontent}
26 <nav class="contentHeaderNavigation">
27 <ul>
28 {content}{event name='contentHeaderNavigation'}{/content}
29 </ul>
30 </nav>
31 {/hascontent}
32 </header>
33
34 {include file='userNotice'}
35
36 <p class="info">{lang}wcf.user.lostPassword.description{/lang}</p>
37
38 {include file='formError'}
39
40 <form method="post" action="{link controller='LostPassword'}{/link}">
41 <div class="section">
42 <dl id="usernameDiv"{if $errorField == 'username'} class="formError"{/if}>
43 <dt>
44 <label for="usernameInput">{lang}wcf.user.username{/lang}</label>
45 </dt>
46 <dd>
47 <input type="text" id="usernameInput" name="username" value="{$username}" class="medium" />
48 {if $errorField == 'username'}
49 <small class="innerError">
50 {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
51 {if $errorType == 'notFound'}{lang}wcf.user.username.error.notFound{/lang}{/if}
52 {if $errorType == '3rdParty'}{lang}wcf.user.username.error.3rdParty{/lang}{/if}
53 </small>
54 {/if}
55 </dd>
56 </dl>
57
58 <dl id="emailDiv"{if $errorField == 'email'} class="formError"{/if}>
59 <dt>
60 <label for="emailInput">{lang}wcf.user.email{/lang}</label>
61 </dt>
62 <dd>
63 <input type="email" id="emailInput" name="email" value="{$email}" class="medium" />
64 {if $errorField == 'email'}
65 <small class="innerError">
66 {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
67 {if $errorType == 'notFound'}{lang}wcf.user.lostPassword.email.error.notFound{/lang}{/if}
68 </small>
69 {/if}
70 </dd>
71 </dl>
72
73 {event name='fields'}
74 </div>
75
76 {event name='sections'}
77
78 {include file='captcha'}
79
80 <div class="formSubmit">
81 <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
82 {@SECURITY_TOKEN_INPUT_TAG}
83 </div>
84 </form>
85
86 {include file='footer'}
87
88 </body>
89 </html>