aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2012-07-17 18:48:10 +0200
committerNils Adermann <naderman@naderman.de>2012-07-23 15:45:57 +0200
commit10172887fd47e86eefbabd6f5e755cd93279960d (patch)
tree307f50b083a62a9b097202c50085d63da7ec6959 /phpBB/adm
parent55aaa596d72c8eef54f394da22f43bdf731d9333 (diff)
downloadforums-10172887fd47e86eefbabd6f5e755cd93279960d.tar
forums-10172887fd47e86eefbabd6f5e755cd93279960d.tar.gz
forums-10172887fd47e86eefbabd6f5e755cd93279960d.tar.bz2
forums-10172887fd47e86eefbabd6f5e755cd93279960d.tar.xz
forums-10172887fd47e86eefbabd6f5e755cd93279960d.zip
[ticket/10965] Introduce a new profile field option to display no value
By default the 3.0.10 behaviour is kept, profile fields will not show up if they have either not yet been selected or in case of an optional dropdown field if the novalue option was selected. PHPBB3-10965
Diffstat (limited to 'phpBB/adm')
-rw-r--r--phpBB/adm/style/acp_profile.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/adm/style/acp_profile.html b/phpBB/adm/style/acp_profile.html
index 85d37568c2..1c9c038f8f 100644
--- a/phpBB/adm/style/acp_profile.html
+++ b/phpBB/adm/style/acp_profile.html
@@ -64,6 +64,10 @@
<dd><input type="checkbox" class="radio" id="field_required" name="field_required" value="1"<!-- IF S_FIELD_REQUIRED --> checked="checked"<!-- ENDIF --> /></dd>
</dl>
<dl>
+ <dt><label for="field_show_novalue">{L_SHOW_NOVALUE_FIELD}:</label><br /><span>{L_SHOW_NOVALUE_FIELD_EXPLAIN}</span></dt>
+ <dd><input type="checkbox" class="radio" id="field_show_novalue" name="field_show_novalue" value="1"<!-- IF S_FIELD_SHOW_NOVALUE --> checked="checked"<!-- ENDIF --> /></dd>
+ </dl>
+ <dl>
<dt><label for="field_hide">{L_HIDE_PROFILE_FIELD}:</label><br /><span>{L_HIDE_PROFILE_FIELD_EXPLAIN}</span></dt>
<dd><input type="checkbox" class="radio" id="field_hide" name="field_hide" value="1"<!-- IF S_FIELD_HIDE --> checked="checked"<!-- ENDIF --> /></dd>
</dl>