Файл: content/themes/facebook/templates/ajax.posts.news.tpl
Строк: 47
{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>
<!-- Data -->
<!-- Statistics -->
{include
file='ajax.posts._statistics.tpl' _icon='app_news' _url='newsfeed'}
<!-- 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>
<!-- Data
-->
<!-- Statistics -->
{include file='ajax.posts._statistics.tpl' _icon='app_news'
_url='newsfeed'}
<!-- Statistics -->
<!-- Comments -->
{include
file='ajax.posts.comments.tpl'}
<!-- Comments -->
</div>
<!-- Post -->
</div>
</li>
{/if}