Файл: content/themes/facebook/templates/ajax.comments.get.tpl
Строк: 28
{if $get == 'qcomments'}
{foreach $comments as $comment}
{include file='ajax.comments.qcomment.tpl' method='get'}
{/foreach}
{elseif $get == 'comments'}
{if $prevComments >
0}
<!-- View More -->
<div class="viewMore
mt10 viewMoreComments" id="{$prevComments}">
<div class="right hidden"><img
src="{$spinner.small}" /></div>
View
previous comments
</div>
<!-- View More -->
{/if}
{foreach $comments as $comment}
{include
file='ajax.comments.comment.tpl' method='get'}
{/foreach}
{elseif $get == 'replies'}
{if $prevComments > 0}
<!-- View More -->
<div class="viewMore mt10
viewMoreReplies" id="{$prevComments}">
<div class="right hidden"><img
src="{$spinner.small}" /></div>
View
previous replies
</div>
<!-- View More -->
{/if}
{foreach $replies as $reply}
{include
file='ajax.comments.reply.tpl' method='get'}
{/foreach}
{/if}
<script>jQuery("span[class*=timeago]").timeago();</script>