mirror of
https://github.com/openvk/openvk
synced 2024-12-23 09:01:15 +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>
30 lines
1.3 KiB
XML
30 lines
1.3 KiB
XML
{block ViewContent}
|
|
<div class="container_gray" style="margin-top: 16px; margin-bottom: 16px; max-width: 100%;">
|
|
{if $type == "post"}
|
|
{include "../components/post/oldpost.xml",
|
|
post => $object,
|
|
forceNoDeleteLink => true,
|
|
forceNoPinLink => true,
|
|
forceNoCommentsLink => true,
|
|
forceNoShareLink => true,
|
|
forceNoLike => true
|
|
}
|
|
{elseif $type == "photo"}
|
|
{include "./content/photo.xml", photo => $object}
|
|
{elseif $type == "video"}
|
|
{include "./content/video.xml", video => $object}
|
|
{elseif $type == "group" || $type == "user"}
|
|
{include "../components/group.xml", group => $object, isUser => $type == "user"}
|
|
{elseif $type == "comment"}
|
|
{include "../components/comment.xml", comment => $object, timeOnly => true}
|
|
{elseif $type == "note"}
|
|
{include "./content/note.xml", note => $object}
|
|
{elseif $type == "app"}
|
|
{if $appsSoftDeleting}
|
|
{include "./content/app.xml", app => $object}
|
|
{/if}
|
|
{else}
|
|
{include "../components/error.xml", description => tr("version_incompatibility")}
|
|
{/if}
|
|
</div>
|
|
{/block}
|