Файл: content/themes/facebook/templates/ajax.posts.music.tpl
Строк: 106
{if $method == "get"}
<!-- Avatar -->
{include file='ajax.posts._avatar.tpl'}
<!-- Avatar -->
<!-- Post -->
<div class="dataContentWrapper medium
ml10">
<!-- Buttons & UserName -->
<div class="dataContent mb5">
{include
file='ajax.posts._buttons.tpl'}
{include
file='ajax.posts._username.tpl'}
</div>
<!--
Buttons & UserName -->
<!-- Data -->
<div class="dataContent
mb10">{$post.data.Text}</div>
<div
class="dataContent mediaPlayer mb10"
title="{$translate->__("Listen to")}
{$post.data.Title}">
<div class="uiMusicThumb
playVideo">
<span class="mr5
gray">{$translate->__("Title")}:</span><span
class="blue">{$post.data.Title|truncate:65}</span><br
/>
<span class="mr5
gray">{$translate->__("Info")}:
</span><span>{$post.data.Description|truncate:65}</span>
<i class="plyrBtn"></i>
</div>
</div>
<div class="dataContent
mb10 mediaPlayer hidden">
<div
class="uiVideoPlayer">
<div
class="button-close closeVideo right mb5"></div>
<object height="81" width="100%">
<param name="movie"
value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F{$post.data.Source}&show_comments=false&auto_play=false&color=85DEFF"></param>
<param name="allowscriptaccess"
value="always"></param> <embed
allowscriptaccess="always" height="81"
src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F{$post.data.Source}&show_comments=false&auto_play=false&color=85DEFF"
type="application/x-shockwave-flash"
width="100%"></embed> </object>
</div>
</div>
<!-- Data -->
<!-- Statistics -->
{include
file='ajax.posts._statistics.tpl' _icon='app_music' _url='track'}
<!-- Statistics -->
<!-- Comments -->
{include file='ajax.posts.comments.tpl'}
<!-- Comments
-->
</div>
<!-- Post -->
{elseif
$method == "post"}
<li class="hidden
firstNode" id="{$post.ID}"></li>
<li
class="feedItem">
<div
class="dataContainer"
id="{$post.ID}-{$post.PostType}-{$post.PostID}-{$userArray.UserID}">
<!-- Vote Box -->
{include
file='ajax.posts._votebox.tpl'}
<!-- Vote Box -->
<!-- Avatar -->
{include
file='ajax.posts._avatar.tpl'}
<!-- Avatar -->
<!-- Post -->
<div
class="dataContentWrapper medium ml10">
<!-- Buttons & UserName -->
<div
class="dataContent mb5">
{include
file='ajax.posts._buttons.tpl'}
{include
file='ajax.posts._username.tpl'}
</div>
<!-- Buttons & UserName -->
<!-- Data -->
<div class="dataContent
mb10">{$post.data.Text}</div>
<div
class="dataContent mediaPlayer mb10"
title="{$translate->__("Listen to")}
{$post.data.Title}">
<div
class="uiMusicThumb playVideo">
<span class="mr5
gray">{$translate->__("Title")}:</span><span
class="blue">{$post.data.Title}</span><br />
<span class="mr5
gray">{$translate->__("Info")}:
</span><span>{$post.data.Description|truncate:65}</span>
<i class="plyrBtn"></i>
</div>
</div>
<div class="dataContent mb10 mediaPlayer hidden">
<div class="uiVideoPlayer">
<div class="button-close closeVideo right
mb5"></div>
<object
height="81" width="100%"> <param
name="movie"
value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F{$post.data.Source}&show_comments=false&auto_play=false&color=85DEFF"></param>
<param name="allowscriptaccess"
value="always"></param> <embed
allowscriptaccess="always" height="81"
src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F{$post.data.Source}&show_comments=false&auto_play=false&color=85DEFF"
type="application/x-shockwave-flash"
width="100%"></embed> </object>
</div>
</div>
<!-- Data
-->
{include
file='ajax.posts._statistics.tpl' _icon='app_music' _url='track'}
<!-- Comments -->
{include
file='ajax.posts.comments.tpl'}
<!-- Comments -->
</div>
<!-- Post -->
</div>
</li>
{/if}