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 <h1 class="contentTitle">{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="section">
44 <dl id="usernameDiv"{if $errorField == 'username'} class="formError"{/if}>
45 <dt>
46 <label for="usernameInput">{lang}wcf.user.username{/lang}</label>
47 </dt>
48 <dd>
49 <input type="text" id="usernameInput" name="username" value="{$username}" class="medium" />
50 {if $errorField == 'username'}
51 <small class="innerError">
52 {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
53 {if $errorType == 'notFound'}{lang}wcf.user.username.error.notFound{/lang}{/if}
54 {if $errorType == '3rdParty'}{lang}wcf.user.username.error.3rdParty{/lang}{/if}
55 </small>
56 {/if}
57 </dd>
58 </dl>
59
60 <dl id="emailDiv"{if $errorField == 'email'} class="formError"{/if}>
61 <dt>
62 <label for="emailInput">{lang}wcf.user.email{/lang}</label>
63 </dt>
64 <dd>
65 <input type="email" id="emailInput" name="email" value="{$email}" class="medium" />
66 {if $errorField == 'email'}
67 <small class="innerError">
68 {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
69 {if $errorType == 'notFound'}{lang}wcf.user.lostPassword.email.error.notFound{/lang}{/if}
70 </small>
71 {/if}
72 </dd>
73 </dl>
74
75 {event name='fields'}
76 </div>
77
78 {event name='sections'}
79
80 {include file='captcha'}
81
82 <div class="formSubmit">
83 <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
84 {@SECURITY_TOKEN_INPUT_TAG}
85 </div>
86 </form>
87
88 {include file='footer'}
89
90 </body>
91 </html>