Added proper support for font size and color
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / userSearch.tpl
index b6e88dc11babe8958b612523da39dba8ead4d7e2..aa98a61098fb8c5211a766222383b580134c3971 100644 (file)
@@ -1,32 +1,4 @@
-{include file='documentHeader'}
-
-<head>
-       <title>{lang}wcf.user.search{/lang} - {PAGE_TITLE|language}</title>
-       
-       {include file='headInclude'}
-       
-       <script data-relocate="true">
-               //<![CDATA[
-               $(function() {
-                       new WCF.Search.User('#searchUsername', null, false, [ ], false);
-               });
-               //]]>
-       </script>
-</head>
-
-<body id="tpl{$templateName|ucfirst}" data-template="{$templateName}" data-application="{$templateNameApplication}">
-
-{capture assign='sidebar'}
-       {@$__boxSidebar}
-{/capture}
-
-{include file='header' sidebarOrientation='right'}
-
-<header class="boxHeadline">
-       <h1>{lang}wcf.user.search{/lang}</h1>
-</header>
-
-{include file='userNotice'}
+{include file='header'}
 
 {if $errorField == 'search'}
        <p class="error">{lang}wcf.user.search.error.noMatches{/lang}</p>
        {include file='formError'}
 {/if}
 
-<div class="contentNavigation">
-       {hascontent}
-               <nav>
-                       <ul>
-                               {content}
-                                       {event name='contentNavigationButtons'}
-                               {/content}
-                       </ul>
-               </nav>
-       {/hascontent}
-</div>
-
 <form method="post" action="{link controller='UserSearch'}{/link}">
-       <div class="container containerPadding marginTop">
-               <fieldset>
-                       <legend>{lang}wcf.acp.user.search.conditions.general{/lang}</legend>
-                       
-                       <dl>
-                               <dt><label for="searchUsername">{lang}wcf.user.username{/lang}</label></dt>
-                               <dd>
-                                       <input type="text" id="searchUsername" name="username" value="{$username}" class="medium" />
-                               </dd>
-                       </dl>
-                       
-                       {event name='generalFields'}
-               </fieldset>
+       <div class="section">
+               <dl>
+                       <dt><label for="searchUsername">{lang}wcf.user.username{/lang}</label></dt>
+                       <dd>
+                               <input type="text" id="searchUsername" name="username" value="{$username}" class="medium" />
+                       </dd>
+               </dl>
                
-               {if !$optionTree|empty}
-                       {foreach from=$optionTree[0][categories] item=category}
-                               <fieldset>
-                                       <legend>{lang}wcf.user.option.category.{@$category[object]->categoryName}{/lang}</legend>
-                                       {hascontent}<p>{content}{lang __optional=true}wcf.user.option.category.{@$category[object]->categoryName}.description{/lang}{/content}</p>{/hascontent}
-                                       
-                                       {include file='userOptionFieldList' options=$category[options] langPrefix='wcf.user.option.' isSearchMode=true}
-                               </fieldset>
-                       {/foreach}
-               {/if}
+               {event name='generalFields'}
        </div>
        
-       {event name='fieldsets'}
+       {if !$optionTree|empty}
+               {foreach from=$optionTree[0][categories] item=category}
+                       <section class="section">
+                               <header class="sectionHeader">
+                                       <h2 class="sectionTitle">{lang}wcf.user.option.category.{@$category[object]->categoryName}{/lang}</h2>
+                                       {hascontent}<p class="sectionDescription">{content}{lang __optional=true}wcf.user.option.category.{@$category[object]->categoryName}.description{/lang}{/content}</p>{/hascontent}
+                               </header>
+                               {include file='userOptionFieldList' options=$category[options] langPrefix='wcf.user.option.' isSearchMode=true}
+                       </section>
+               {/foreach}
+       {/if}
+       
+       {event name='sections'}
        
        <div class="formSubmit">
                <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
        </div>
 </form>
 
-{include file='footer'}
+<script data-relocate="true">
+       //<![CDATA[
+       $(function() {
+               new WCF.Search.User('#searchUsername', null, false, [ ], false);
+       });
+       //]]>
+</script>
 
-</body>
-</html>
+{include file='footer'}