Adds missing user option visibility option
authorMatthias Schmidt <gravatronics@live.com>
Mon, 24 Feb 2014 17:12:12 +0000 (18:12 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 24 Feb 2014 17:12:12 +0000 (18:12 +0100)
wcfsetup/install/files/acp/templates/userOptionAdd.tpl
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index 9a452eae9896d35378ab6ad98c76392f57d3c0a4..5f5d6489fbc4cbfeecda405bbb36eb639ebd4dd4 100644 (file)
                                        <dt><label for="visible">{lang}wcf.acp.user.option.visible{/lang}</label></dt>
                                        <dd>
                                                <select name="visible" id="visible">
+                                                       <option value="0"{if $visible == 0} selected="selected"{/if}>{lang}wcf.acp.user.option.visible.0{/lang}</option>
                                                        <option value="1"{if $visible == 1} selected="selected"{/if}>{lang}wcf.acp.user.option.visible.1{/lang}</option>
                                                        <option value="2"{if $visible == 2} selected="selected"{/if}>{lang}wcf.acp.user.option.visible.2{/lang}</option>
                                                        <option value="3"{if $visible == 3} selected="selected"{/if}>{lang}wcf.acp.user.option.visible.3{/lang}</option>
                                                <label><input type="checkbox" name="searchable" id="searchable" value="1" {if $searchable == 1}checked="checked" {/if}/> {lang}wcf.acp.user.option.searchable{/lang}</label>
                                        </dd>
                                </dl>
-                                       
+                               
                                {event name='accessFields'}
                        </fieldset>
                        
index 0cd1625f38d923017277c0777ef422e734784fdf..6e37d498d6603d3c3bb8911f9946ec15ca7a4399 100644 (file)
@@ -1320,6 +1320,7 @@ Wenn Sie unter <em>System -&gt; Optionen -&gt; Allgemein -&gt; E-Mails</em> alle
                <item name="wcf.acp.user.option.validationPattern.description"><![CDATA[Tragen Sie hier den regulären Ausdruck ein, um die Eingabe der Benutzer zu validieren.]]></item>
                <item name="wcf.acp.user.option.list"><![CDATA[Benutzerprofilfelder]]></item>
                <item name="wcf.acp.user.option.visible"><![CDATA[Wer darf den Inhalt sehen?]]></item>
+               <item name="wcf.acp.user.option.visible.0"><![CDATA[Niemand]]></item>
                <item name="wcf.acp.user.option.visible.1"><![CDATA[Eigentümer]]></item>
                <item name="wcf.acp.user.option.visible.2"><![CDATA[Administrator]]></item>
                <item name="wcf.acp.user.option.visible.3"><![CDATA[Eigentümer und Administrator]]></item>
index b72a0ca62a7985b6e4e9a92757f7b9d1cb81c838..d999aa615cee50ed320dec5c47e929eb01051be7 100644 (file)
@@ -1320,6 +1320,7 @@ You can define the default sender in <em>System -&gt; Options -&gt; General -&gt
                <item name="wcf.acp.user.option.validationPattern.description"><![CDATA[Provide a regular expression to validate user input.]]></item>
                <item name="wcf.acp.user.option.list"><![CDATA[Custom User Fields]]></item>
                <item name="wcf.acp.user.option.visible"><![CDATA[Visible for]]></item>
+               <item name="wcf.acp.user.option.visible.0"><![CDATA[Nobody]]></item>
                <item name="wcf.acp.user.option.visible.1"><![CDATA[Owner]]></item>
                <item name="wcf.acp.user.option.visible.2"><![CDATA[Administrator]]></item>
                <item name="wcf.acp.user.option.visible.3"><![CDATA[Owner and Administrator]]></item>