1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +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:
Dhruv Goel
2012-04-09 02:21:45 +05:30
parent 643970dce4
commit 239e6016a3
2 changed files with 4 additions and 0 deletions

View File

@@ -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}" />