2021-09-25 16:59:18 +03:00
|
|
|
{extends "../@layout.xml"}
|
|
|
|
|
|
|
|
{block title}{$report->getReason()}{/block}
|
|
|
|
|
|
|
|
{block header}
|
2022-08-10 16:43:36 +03:00
|
|
|
<a href="/admin/support/reports">{_list_of_reports}</a>
|
2021-09-25 16:59:18 +03:00
|
|
|
»
|
2021-12-05 10:57:15 +03:00
|
|
|
{_report_number}{$report->getId()}
|
2021-09-25 16:59:18 +03:00
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block content}
|
2021-12-05 10:57:15 +03:00
|
|
|
<p><b>{_comment}: </b>{$report->getReason()}</p>
|
2023-07-27 20:36:56 +03:00
|
|
|
{include "ViewContent.xml", type => $report->getContentType(), object => $report->getContentObject()}
|
2022-09-17 00:06:37 +03:00
|
|
|
<center>
|
2023-07-27 20:36:56 +03:00
|
|
|
<form action="/admin/reportAction{$report->getId()}" method="post">
|
|
|
|
<center>
|
|
|
|
<form n:if="$report->getContentType() != 'group'" action="/admin/reportAction{$report->getId()}" method="post">
|
|
|
|
<input type="hidden" name="hash" value="{$csrfToken}" />
|
|
|
|
<input type="submit" name="ban" value="{_ban_user_action}" class="button">
|
|
|
|
<input type="submit" name="delete" value="{_delete}" class="button">
|
|
|
|
<input type="submit" name="ignore" value="{_ignore_report}" class="button">
|
|
|
|
</form>
|
|
|
|
<form n:if="$report->getContentType() == 'group'" action="/admin/reportAction{$report->getId()}" method="post">
|
|
|
|
<input type="hidden" name="hash" value="{$csrfToken}" />
|
|
|
|
<input type="submit" name="banClubOwner" value="Заблокировать создателя" class="button">
|
|
|
|
<input type="submit" name="banClub" value="Заблокировать группу" class="button">
|
|
|
|
<input type="submit" name="ignore" value="{_ignore_report}" class="button">
|
|
|
|
</form>
|
|
|
|
</center>
|
2022-09-17 00:06:37 +03:00
|
|
|
</form>
|
2021-09-25 16:59:18 +03:00
|
|
|
{/block}
|