Файл: content/themes/facebook/templates/ajax.posts.links.tpl
Строк: 103
{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>
{if
$post.data.Thumbnail != ""}
<div
class="dataContent mb10">
<div
class="dataLinkContent">
<div
class="dataLinkContent-thumbnail mr10">
<a href="{$post.data.URL}"><img
src="{$post.data.Thumbnail}" width="90"
/></a>
</div>
<div class="dataLinkContent-body">
<div class="dataContent mb10"><a
href="{$post.data.URL}"><strong
class="mb5">{$post.data.Title}</strong></a><br/>{$post.data.Host}</div>
<div class="dataContent
gray">{$post.data.Description}</div>
</div>
</div>
</div>
{else}
<div class="dataAppContent mb10">
<strong><a
href="{$post.data.URL}">{$post.data.Title}</a></strong><br/>{$post.data.Host}<br
/><br />
<span
class="gray">{$post.data.Description}</span>
</div>
{/if}
<!-- Data -->
<!-- Statistics -->
{include
file='ajax.posts._statistics.tpl' _icon='app_links' _url='link'}
<!-- 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>
{if
$post.data.Thumbnail != ""}
<div
class="dataContent mb10">
<div
class="dataLinkContent">
<div
class="dataLinkContent-thumbnail mr10">
<a href="{$post.data.URL}"><img
src="{$post.data.Thumbnail}" width="90"
/></a>
</div>
<div class="dataLinkContent-body">
<div class="dataContent mb10"><a
href="{$post.data.URL}"><strong
class="mb5">{$post.data.Title}</strong></a><br/>{$post.data.Host}</div>
<div class="dataContent
gray">{$post.data.Description}</div>
</div>
</div>
</div>
{else}
<div
class="dataAppContent mb10">
<strong><a
href="{$post.data.URL}">{$post.data.Title}</a></strong><br/>{$post.data.Host}<br
/><br />
<span
class="gray">{$post.data.Description}</span>
</div>
{/if}
<!-- Data
-->
<!-- Statistics -->
{include file='ajax.posts._statistics.tpl' _icon='app_links'
_url='link'}
<!-- Statistics -->
<!-- Comments -->
{include
file='ajax.posts.comments.tpl'}
<!-- Comments -->
</div>
<!-- Post -->
</div>
</li>
{/if}