openvk/Web/Presenters/templates/Report/View.xml
2021-12-05 10:57:15 +03:00

22 lines
762 B
XML

{extends "../@layout.xml"}
{block title}{$report->getReason()}{/block}
{block header}
<a href="/admin/reports">{_list_of_reports}</a>
»
{_report_number}{$report->getId()}
{/block}
{block content}
<p><b>{_comment}: </b>{$report->getReason()}</p>
{include "../components/post/oldpost.xml", post => $report->getContentObject()}
<center>
<form 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>
</center>
{/block}