mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-01 18:47:20 +01:00
/reports should oben config[mod][show_ip]
This commit is contained in:
parent
c8c7f9a707
commit
67c2fa9a3d
4
mod.php
4
mod.php
@ -1329,7 +1329,9 @@
|
|||||||
'Board: <a href="?/' . $report['uri'] . '/' . $config['file_index'] . '">' . sprintf($config['board_abbreviation'], $report['uri']) . '</a><br/>' .
|
'Board: <a href="?/' . $report['uri'] . '/' . $config['file_index'] . '">' . sprintf($config['board_abbreviation'], $report['uri']) . '</a><br/>' .
|
||||||
'Reason: ' . $report['reason'] . '<br/>' .
|
'Reason: ' . $report['reason'] . '<br/>' .
|
||||||
'Report date: ' . date($config['post_date'], $report['time']) . '<br/>' .
|
'Report date: ' . date($config['post_date'], $report['time']) . '<br/>' .
|
||||||
'Reported by: <a href="?/IP/' . $report['ip'] . '">' . $report['ip'] . '</a><br/>' .
|
(hasPermission($config['mod']['show_ip']) ?
|
||||||
|
'Reported by: <a href="?/IP/' . $report['ip'] . '">' . $report['ip'] . '</a><br/>'
|
||||||
|
: '') .
|
||||||
'<hr/>' .
|
'<hr/>' .
|
||||||
(hasPermission($config['mod']['report_dismiss']) ?
|
(hasPermission($config['mod']['report_dismiss']) ?
|
||||||
'<a title="Discard abuse report" href="?/reports/' . $report['id'] . '/dismiss">Dismiss</a> | ' : '') .
|
'<a title="Discard abuse report" href="?/reports/' . $report['id'] . '/dismiss">Dismiss</a> | ' : '') .
|
||||||
|
Loading…
Reference in New Issue
Block a user