diff options
author | Richard McGirr <rmcgirr83@gmail.com> | 2015-10-08 05:58:06 -0400 |
---|---|---|
committer | Richard McGirr <rmcgirr83@gmail.com> | 2015-10-08 06:10:49 -0400 |
commit | 4830b3eacd13a37c2f61caf7431517d53902659e (patch) | |
tree | 1e8539974c6292c28b1065109e89a85bc0e25bd9 | |
parent | 972f04ec6a78f06bb5da25729ec1d8758514cdcb (diff) | |
download | forums-4830b3eacd13a37c2f61caf7431517d53902659e.tar forums-4830b3eacd13a37c2f61caf7431517d53902659e.tar.gz forums-4830b3eacd13a37c2f61caf7431517d53902659e.tar.bz2 forums-4830b3eacd13a37c2f61caf7431517d53902659e.tar.xz forums-4830b3eacd13a37c2f61caf7431517d53902659e.zip |
[ticket/14219] Add email to inactive user listing
in ACP. May help in spotting spam accounts quickly
PHPBB3-14219
-rw-r--r-- | phpBB/adm/style/acp_inactive.html | 2 | ||||
-rw-r--r-- | phpBB/includes/acp/acp_inactive.php | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/adm/style/acp_inactive.html b/phpBB/adm/style/acp_inactive.html index 409ea46de5..2aa3051f53 100644 --- a/phpBB/adm/style/acp_inactive.html +++ b/phpBB/adm/style/acp_inactive.html @@ -18,6 +18,7 @@ <thead> <tr> <th>{L_USERNAME}</th> + <th>{L_EMAIL}</th> <th>{L_JOINED}</th> <th>{L_INACTIVE_DATE}</th> <th>{L_LAST_VISIT}</th> @@ -32,6 +33,7 @@ {inactive.USERNAME_FULL} <!-- IF inactive.POSTS --><br />{L_POSTS}{L_COLON} <strong>{inactive.POSTS}</strong> [<a href="{inactive.U_SEARCH_USER}">{L_SEARCH_USER_POSTS}</a>]<!-- ENDIF --> </td> + <td style="vertical-align: top;">{inactive.USER_EMAIL}</td> <td style="vertical-align: top;">{inactive.JOINED}</td> <td style="vertical-align: top;">{inactive.INACTIVE_DATE}</td> <td style="vertical-align: top;">{inactive.LAST_VISIT}</td> diff --git a/phpBB/includes/acp/acp_inactive.php b/phpBB/includes/acp/acp_inactive.php index e96c42de05..75c45c4017 100644 --- a/phpBB/includes/acp/acp_inactive.php +++ b/phpBB/includes/acp/acp_inactive.php @@ -274,6 +274,7 @@ class acp_inactive 'USERNAME_FULL' => get_username_string('full', $row['user_id'], $row['username'], $row['user_colour'], false, append_sid("{$phpbb_admin_path}index.$phpEx", 'i=users&mode=overview')), 'USERNAME' => get_username_string('username', $row['user_id'], $row['username'], $row['user_colour']), 'USER_COLOR' => get_username_string('colour', $row['user_id'], $row['username'], $row['user_colour']), + 'USER_EMAIL' => $row['user_email'], 'U_USER_ADMIN' => append_sid("{$phpbb_admin_path}index.$phpEx", "i=users&mode=overview&u={$row['user_id']}"), 'U_SEARCH_USER' => ($auth->acl_get('u_search')) ? append_sid("{$phpbb_root_path}search.$phpEx", "author_id={$row['user_id']}&sr=posts") : '', |