mirror of
https://github.com/openvk/openvk
synced 2024-11-11 09:29:29 +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>
60 lines
1.6 KiB
XML
60 lines
1.6 KiB
XML
{extends "../@listView.xml"}
|
|
{var iterator = iterator_to_array($reports)}
|
|
{var page = $paginatorConf->page}
|
|
{var table_body_id = "reports"}
|
|
|
|
{block tabs}{include "../NoSpam/Tabs.xml", mode => "reports"}{/block}
|
|
{block before_content}
|
|
{include "./Tabs.xml", mode => $mode}
|
|
{/block}
|
|
|
|
{block title}{_list_of_reports}{/block}
|
|
|
|
{block header}
|
|
{_list_of_reports}
|
|
{/block}
|
|
|
|
{block actions}
|
|
|
|
{/block}
|
|
|
|
{block top}
|
|
{if !is_null($orig)}
|
|
<h4>Дубликаты жалобы №{$orig}</h4>
|
|
{/if}
|
|
{/block}
|
|
|
|
{* BEGIN ELEMENTS DESCRIPTION *}
|
|
|
|
{block link|strip|stripHtml}
|
|
/admin/report{$x->getId()}
|
|
{/block}
|
|
|
|
{block preview}
|
|
<center><img src="/assets/packages/static/openvk/img/note_icon.png" style="margin-top: 17px;" /></center>
|
|
{/block}
|
|
|
|
{block name}
|
|
Жалоба №{$x->getId()}
|
|
{/block}
|
|
|
|
{block description}
|
|
<a href="{$x->getReportAuthor()->getURL()}">
|
|
{$x->getReportAuthor()->getCanonicalName()}
|
|
</a>
|
|
пожаловал{!$x->getReportAuthor()->isFemale() ? 'ся' : 'ась'} на
|
|
{if $x->getContentType() === "user"}<a href="{$x->getContentObject()->getURL()}">{/if}
|
|
{$x->getContentName()}
|
|
{if $x->getContentType() === "user"}</a>{/if}
|
|
|
|
{if $x->hasDuplicates() && !$orig}
|
|
<br />
|
|
<b>Другие жалобы на этот контент: <a href="/scumfeed?orig={$x->getId()}">{$x->getDuplicatesCount()} шт.</a></b>
|
|
{/if}
|
|
{/block}
|
|
|
|
{block bottom}
|
|
<center id="reports-loader" style="display: none; padding: 64px;">
|
|
<img src="/assets/packages/static/openvk/img/loading_mini.gif" style="width: 40px;">
|
|
</center>
|
|
{/block}
|