From: Matthias Schmidt Date: Sat, 3 May 2014 18:14:47 +0000 (+0200) Subject: Improve user option search X-Git-Tag: 2.1.0_Alpha_1~845^2~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=567b90a35c9f8b3cef35fc311c24463fab514d4b;p=GitHub%2FWoltLab%2FWCF.git Improve user option search Searching certain user options can be enabled/disabled making it possible to search for "empty" user options. --- diff --git a/com.woltlab.wcf/templates/multiSelectSearchableOptionType.tpl b/com.woltlab.wcf/templates/multiSelectSearchableOptionType.tpl new file mode 100644 index 0000000000..67531cfdb2 --- /dev/null +++ b/com.woltlab.wcf/templates/multiSelectSearchableOptionType.tpl @@ -0,0 +1,21 @@ + + + + diff --git a/com.woltlab.wcf/templates/radioButtonSearchableOptionType.tpl b/com.woltlab.wcf/templates/radioButtonSearchableOptionType.tpl new file mode 100644 index 0000000000..b52bcd6d84 --- /dev/null +++ b/com.woltlab.wcf/templates/radioButtonSearchableOptionType.tpl @@ -0,0 +1,19 @@ + +{foreach from=$selectOptions key=key item=selectOption} + +{/foreach} + + diff --git a/com.woltlab.wcf/templates/selectSearchableOptionType.tpl b/com.woltlab.wcf/templates/selectSearchableOptionType.tpl new file mode 100644 index 0000000000..cb54c0476f --- /dev/null +++ b/com.woltlab.wcf/templates/selectSearchableOptionType.tpl @@ -0,0 +1,22 @@ + + + + diff --git a/com.woltlab.wcf/templates/textSearchableOptionType.tpl b/com.woltlab.wcf/templates/textSearchableOptionType.tpl new file mode 100644 index 0000000000..945e8366e7 --- /dev/null +++ b/com.woltlab.wcf/templates/textSearchableOptionType.tpl @@ -0,0 +1,17 @@ + + + + diff --git a/com.woltlab.wcf/userOption.xml b/com.woltlab.wcf/userOption.xml index 08a21e0feb..331acd191e 100644 --- a/com.woltlab.wcf/userOption.xml +++ b/com.woltlab.wcf/userOption.xml @@ -81,7 +81,7 @@