aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/acp_users_overview.html
diff options
context:
space:
mode:
authorDhruv Goel <dhruv.goel92@gmail.com>2012-03-26 22:59:35 +0530
committerDhruv Goel <dhruv.goel92@gmail.com>2012-05-10 22:47:41 +0530
commit643970dce4710b1eebbeb86ff4ac0074c9bfe298 (patch)
treeae65f4a3260385d1fad0d5de6bcd52b88cf6b2ec /phpBB/adm/style/acp_users_overview.html
parent0488d70062a3ae2ff06779dd84cbd65de0445a4d (diff)
downloadforums-643970dce4710b1eebbeb86ff4ac0074c9bfe298.tar
forums-643970dce4710b1eebbeb86ff4ac0074c9bfe298.tar.gz
forums-643970dce4710b1eebbeb86ff4ac0074c9bfe298.tar.bz2
forums-643970dce4710b1eebbeb86ff4ac0074c9bfe298.tar.xz
forums-643970dce4710b1eebbeb86ff4ac0074c9bfe298.zip
[ticket/10308] disable retain/ delete posts option when deleting a user
When deleting a user, it asks whether the posts by user should be retained or deleted. The selection should be disable if the user has no posts. PHPBB3-10308
Diffstat (limited to 'phpBB/adm/style/acp_users_overview.html')
-rw-r--r--phpBB/adm/style/acp_users_overview.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/adm/style/acp_users_overview.html b/phpBB/adm/style/acp_users_overview.html
index 9237e45daf..0eeb7cde8b 100644
--- a/phpBB/adm/style/acp_users_overview.html
+++ b/phpBB/adm/style/acp_users_overview.html
@@ -140,7 +140,7 @@
<legend>{L_DELETE_USER}</legend>
<dl>
<dt><label for="delete_type">{L_DELETE_USER}:</label><br /><span>{L_DELETE_USER_EXPLAIN}</span></dt>
- <dd><select id="delete_type" name="delete_type"><option class="sep" value="">{L_SELECT_OPTION}</option><option value="retain">{L_RETAIN_POSTS}</option><option value="remove">{L_DELETE_POSTS}</option></select></dd>
+ <dd><select id="delete_type" name="delete_type"><option class="sep" value="">{L_SELECT_OPTION}</option><option value="retain"<!-- IF USER_POSTS == 0 --> disabled="disabled" class="disabled-option"<!-- ENDIF -->>{L_RETAIN_POSTS}</option><option value="remove"<!-- IF USER_POSTS == 0 --> disabled="disabled" class="disabled-option"<!-- ENDIF -->>{L_DELETE_POSTS}</option></select></dd>
</dl>
<p class="quick">
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />