mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[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
This commit is contained in:
@@ -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 -->
|
||||
|
Reference in New Issue
Block a user