diff options
| author | 2019-12-07 11:55:12 +0100 | |
|---|---|---|
| committer | 2019-12-07 12:57:52 +0100 | |
| commit | d13a8a0eb1c37c6b241bcea3d0123e8fa6bd8f5a (patch) | |
| tree | 411cfc4adee0786018492850d64f3f0257d2125d /app/views/user/manage.phtml | |
| parent | ecd00854bef9d99ed78d4a20b71d4eb5951cc9a6 (diff) | |
Add user language display
When managing users, I've added the language they selected to be able
to communicate with them with the selected language (if I know it).
It could be useful when managing a community or a paid service.
Diffstat (limited to 'app/views/user/manage.phtml')
| -rw-r--r-- | app/views/user/manage.phtml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/user/manage.phtml b/app/views/user/manage.phtml index e5d5717fa..951544248 100644 --- a/app/views/user/manage.phtml +++ b/app/views/user/manage.phtml @@ -62,6 +62,8 @@ <thead> <tr> <th><?= _t('admin.user.username') ?></th> + <th><?= _t('admin.user.email') ?></th> + <th><?= _t('admin.user.language') ?></th> <th><?= _t('admin.user.feed_count') ?></th> <th><?= _t('admin.user.article_count') ?></th> <th><?= _t('admin.user.database_size') ?></th> @@ -72,6 +74,8 @@ <?php foreach ($this->users as $username => $values) : ?> <tr> <td><?= $username ?></td> + <td><?= $values['mail_login'] ?></td> + <td><?= _t("gen.lang.{$values['language']}") ?></td> <td><?= format_number($values['feed_count']) ?></td> <td><?= format_number($values['article_count']) ?></td> <td><?= format_bytes($values['database_size']) ?></td> |
