mirror of
https://github.com/openvk/openvk
synced 2024-12-27 11:01:28 +03:00
53f6b3e12b
* search: a bit refactor * search: a bit refactor 2 * audios: a bit changes * results highlight, midnight changes, player insear * add audio download button, simplify css * upload page changes, add playlist add menu * -comments search, arrow keys on tips * move $query var and optimize users/groups.search го рофлить * слегка проебался
57 lines
1.7 KiB
XML
57 lines
1.7 KiB
XML
{extends "../@listView.xml"}
|
|
{var $iterator = $videos}
|
|
{var $count = $paginatorConf->count}
|
|
{var $page = $paginatorConf->page}
|
|
|
|
{block title}{_videos} {$user->getCanonicalName()}{/block}
|
|
|
|
{block header}
|
|
<a href="{$user->getURL()}">{$user->getCanonicalName()}</a>
|
|
» {_videos}
|
|
{/block}
|
|
|
|
{block size}
|
|
<div style="padding-bottom: 0px; padding-top: 0;" class="summaryBar">
|
|
<div class="summary">
|
|
{tr("videos", $count)}
|
|
<span n:if="isset($thisUser) && $thisUser->getId() == $user->getId() && !OPENVK_ROOT_CONF['openvk']['preferences']['videos']['disableUploading']">
|
|
|
|
|
<a href="/videos/upload">{_upload_video}</a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
{/block}
|
|
|
|
{block actions}
|
|
|
|
{/block}
|
|
|
|
{* BEGIN ELEMENTS DESCRIPTION *}
|
|
|
|
{block link|strip|stripHtml}
|
|
/video{$x->getPrettyId()}
|
|
{/block}
|
|
|
|
{block preview}
|
|
<div class="video-preview" data-id="{$x->getId()}">
|
|
<img src="{$x->getThumbnailURL()}"
|
|
alt="{$x->getName()}"
|
|
style="max-width: 170px; max-height: 127px; margin: auto;" />
|
|
</div>
|
|
{/block}
|
|
|
|
{block name}
|
|
<span data-id="{$x->getId()}" style="color:unset;">{$x->getName()}</span>
|
|
{/block}
|
|
|
|
{block description}
|
|
<p>
|
|
<span>{$x->getDescription() ?? ""}</span>
|
|
</p>
|
|
<span style="color: grey;">{_video_uploaded} {$x->getPublicationTime()}</span><br/>
|
|
<span style="color: grey;">{_video_updated} {$x->getEditTime() ?? $x->getPublicationTime()}</span>
|
|
<p>
|
|
<a href="/video{$x->getPrettyId()}" data-id="{$x->getId()}">{_view_video}</a>
|
|
{if $x->getCommentsCount() > 0}| <a href="/video{$x->getPrettyId()}#comments">{_comments} ({$x->getCommentsCount()})</a>{/if}
|
|
</p>
|
|
{/block}
|