2022-08-27 01:18:51 +03:00
|
|
|
{extends "../@layout.xml"}
|
2022-04-24 08:06:45 +03:00
|
|
|
{var $sorting = false}
|
2020-06-07 19:04:43 +03:00
|
|
|
|
|
|
|
{block title}
|
|
|
|
{_feedback}
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block header}
|
|
|
|
<a href="{$thisUser->getURL()}">{$thisUser->getCanonicalName()}</a> »
|
|
|
|
{_feedback}
|
|
|
|
{/block}
|
|
|
|
|
2022-08-27 01:18:51 +03:00
|
|
|
{block content}
|
|
|
|
<div n:ifcontent class="tabs">
|
2020-06-07 19:04:43 +03:00
|
|
|
<div n:attr="id => ($mode === 'new' ? 'activetabs' : 'ki')" class="tab">
|
2022-05-26 15:25:16 +03:00
|
|
|
<a n:attr="id => ($mode === 'new' ? 'act_tab_a' : 'ki')" href="?act=new">{_unread}</a>
|
2020-06-07 19:04:43 +03:00
|
|
|
</div>
|
|
|
|
<div n:attr="id => ($mode === 'archived' ? 'activetabs' : 'ki')" class="tab">
|
|
|
|
<a n:attr="id => ($mode === 'archived' ? 'act_tab_a' : 'ki')" href="?act=archived">{_archive}</a>
|
|
|
|
</div>
|
2022-08-27 01:18:51 +03:00
|
|
|
</div>
|
|
|
|
{var $data = is_array($iterator) ? $iterator : iterator_to_array($iterator)}
|
|
|
|
{if sizeof($data) > 0}
|
|
|
|
<table class="post post-divider" border="0" style="font-size: 11px;" n:foreach="$data as $dat">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td width="54" valign="top">
|
|
|
|
<a href="/sysop">
|
|
|
|
<img src="{$dat->getModel(1)->getAvatarUrl('miniscule')}" width=50 />
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td width="100%" valign="top">
|
|
|
|
<div class="post-content">
|
|
|
|
<div class="text" style="line-height: 12pt;">
|
|
|
|
{include $dat->getTemplatePath(), notification => $dat}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{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}
|
|
|
|
{/block}
|