diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-04-26 18:10:57 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-04-26 18:10:57 +0000 |
commit | 01ad065ae54d3828cf6dad36e8f363000cd183a0 (patch) | |
tree | f76b68b915ac405f144d00ebc0c6daa345193248 /phpBB/includes/acp/acp_logs.php | |
parent | db56792e91fa33da53bcd169c1fc45f092186b1d (diff) | |
download | forums-01ad065ae54d3828cf6dad36e8f363000cd183a0.tar forums-01ad065ae54d3828cf6dad36e8f363000cd183a0.tar.gz forums-01ad065ae54d3828cf6dad36e8f363000cd183a0.tar.bz2 forums-01ad065ae54d3828cf6dad36e8f363000cd183a0.tar.xz forums-01ad065ae54d3828cf6dad36e8f363000cd183a0.zip |
- adding user logs (displaying all users instead of limited to the user if viewing user notes)
- fixed a tiny set of bugs...
git-svn-id: file:///svn/phpbb/trunk@5848 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_logs.php')
-rw-r--r-- | phpBB/includes/acp/acp_logs.php | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/phpBB/includes/acp/acp_logs.php b/phpBB/includes/acp/acp_logs.php index 241f266541..33a4ce13c2 100644 --- a/phpBB/includes/acp/acp_logs.php +++ b/phpBB/includes/acp/acp_logs.php @@ -127,12 +127,14 @@ class acp_logs } $template->assign_block_vars('log', array( - 'USERNAME' => $row['username'], - 'IP' => $row['ip'], - 'DATE' => $user->format_date($row['time']), - 'ACTION' => $row['action'], - 'DATA' => (sizeof($data)) ? implode(' | ', $data) : '', - 'ID' => $row['id'], + 'USERNAME' => $row['username'], + 'REPORTEE_USERNAME' => ($row['reportee_username'] && $row['user_id'] != $row['reportee_id']) ? $row['reportee_username'] : '', + + 'IP' => $row['ip'], + 'DATE' => $user->format_date($row['time']), + 'ACTION' => $row['action'], + 'DATA' => (sizeof($data)) ? implode(' | ', $data) : '', + 'ID' => $row['id'], ) ); } |