Updated ACP search template
authorAlexander Ebert <ebert@woltlab.com>
Tue, 22 Mar 2016 15:31:58 +0000 (16:31 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 22 Mar 2016 15:31:58 +0000 (16:31 +0100)
wcfsetup/install/files/acp/templates/pageHeaderSearch.tpl

index fe8c605c6ed391065a72691e29b08e08af1d2d81..57b4ae66c86b154092985735d95782b7023a1e61 100644 (file)
@@ -1,21 +1,9 @@
-{capture assign='__searchFormLink'}{link controller='Search'}{/link}{/capture}
-{capture assign='__searchInputPlaceholder'}{lang}wcf.global.search.enterSearchTerm{/lang}{/capture}
-{capture assign='__searchDropdownOptions'}<label><input type="checkbox" name="subjectOnly" value="1" /> {lang}wcf.search.subjectOnly{/lang}</label>{/capture}
-{assign var='__searchHiddenInputFields' value=''}
-
-{event name='settings'}
-
 <div id="pageHeaderSearch" class="pageHeaderSearch" data-disable-auto-focus="true">
-       <form method="post" action="{@$__searchFormLink}">
-               <div class="pageHeaderSearchInputContainer">
-                       <input type="search" name="q" id="pageHeaderSearchInput" class="pageHeaderSearchInput" placeholder="{@$__searchInputPlaceholder}" autocomplete="off" required="required" value="{if $query|isset}{$query}{/if}" data-toggle="search" />
-                       
-                       <button class="pageHeaderSearchInputButton" type="submit">
-                               <span class="icon icon16 pointer fa-search" title="{lang}wcf.global.search{/lang}"></span>
-                       </button>
-               </div>
+       <div class="pageHeaderSearchInputContainer">
+               <input type="search" name="q" id="pageHeaderSearchInput" class="pageHeaderSearchInput" placeholder="{lang}wcf.global.search.enterSearchTerm{/lang}" autocomplete="off" required="required" value="" data-toggle="search" />
                
-               {@$__searchHiddenInputFields}
-               {@SECURITY_TOKEN_INPUT_TAG}
-       </form>
+               <button class="pageHeaderSearchInputButton" type="submit">
+                       <span class="icon icon16 pointer fa-search" title="{lang}wcf.global.search{/lang}"></span>
+               </button>
+       </div>
 </div>