mirror of
https://github.com/openvk/openvk
synced 2024-12-29 11:54:50 +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>
41 lines
1.3 KiB
XML
41 lines
1.3 KiB
XML
{extends "@layout.xml"}
|
|
{block title}{_banned_title}{/block}
|
|
|
|
{block header}
|
|
{_banned_header}
|
|
{/block}
|
|
|
|
{block content}
|
|
<center>
|
|
<img src="/assets/packages/static/openvk/img/oof.apng" alt="{_banned_alt}" style="width: 20%;" />
|
|
</center>
|
|
<p>
|
|
{var $ban = $thisUser->getBanReason("banned")}
|
|
{if is_string($ban)}
|
|
{tr("banned_1", htmlentities($thisUser->getCanonicalName()))|noescape}<br/>
|
|
{tr("banned_2", htmlentities($thisUser->getBanReason()))|noescape}
|
|
{else}
|
|
{tr("banned_1", htmlentities($thisUser->getCanonicalName()))|noescape}
|
|
<div>
|
|
Эта страница была заморожена {$ban[0]|noescape}
|
|
{if $ban[1] !== "app"}
|
|
{include "Report/ViewContent.xml", type => $ban[1], object => $ban[2]}
|
|
{/if}
|
|
</div>
|
|
{/if}
|
|
|
|
{if !$thisUser->getUnbanTime()}
|
|
{_banned_perm}
|
|
{else}
|
|
{tr("banned_until_time", $thisUser->getUnbanTime())|noescape}
|
|
{/if}
|
|
</p>
|
|
<p n:if="$thisUser->canUnbanThemself()">
|
|
<hr/>
|
|
<center><a class="button" href="/unban.php">{_banned_unban_myself}</a></center>
|
|
</p>
|
|
<hr/>
|
|
<p>
|
|
{tr("banned_3", urlencode($csrfToken))|noescape}
|
|
</p>
|
|
{/block}
|