2020-06-07 19:04:43 +03:00
|
|
|
{extends "../@listView.xml"}
|
2022-04-24 08:06:45 +03:00
|
|
|
{var $iterator = $videos}
|
|
|
|
{var $count = $paginatorConf->count}
|
|
|
|
{var $page = $paginatorConf->page}
|
2020-06-07 19:04:43 +03:00
|
|
|
|
2022-08-09 09:37:08 +03:00
|
|
|
{block title}{_videos} {$user->getCanonicalName()}{/block}
|
2020-06-07 19:04:43 +03:00
|
|
|
|
|
|
|
{block header}
|
|
|
|
<a href="{$user->getURL()}">{$user->getCanonicalName()}</a>
|
2022-08-09 09:37:08 +03:00
|
|
|
» {_videos}
|
2022-02-01 19:50:53 +03:00
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block size}
|
2022-02-19 01:03:27 +03:00
|
|
|
<div style="padding-bottom: 0px; padding-top: 0;" class="summaryBar">
|
2022-02-01 19:50:53 +03:00
|
|
|
<div class="summary">
|
2022-02-19 20:50:06 +03:00
|
|
|
{tr("videos", $count)}
|
2023-05-27 09:31:20 +03:00
|
|
|
<span n:if="isset($thisUser) && $thisUser->getId() == $user->getId() && !OPENVK_ROOT_CONF['openvk']['preferences']['videos']['disableUploading']">
|
2022-02-19 20:50:06 +03:00
|
|
|
|
|
|
|
|
<a href="/videos/upload">{_upload_video}</a>
|
|
|
|
</span>
|
2022-02-01 19:50:53 +03:00
|
|
|
</div>
|
2020-06-07 19:04:43 +03:00
|
|
|
</div>
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block actions}
|
|
|
|
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
{* BEGIN ELEMENTS DESCRIPTION *}
|
|
|
|
|
|
|
|
{block link|strip|stripHtml}
|
|
|
|
/video{$x->getPrettyId()}
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block preview}
|
2024-11-22 11:55:51 +03:00
|
|
|
<div class="video-preview" id="videoOpen" data-id="{$x->getPrettyId()}">
|
2022-02-22 13:44:13 +03:00
|
|
|
<img src="{$x->getThumbnailURL()}"
|
|
|
|
alt="{$x->getName()}"
|
|
|
|
style="max-width: 170px; max-height: 127px; margin: auto;" />
|
|
|
|
</div>
|
2020-06-07 19:04:43 +03:00
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block name}
|
2024-11-22 11:55:51 +03:00
|
|
|
<span id="videoOpen" data-id="{$x->getPrettyId()}" style="color:unset;">{$x->getName()}</span>
|
2020-06-07 19:04:43 +03:00
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block description}
|
2022-02-22 13:44:13 +03:00
|
|
|
<p>
|
|
|
|
<span>{$x->getDescription() ?? ""}</span>
|
|
|
|
</p>
|
2022-08-09 09:37:08 +03:00
|
|
|
<span style="color: grey;">{_video_uploaded} {$x->getPublicationTime()}</span><br/>
|
|
|
|
<span style="color: grey;">{_video_updated} {$x->getEditTime() ?? $x->getPublicationTime()}</span>
|
2022-02-22 13:44:13 +03:00
|
|
|
<p>
|
2024-11-22 11:55:51 +03:00
|
|
|
<a href="/video{$x->getPrettyId()}" data-id="{$x->getPrettyId()}">{_view_video}</a>
|
2022-08-09 09:37:08 +03:00
|
|
|
{if $x->getCommentsCount() > 0}| <a href="/video{$x->getPrettyId()}#comments">{_comments} ({$x->getCommentsCount()})</a>{/if}
|
2022-02-22 13:44:13 +03:00
|
|
|
</p>
|
2020-06-07 19:04:43 +03:00
|
|
|
{/block}
|