mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-02 13:47:55 +02:00
[ticket/10308] Displays message to user if there are no posts.
While deletng the user, if the user has no posts in addition to the options being disabled an added message is displayed. PHPBB3-10308
This commit is contained in:
parent
643970dce4
commit
239e6016a3
@ -141,6 +141,9 @@
|
||||
<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"<!-- 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>
|
||||
<!-- IF USER_POSTS == 0 -->
|
||||
<dd>{L_NO_POSTS}</dd>
|
||||
<!-- ENDIF -->
|
||||
</dl>
|
||||
<p class="quick">
|
||||
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
|
||||
|
@ -77,6 +77,7 @@ $lang = array_merge($lang, array(
|
||||
|
||||
'MOVE_POSTS_EXPLAIN' => 'Please select the forum to which you wish to move all the posts this user has made.',
|
||||
|
||||
'NO_POSTS' => 'The user has no posts.',
|
||||
'NO_SPECIAL_RANK' => 'No special rank assigned',
|
||||
'NO_WARNINGS' => 'No warnings.',
|
||||
'NOT_MANAGE_FOUNDER' => 'You tried to manage a user with founder status. Only founders are allowed to manage other founders.',
|
||||
|
Loading…
x
Reference in New Issue
Block a user