|
@@ -206,6 +206,8 @@ function template_reported_posts()
|
|
|
$details_button = create_button('details.png', 'mc_reportedp_details', 'mc_reportedp_details', 'class="centericon"');
|
|
|
$ignore_button = create_button('ignore.png', 'mc_reportedp_ignore', 'mc_reportedp_ignore', 'class="centericon"');
|
|
|
$unignore_button = create_button('ignore.png', 'mc_reportedp_unignore', 'mc_reportedp_unignore', 'class="centericon"');
|
|
|
+ $ban_button = create_button('delete.png', 'mc_reportedp_ban', 'mc_reportedp_ban', 'class="centericon"');
|
|
|
+ $delete_button = create_button('delete.png', 'mc_reportedp_delete', 'mc_reportedp_delete', 'class="centericon"');
|
|
|
|
|
|
foreach ($context['reports'] as $report)
|
|
|
{
|
|
@@ -213,7 +215,7 @@ function template_reported_posts()
|
|
|
<div class="generic_list_wrapper ', $report['alternate'] ? 'windowbg' : 'windowbg2', '">
|
|
|
<div class="content">
|
|
|
<h5>
|
|
|
- <strong><a href="', $report['topic_href'], '">', $report['subject'], '</a></strong> ', $txt['mc_reportedp_by'], ' <strong>', $report['author']['link'], '</strong>
|
|
|
+ <strong><a href="', $report['topic']['href'], '">', $report['subject'], '</a></strong> ', $txt['mc_reportedp_by'], ' <strong>', $report['author']['link'], '</strong>
|
|
|
</h5>
|
|
|
<div class="smalltext">
|
|
|
', $txt['mc_reportedp_last_reported'], ': ', $report['last_updated'], ' - ';
|