+
{if !$dat || $dat->getTargetWall() < 0 && $dat->getWallOwner()->isHideFromGlobalFeedEnabled()}
{_closed_group_post}.
{else}
@@ -195,7 +197,7 @@
{/if}
{elseif $type == "comments"}
-
+
{if !$dat->getTarget() || $dat->getTarget()->isDeleted()}
{_deleted_target_comment}.
{else}
@@ -204,9 +206,9 @@
{elseif $type == "videos"}
{foreach $data as $dat}
-
- {include "../components/video.xml", video => $dat}
-
+
+ {include "../components/video.xml", video => $dat}
+
{/foreach}
{elseif $type == "audios"}
хуй
@@ -218,6 +220,16 @@
{include "../components/nothing.xml"}
{/ifset}
{/if}
+
+ {if isset($thisUser) && $thisUser->getPaginatorType() == 1}
+ {include "../components/paginator.xml", conf => (object) [
+ "page" => $page,
+ "count" => $count,
+ "amount" => sizeof($data),
+ "perPage" => $perPage ?? OPENVK_DEFAULT_PER_PAGE,
+ "atBottom" => false,
+ ]}
+ {/if}