Added proper support for font size and color
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / lostPassword.tpl
index 66f87a290894769271735262972b2858ae89c055..b46e4d96514e3ea543f8b3196da0e534aa3cdcc8 100644 (file)
@@ -1,95 +1,61 @@
-{include file="documentHeader"}
-
-<head>
-       <title>{lang}wcf.user.lostPassword{/lang} - {PAGE_TITLE|language}</title>
-       {include file='headInclude'}
-       
-       <script data-relocate="true">
-               //<![CDATA[
-               $(function() {
-                       new WCF.User.Registration.LostPassword();
-               });
-               //]]>
-       </script>
-</head>
-
-<body id="tpl{$templateName|ucfirst}" data-template="{$templateName}" data-application="{$templateNameApplication}">
-
 {include file='header'}
 
-<header class="boxHeadline">
-       <h1>{lang}wcf.user.lostPassword{/lang}</h1>
-</header>
-
-{include file='userNotice'}
-
 <p class="info">{lang}wcf.user.lostPassword.description{/lang}</p>
 
 {include file='formError'}
 
-<div class="contentNavigation">
-       {hascontent}
-               <nav>
-                       <ul>
-                               {content}
-                                       {event name='contentNavigationButtons'}
-                               {/content}
-                       </ul>
-               </nav>
-       {/hascontent}
-</div>
-
 <form method="post" action="{link controller='LostPassword'}{/link}">
-       <div class="container containerPadding marginTop">
-               <fieldset>
-                       <legend>{lang}wcf.user.lostPassword{/lang}</legend>
-                       
-                       <dl id="usernameDiv"{if $errorField == 'username'} class="formError"{/if}>
-                               <dt>
-                                       <label for="usernameInput">{lang}wcf.user.username{/lang}</label>
-                               </dt>
-                               <dd>
-                                       <input type="text" id="usernameInput" name="username" value="{$username}" class="medium" />
-                                       {if $errorField == 'username'}
-                                               <small class="innerError">
-                                                       {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
-                                                       {if $errorType == 'notFound'}{lang}wcf.user.username.error.notFound{/lang}{/if}
-                                                       {if $errorType == '3rdParty'}{lang}wcf.user.username.error.3rdParty{/lang}{/if}
-                                               </small>
-                                       {/if}
-                               </dd>
-                       </dl>
-                       
-                       <dl id="emailDiv"{if $errorField == 'email'} class="formError"{/if}>
-                               <dt>
-                                       <label for="emailInput">{lang}wcf.user.email{/lang}</label>
-                               </dt>
-                               <dd>
-                                       <input type="email" id="emailInput" name="email" value="{$email}" class="medium" />
-                                       {if $errorField == 'email'}
-                                               <small class="innerError">
-                                                       {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
-                                                       {if $errorType == 'notFound'}{lang}wcf.user.lostPassword.email.error.notFound{/lang}{/if}
-                                               </small>
-                                       {/if}
-                               </dd>
-                       </dl>
-                       
-                       {event name='fields'}
-               </fieldset>
+       <div class="section">
+               <dl id="usernameDiv"{if $errorField == 'username'} class="formError"{/if}>
+                       <dt>
+                               <label for="usernameInput">{lang}wcf.user.username{/lang}</label>
+                       </dt>
+                       <dd>
+                               <input type="text" id="usernameInput" name="username" value="{$username}" class="medium" />
+                               {if $errorField == 'username'}
+                                       <small class="innerError">
+                                               {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
+                                               {if $errorType == 'notFound'}{lang}wcf.user.username.error.notFound{/lang}{/if}
+                                               {if $errorType == '3rdParty'}{lang}wcf.user.username.error.3rdParty{/lang}{/if}
+                                       </small>
+                               {/if}
+                       </dd>
+               </dl>
                
-               {event name='fieldsets'}
+               <dl id="emailDiv"{if $errorField == 'email'} class="formError"{/if}>
+                       <dt>
+                               <label for="emailInput">{lang}wcf.user.email{/lang}</label>
+                       </dt>
+                       <dd>
+                               <input type="email" id="emailInput" name="email" value="{$email}" class="medium" />
+                               {if $errorField == 'email'}
+                                       <small class="innerError">
+                                               {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
+                                               {if $errorType == 'notFound'}{lang}wcf.user.lostPassword.email.error.notFound{/lang}{/if}
+                                       </small>
+                               {/if}
+                       </dd>
+               </dl>
                
-               {include file='captcha'}
+               {event name='fields'}
        </div>
        
+       {event name='sections'}
+       
+       {include file='captcha'}
+       
        <div class="formSubmit">
                <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
                {@SECURITY_TOKEN_INPUT_TAG}
        </div>
 </form>
 
-{include file='footer'}
+<script data-relocate="true">
+       //<![CDATA[
+       $(function() {
+               new WCF.User.Registration.LostPassword();
+       });
+       //]]>
+</script>
 
-</body>
-</html>
+{include file='footer'}