Added proper support for font size and color
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / userSearch.tpl
CommitLineData
95961bdf 1{include file='header'}
320f4a6d 2
320f4a6d
MW
3{if $errorField == 'search'}
4 <p class="error">{lang}wcf.user.search.error.noMatches{/lang}</p>
91b52c73
MS
5{else}
6 {include file='formError'}
320f4a6d
MW
7{/if}
8
320f4a6d 9<form method="post" action="{link controller='UserSearch'}{/link}">
95961bdf
MW
10 <div class="section">
11 <dl>
12 <dt><label for="searchUsername">{lang}wcf.user.username{/lang}</label></dt>
13 <dd>
14 <input type="text" id="searchUsername" name="username" value="{$username}" class="medium" />
15 </dd>
16 </dl>
320f4a6d 17
95961bdf 18 {event name='generalFields'}
320f4a6d
MW
19 </div>
20
95961bdf
MW
21 {if !$optionTree|empty}
22 {foreach from=$optionTree[0][categories] item=category}
23 <section class="section">
24 <header class="sectionHeader">
25 <h2 class="sectionTitle">{lang}wcf.user.option.category.{@$category[object]->categoryName}{/lang}</h2>
26 {hascontent}<p class="sectionDescription">{content}{lang __optional=true}wcf.user.option.category.{@$category[object]->categoryName}.description{/lang}{/content}</p>{/hascontent}
27 </header>
28 {include file='userOptionFieldList' options=$category[options] langPrefix='wcf.user.option.' isSearchMode=true}
29 </section>
30 {/foreach}
31 {/if}
32
33 {event name='sections'}
320f4a6d
MW
34
35 <div class="formSubmit">
36 <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
ee629b22 37 {@SECURITY_TOKEN_INPUT_TAG}
320f4a6d
MW
38 </div>
39</form>
40
3e93caf9
MW
41<script data-relocate="true">
42 //<![CDATA[
43 $(function() {
44 new WCF.Search.User('#searchUsername', null, false, [ ], false);
45 });
46 //]]>
47</script>
320f4a6d 48
3e93caf9 49{include file='footer'}