Merge commit '8737640341f72bd78f5ebabc0d9c46e1541274c5'
[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="boxHeadline">
21 <h1>{lang}wcf.user.lostPassword{/lang}</h1>
22 </header>
23
24 {include file='userNotice'}
25
26 <p class="info">{lang}wcf.user.lostPassword.description{/lang}</p>
27
28 {include file='formError'}
29
30 <div class="contentNavigation">
31 {hascontent}
32 <nav>
33 <ul>
34 {content}
35 {event name='contentNavigationButtons'}
36 {/content}
37 </ul>
38 </nav>
39 {/hascontent}
40 </div>
41
42 <form method="post" action="{link controller='LostPassword'}{/link}">
43 <div class="container containerPadding marginTop">
44 <fieldset>
45 <legend>{lang}wcf.user.lostPassword{/lang}</legend>
46
47 <dl id="usernameDiv"{if $errorField == 'username'} class="formError"{/if}>
48 <dt>
49 <label for="usernameInput">{lang}wcf.user.username{/lang}</label>
50 </dt>
51 <dd>
52 <input type="text" id="usernameInput" name="username" value="{$username}" class="medium" />
53 {if $errorField == 'username'}
54 <small class="innerError">
55 {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
56 {if $errorType == 'notFound'}{lang}wcf.user.username.error.notFound{/lang}{/if}
57 {if $errorType == '3rdParty'}{lang}wcf.user.username.error.3rdParty{/lang}{/if}
58 </small>
59 {/if}
60 </dd>
61 </dl>
62
63 <dl id="emailDiv"{if $errorField == 'email'} class="formError"{/if}>
64 <dt>
65 <label for="emailInput">{lang}wcf.user.email{/lang}</label>
66 </dt>
67 <dd>
68 <input type="email" id="emailInput" name="email" value="{$email}" class="medium" />
69 {if $errorField == 'email'}
70 <small class="innerError">
71 {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
72 {if $errorType == 'notFound'}{lang}wcf.user.lostPassword.email.error.notFound{/lang}{/if}
73 </small>
74 {/if}
75 </dd>
76 </dl>
77
78 {event name='fields'}
79 </fieldset>
80
81 {event name='fieldsets'}
82
83 {include file='captcha'}
84 </div>
85
86 <div class="formSubmit">
87 <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
88 {@SECURITY_TOKEN_INPUT_TAG}
89 </div>
90 </form>
91
92 {include file='footer'}
93
94 </body>
95 </html>