From: Alexander Ebert Date: Mon, 4 Feb 2019 15:27:24 +0000 (+0100) Subject: Support for static search option presets X-Git-Tag: 3.1.8~8 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=81cd2fef849fde17d93b22c5f3a6984c9595eb33;p=GitHub%2FWoltLab%2FWCF.git Support for static search option presets --- diff --git a/com.woltlab.wcf/templates/pageHeaderSearch.tpl b/com.woltlab.wcf/templates/pageHeaderSearch.tpl index a682135211..71ea1ea448 100644 --- a/com.woltlab.wcf/templates/pageHeaderSearch.tpl +++ b/com.woltlab.wcf/templates/pageHeaderSearch.tpl @@ -62,6 +62,8 @@
+ {if !$__searchStaticOptions|empty}{@$__searchStaticOptions}{/if} + {@SECURITY_TOKEN_INPUT_TAG} @@ -73,4 +75,4 @@ UiSearchPage.init('{if !$__searchObjectTypeName|empty}{@$__searchObjectTypeName}{elseif !$searchPreselectObjectType|empty}{$searchPreselectObjectType}{else}everywhere{/if}'); }); -{/if} \ No newline at end of file +{/if}