mirror of
https://github.com/openvk/openvk
synced 2024-11-14 11:09:12 +03:00
6159262026
* Reports: [INDEV] Undone implementation of reports
* Reports: Backend is done
* Reports: Still makin it...
* Reports: Added report window
* Reports: Corrected the content type
* Reports: Make it work
* Reports: Minor fixes and localization
* Reports: Ability to hide Share and Like buttons
Also renamed the .sql file
* Revent some changes from 8f8d7bb
I will move them to the master branch
* Reports: Only for those who can access Helpdesk
* Reports: Modified the route
* Reports: Change the routes
* Reports: Show reports count
* Report: Fix URL
* Обновление репортов (#715)
* Репорты живы
* 2
* Better reports
* Логи
* Update DBEntity.updated.php
* noSpam
* Сбор IP и UserAgent + фикс логирования в IPs
* Новые поля для поиска etc.
* Fixes
* Fixes and enhancements
* Поиск по нескольким разделам
* Reports enhancements
* Совместимость с новыми логами
* Совместимость с новыми логами
* Update Logs.xml
* Update Logs.xml
* Logs i18n
* Update Logs.xml
* Update AdminPresenter.php
---------
Co-authored-by: veselcraft <veselcraft@icloud.com>
Co-authored-by: Ilya Prokopenko <55238545+Xenforce@users.noreply.github.com>
Co-authored-by: n1rwana <aydashkin@vk.com>
37 lines
1.8 KiB
XML
37 lines
1.8 KiB
XML
{extends "../@layout.xml"}
|
|
|
|
{block title}{$report->getReason()}{/block}
|
|
|
|
{block header}
|
|
<a href="/admin/support/reports">{_list_of_reports}</a>
|
|
»
|
|
{_report_number}{$report->getId()}
|
|
{/block}
|
|
|
|
{block content}
|
|
<div class="tabs">{include "../NoSpam/Tabs.xml", mode => "reports"}</div>
|
|
<br />
|
|
<p>
|
|
<b>{$report->getReportAuthor()->getCanonicalName()}</b> пожаловался на <b>{$report->getContentName()}</b>
|
|
<br />
|
|
<b>{_comment}:</b> {$report->getReason()}
|
|
</p>
|
|
{include "ViewContent.xml", type => $report->getContentType(), object => $report->getContentObject()}
|
|
<center>
|
|
<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 n:if="$report->getContentType() !== 'user'" 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>
|
|
</form>
|
|
{/block}
|