-{block actions}
-
-{/block}
-
-{/block}
-
-{* BEGIN ELEMENTS DESCRIPTION *}
-
-{block link|strip|stripHtml}
- /video{$x->getPrettyId()}
-{/block}
-
+
+
+
+ {tr("videos", $count)}
+
+
+
+
+
+
+
+ {foreach $videos as $video}
+ {include '../components/video.xml', video => $video}
+ {/foreach}
+
+ {include "../components/paginator.xml", conf => $paginatorConf}
+
-{block preview}
-
-
{/block}
-
-{block name}
- {$x->getName()}
-{/block}
-
-{block description}
-
- {$x->getDescription() ?? ""}
-
-
{_video_uploaded} {$x->getPublicationTime()}
-
- {if $x->getCommentsCount() > 0} {_comments} ({$x->getCommentsCount()}){/if}
-
-{/block}
-
diff --git a/tpl/Videos/View.xml b/tpl/Videos/View.xml
index 2837fc6..87feb75 100755
--- a/tpl/Videos/View.xml
+++ b/tpl/Videos/View.xml
@@ -12,12 +12,12 @@
{block body}
-
- {$video->getName()}
-
+
+ {$video->getName()}
+
-
+
{if $video->getType() === 0}
{else}
@@ -28,38 +28,37 @@
{$driver->getEmbed()|noescape}
{/if}
{/if}
-
+
-
-
-
- {_"info_upload_date"}: {$video->getPublicationTime()}
-
-
-
+
+
+
+ {_"info_upload_date"}: {$video->getPublicationTime()}
+
-
+
+
{include "../components/comments.xml",
- comments => $comments,
- count => $cCount,
- page => $cPage,
- model => "videos",
- parent => $video}
+ comments => $comments,
+ count => $cCount,
+ page => $cPage,
+ model => "videos",
+ parent => $video}
diff --git a/tpl/Wall/Feed.xml b/tpl/Wall/Feed.xml
index 65286ce..fedc5b6 100755
--- a/tpl/Wall/Feed.xml
+++ b/tpl/Wall/Feed.xml
@@ -2,10 +2,23 @@
{block title}{_feed}{/block}
{block body}
-
+ {if $paginatorConf->page < 2}
+ {if !isset($globalFeed)}
+
{include "../components/textArea.xml", route => "/wall" . $thisUser->getId() . "/makePost"}
diff --git a/tpl/components/notifications/4/_18_13_.xml b/tpl/components/notifications/4/_18_13_.xml
index 69c2c42..0ae73bd 100755
--- a/tpl/components/notifications/4/_18_13_.xml
+++ b/tpl/components/notifications/4/_18_13_.xml
@@ -1,4 +1,4 @@
{var $user = $notification->getModel(0)}
{var $post = $notification->getModel(1)}
-{_nt_you_were_mentioned_u}
{$user->getCanonicalName()} {$notification->getDateTime()}
{_nt_mention_in_photo}: "{$notification->getData()}"
+{_nt_you_were_mentioned_u}
{$user->getCanonicalName()} {$notification->getDateTime()}
{_nt_mention_in_photo}: "{$notification->getData()}"
diff --git a/tpl/components/notifications/6/_14_5_.xml b/tpl/components/notifications/6/_14_5_.xml
new file mode 100644
index 0000000..09b03c7
--- /dev/null
+++ b/tpl/components/notifications/6/_14_5_.xml
@@ -0,0 +1,7 @@
+{var $club = $notification->getModel(1)}
+{var $post = $notification->getModel(0)}
+
+{_group}
+
{$club->getName()}
+{_nt_accepted_your_post}
+
{_nt_post_small}.
diff --git a/tpl/components/notifications/7/_18_5_.xml b/tpl/components/notifications/7/_18_5_.xml
new file mode 100644
index 0000000..b9cda47
--- /dev/null
+++ b/tpl/components/notifications/7/_18_5_.xml
@@ -0,0 +1,5 @@
+{var $club = $notification->getModel(1)}
+
+{_nt_in_club}
+
{$club->getName()}
+{_nt_new_suggested_posts}
diff --git a/tpl/components/notifications/9601/_20_18_.xml b/tpl/components/notifications/9601/_20_18_.xml
index 08a80a5..87eff8a 100755
--- a/tpl/components/notifications/9601/_20_18_.xml
+++ b/tpl/components/notifications/9601/_20_18_.xml
@@ -1,7 +1,7 @@
{var $gift = $notification->getModel(0)}
{var $sender = $notification->getModel(1)}
-
{$sender->getCanonicalName()} отправил вам подарок.
+
{$sender->getCanonicalName()} {_nt_sent_gift}.
{$notification->getDateTime()}
\ No newline at end of file
diff --git a/tpl/components/paginator.xml b/tpl/components/paginator.xml
index 1107618..a7f8135 100755
--- a/tpl/components/paginator.xml
+++ b/tpl/components/paginator.xml
@@ -1,4 +1,4 @@
-{var $space = 2}
+{var $space = $conf->space ?? 2}
{var $pageCount = ceil($conf->count / $conf->perPage)}