Commit | Line | Data |
---|---|---|
320f4a6d MW |
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 type="text/javascript" src="{@$__wcf->getPath('wcf')}js/WCF.User{if !ENABLE_DEBUG_MODE}.min{/if}.js"></script> | |
8 | <script type="text/javascript"> | |
9 | //<![CDATA[ | |
10 | $(function() { | |
11 | new WCF.User.Registration.LostPassword(); | |
12 | }); | |
13 | //]]> | |
14 | </script> | |
15 | </head> | |
16 | ||
17 | <body id="tpl{$templateName|ucfirst}"> | |
18 | ||
19 | {include file='header'} | |
20 | ||
21 | <header class="boxHeadline"> | |
22 | <h1>{lang}wcf.user.lostPassword{/lang}</h1> | |
23 | </header> | |
24 | ||
25 | {include file='userNotice'} | |
26 | ||
27 | <p class="info">{lang}wcf.user.lostPassword.description{/lang}</p> | |
28 | ||
29 | {if $errorField} | |
30 | <p class="error">{lang}wcf.global.form.error{/lang}</p> | |
31 | {/if} | |
32 | ||
33 | <div class="contentNavigation"> | |
34 | {hascontent} | |
35 | <nav> | |
36 | <ul> | |
37 | {content} | |
38 | {event name='contentNavigationButtons'} | |
39 | {/content} | |
40 | </ul> | |
41 | </nav> | |
42 | {/hascontent} | |
43 | </div> | |
44 | ||
45 | <form method="post" action="{link controller='LostPassword'}{/link}"> | |
46 | <div class="container containerPadding marginTop"> | |
47 | <fieldset> | |
48 | <legend>{lang}wcf.user.lostPassword{/lang}</legend> | |
49 | ||
50 | <dl id="usernameDiv"{if $errorField == 'username'} class="formError"{/if}> | |
51 | <dt> | |
52 | <label for="usernameInput">{lang}wcf.user.username{/lang}</label> | |
53 | </dt> | |
54 | <dd> | |
55 | <input type="text" id="usernameInput" name="username" value="{$username}" class="medium" /> | |
56 | {if $errorField == 'username'} | |
57 | <small class="innerError"> | |
58 | {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} | |
59 | {if $errorType == 'notFound'}{lang}wcf.user.error.username.notFound{/lang}{/if} | |
60 | {if $errorType == '3rdParty'}{lang}wcf.user.error.username.3rdParty{/lang}{/if} | |
61 | </small> | |
62 | {/if} | |
63 | </dd> | |
64 | </dl> | |
65 | ||
66 | <dl id="emailDiv"{if $errorField == 'email'} class="formError"{/if}> | |
67 | <dt> | |
68 | <label for="emailInput">{lang}wcf.user.email{/lang}</label> | |
69 | </dt> | |
70 | <dd> | |
71 | <input type="email" id="emailInput" name="email" value="{$email}" class="medium" /> | |
72 | {if $errorField == 'email'} | |
73 | <small class="innerError"> | |
74 | {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if} | |
75 | {if $errorType == 'notFound'}{lang}wcf.user.lostPassword.error.email.notFound{/lang}{/if} | |
76 | </small> | |
77 | {/if} | |
78 | </dd> | |
79 | </dl> | |
80 | ||
81 | {event name='fields'} | |
82 | </fieldset> | |
83 | ||
84 | {event name='fieldsets'} | |
85 | ||
86 | {if $useCaptcha}{include file='recaptcha'}{/if} | |
87 | </div> | |
88 | ||
89 | <div class="formSubmit"> | |
90 | <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" /> | |
91 | </div> | |
92 | </form> | |
93 | ||
94 | {include file='footer'} | |
95 | ||
96 | </body> | |
97 | </html> |