Файл: content/themes/facebook/templates/ajax.posts.get.tpl
Строк: 21
<li class="hidden firstNode"
id="{$firstNode}"></li>
{foreach $posts as $post}
<li class="feedItem">
<div
class="dataContainer"
id="{$post.ID}-{$post.PostType}-{$post.PostID}-{$post.UserID}">
<!-- Vote Box -->
<div
class="dataSideWrapper small">
<div
title="{$translate->__("Like this post")}"
class="voteBox doLikePost {if $post.liked ==
'Y'}active{/if}"><i
class="up"></i></div>
<div
title="{$translate->__("Dislike this post")}"
class="voteBox doDislikePost {if $post.liked ==
'N'}active{/if}"><i
class="down"></i></div>
</div>
<!-- Vote Box -->
{if $post.PostType == 1}
{include
file='ajax.posts.news.tpl' method='get'}
{elseif
$post.PostType == 2}
{include file='ajax.posts.music.tpl'
method='get'}
{elseif $post.PostType == 3}
{include file='ajax.posts.photos.tpl' method='get'}
{elseif
$post.PostType == 4}
{include file='ajax.posts.videos.tpl'
method='get'}
{elseif $post.PostType == 5}
{include file='ajax.posts.discussions.tpl' method='get'}
{elseif $post.PostType == 6}
{include
file='ajax.posts.questions.tpl' method='get'}
{elseif
$post.PostType == 7}
{include file='ajax.posts.polls.tpl'
method='get'}
{elseif $post.PostType == 8}
{include file='ajax.posts.links.tpl' method='get'}
{/if}
</div>
</li>
{/foreach}
<li
class="hidden lastNode"
id="{$lastNode}"></li>
<script>jQuery("span[class*=timeago]").timeago();</script>