Added proper support for font size and color
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / registerActivation.tpl
index 408d587bb5e984be7ee55314e356942a7faa9bf7..4f268c51f8bb4d1042b7b6ef66ba0ea0c5cfbf88 100644 (file)
@@ -1,81 +1,41 @@
-{include file='documentHeader'}
-
-<head>
-       <title>{lang}wcf.user.registerActivation{/lang} - {PAGE_TITLE|language}</title>
-       {include file='headInclude'}
-</head>
-
-<body id="tpl{$templateName|ucfirst}" data-template="{$templateName}" data-application="{$templateNameApplication}">
-
 {include file='header'}
 
-<header class="boxHeadline">
-       <h1>{lang}wcf.user.registerActivation{/lang}</h1>
-</header>
-
-{include file='userNotice'}
-
 {if $__wcf->user->userID && $__wcf->user->activationCode}<p class="info">{lang}wcf.user.registerActivation.info{/lang}</p>{/if}
 
 {include file='formError'}
 
-<div class="contentNavigation">
-       {hascontent}
-               <nav>
-                       <ul>
-                               {content}
-                                       {event name='contentNavigationButtons'}
-                               {/content}
-                       </ul>
-               </nav>
-       {/hascontent}
-</div>
-
 <form method="post" action="{link controller='RegisterActivation'}{/link}">
-       <div class="container containerPadding marginTop">
-               <fieldset>
-                       <legend><label for="userID">{lang}wcf.user.registerActivation{/lang}</label></legend>
-                       
-                       <dl{if $errorField == 'username'} class="formError"{/if}>
-                               <dt><label for="username">{lang}wcf.user.username{/lang}</label></dt>
-                               <dd>
-                                       <input type="text" id="username" name="username" value="{$username}" required="required" class="medium" />
-                                       {if $errorField == 'username'}
-                                               <small class="innerError">
-                                                       {if $errorType == 'notFound'}{lang}wcf.user.username.error.notFound{/lang}{/if}
-                                               </small>
-                                       {/if}
-                               </dd>
-                       </dl>
-                       
-                       <dl{if $errorField == 'activationCode'} class="formError"{/if}>
-                               <dt><label for="activationCode">{lang}wcf.user.activationCode{/lang}</label></dt>
-                               <dd>
-                                       <input type="text" id="activationCode" maxlength="9" name="activationCode" value="{@$activationCode}" required="required" class="medium" />
-                                       {if $errorField == 'activationCode'}
-                                               <small class="innerError">
-                                                       {if $errorType == 'notValid'}{lang}wcf.user.activationCode.error.notValid{/lang}{/if}
-                                               </small>
-                                       {/if}
-                               </dd>
-                       </dl>
-                       
-                       {event name='fields'}
-                       
-                       <dl>
-                               <dt></dt>
-                               <dd>
-                                       <ul class="buttonList smallButtons">
-                                               <li><a class="button small" href="{link controller='RegisterNewActivationCode'}{/link}"><span>{lang}wcf.user.newActivationCode{/lang}</span></a></li>
-                                               {event name='buttons'}
-                                       </ul>
-                               </dd>
-                       </dl>
-               </fieldset>
+       <div class="section">
+               <dl{if $errorField == 'username'} class="formError"{/if}>
+                       <dt><label for="username">{lang}wcf.user.username{/lang}</label></dt>
+                       <dd>
+                               <input type="text" id="username" name="username" value="{$username}" required="required" class="medium" />
+                               {if $errorField == 'username'}
+                                       <small class="innerError">
+                                               {if $errorType == 'notFound'}{lang}wcf.user.username.error.notFound{/lang}{/if}
+                                       </small>
+                               {/if}
+                       </dd>
+               </dl>
                
-               {event name='fieldsets'}
+               <dl{if $errorField == 'activationCode'} class="formError"{/if}>
+                       <dt><label for="activationCode">{lang}wcf.user.activationCode{/lang}</label></dt>
+                       <dd>
+                               <input type="text" id="activationCode" maxlength="9" name="activationCode" value="{@$activationCode}" required="required" class="medium" />
+                               {if $errorField == 'activationCode'}
+                                       <small class="innerError">
+                                               {if $errorType == 'notValid'}{lang}wcf.user.activationCode.error.notValid{/lang}{/if}
+                                       </small>
+                               {/if}
+                               <small><a href="{link controller='RegisterNewActivationCode'}{/link}">{lang}wcf.user.newActivationCode{/lang}</a></small>
+                       </dd>
+               </dl>
+               
+               {event name='fields'}
        </div>
        
+       {event name='sections'}
+       
        <div class="formSubmit">
                <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
                {@SECURITY_TOKEN_INPUT_TAG}
@@ -83,5 +43,3 @@
 </form>
 
 {include file='footer'}
-</body>
-</html>