mirror of
https://github.com/openvk/openvk
synced 2024-12-25 18:11:07 +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>
82 lines
3.4 KiB
XML
82 lines
3.4 KiB
XML
{extends "@layout.xml"}
|
|
|
|
{block wrap}
|
|
<div class="wrap2">
|
|
<div class="wrap1">
|
|
<div class="page_wrap padding_top">
|
|
<div n:ifset="tabs" n:ifcontent class="tabs stupid-fix">
|
|
{include tabs}
|
|
</div>
|
|
|
|
{ifset size}
|
|
{include size, x => $dat}
|
|
{/ifset}
|
|
|
|
{ifset before_content}
|
|
{include before_content, x => $dat}
|
|
{/ifset}
|
|
|
|
{ifset specpage}
|
|
{include specpage, x => $dat}
|
|
{else}
|
|
<div class="container_gray">
|
|
{var $data = is_array($iterator) ? $iterator : iterator_to_array($iterator)}
|
|
|
|
{ifset top}
|
|
{include top, x => $dat}
|
|
{/ifset}
|
|
|
|
{if sizeof($data) > 0}
|
|
<div class="content" n:foreach="$data as $dat">
|
|
<table>
|
|
<tbody n:attr="id => is_null($table_body_id) ? NULL : $table_body_id">
|
|
<tr>
|
|
<td valign="top">
|
|
<a href="{include link, x => $dat}">
|
|
{include preview, x => $dat}
|
|
</a>
|
|
</td>
|
|
<td valign="top" style="width: 100%">
|
|
{ifset infotable}
|
|
{include infotable, x => $dat}
|
|
{else}
|
|
<a href="{include link, x => $dat}">
|
|
<b>
|
|
{include name, x => $dat}
|
|
</b>
|
|
</a>
|
|
<br/>
|
|
{include description, x => $dat}
|
|
{/ifset}
|
|
</td>
|
|
<td n:ifset="actions" valign="top" class="action_links" style="width: 150px;">
|
|
{include actions, x => $dat}
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{include "components/paginator.xml", conf => (object) [
|
|
"page" => $page,
|
|
"count" => $count,
|
|
"amount" => sizeof($data),
|
|
"perPage" => $perPage ?? OPENVK_DEFAULT_PER_PAGE,
|
|
"atBottom" => true,
|
|
]}
|
|
{else}
|
|
{ifset customErrorMessage}
|
|
{include customErrorMessage}
|
|
{else}
|
|
{include "components/nothing.xml"}
|
|
{/ifset}
|
|
{/if}
|
|
</div>
|
|
{/ifset}
|
|
|
|
{ifset bottom}
|
|
{include bottom}
|
|
{/ifset}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{/block}
|