diff options
author | Dhruv Goel <dhruv.goel92@gmail.com> | 2012-04-20 17:11:07 +0530 |
---|---|---|
committer | Dhruv Goel <dhruv.goel92@gmail.com> | 2012-05-10 22:50:13 +0530 |
commit | 59177a86c4160a4879aaf77e602f91ccea0fb107 (patch) | |
tree | 2926fd1e62fa4782353d3ec2e2c7860885c5f0df /phpBB/adm/style | |
parent | 8f7e85604bb36679db1baa37588fc5e39a8b853f (diff) | |
download | forums-59177a86c4160a4879aaf77e602f91ccea0fb107.tar forums-59177a86c4160a4879aaf77e602f91ccea0fb107.tar.gz forums-59177a86c4160a4879aaf77e602f91ccea0fb107.tar.bz2 forums-59177a86c4160a4879aaf77e602f91ccea0fb107.tar.xz forums-59177a86c4160a4879aaf77e602f91ccea0fb107.zip |
[ticket/10308] fix language and user's total posts
language modified to be clear and select box disappears in case no
posts by user. user's total posts are fetched using a new query.
PHPBB3-10308
Diffstat (limited to 'phpBB/adm/style')
-rw-r--r-- | phpBB/adm/style/acp_users_overview.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/phpBB/adm/style/acp_users_overview.html b/phpBB/adm/style/acp_users_overview.html index 73be17c4c1..e6a1411bbb 100644 --- a/phpBB/adm/style/acp_users_overview.html +++ b/phpBB/adm/style/acp_users_overview.html @@ -140,9 +140,11 @@ <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"<!-- 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_USER_NO_POSTS}</dd> + <dd> + <!-- IF USER_TOTAL_POSTS == 0 --> + {L_USER_NO_POSTS} + <!-- 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 --> </dl> <p class="quick"> |