aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm
diff options
context:
space:
mode:
authorDhruv Goel <dhruv.goel92@gmail.com>2012-04-21 14:29:21 +0530
committerDhruv Goel <dhruv.goel92@gmail.com>2012-05-10 22:51:22 +0530
commitcf303c34788b32e1c09f483e2760b77eff3e05ca (patch)
tree035b5e2cc88e36e6e0574aaae1ce2ea960d70eaf /phpBB/adm
parentfaf232219ef3b7a5dcc3d22639d4005040b0d8ad (diff)
downloadforums-cf303c34788b32e1c09f483e2760b77eff3e05ca.tar
forums-cf303c34788b32e1c09f483e2760b77eff3e05ca.tar.gz
forums-cf303c34788b32e1c09f483e2760b77eff3e05ca.tar.bz2
forums-cf303c34788b32e1c09f483e2760b77eff3e05ca.tar.xz
forums-cf303c34788b32e1c09f483e2760b77eff3e05ca.zip
[ticket/10308] fixes user deletion if no posts
introduces a hidden input field with retain posts as the mode in case user has no posts. PHPBB3-10308
Diffstat (limited to 'phpBB/adm')
-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 2a27cc2a63..fdc1d55855 100644
--- a/phpBB/adm/style/acp_users_overview.html
+++ b/phpBB/adm/style/acp_users_overview.html
@@ -142,7 +142,7 @@
<dt><label for="delete_type">{L_DELETE_USER}:</label><br /><span>{L_DELETE_USER_EXPLAIN}</span></dt>
<dd>
<!-- IF USER_TOTAL_POSTS == 0 -->
- {L_USER_NO_POSTS_DELETE}
+ {L_USER_NO_POSTS_DELETE}<input type="hidden" id="delete_type" name="delete_type" value="retain" />
<!-- ELSE -->
<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>
<!-- ENDIF -->