Файл: content/themes/facebook/templates/ajax.posts.comments.tpl
Строк: 68
{if $post.Comments == 0 || $post.Comments >
$systemSetting.MaxQComments}
<ul
id="streamComments"></ul>
<!-- Add a QComment
-->
<form class="postQComment hidden">
<div class="qCommentContainer">
<div
class="dataSideWrapper medium"></div>
<div class="qCommentContentWrapper ml5">
<div class="dataContent">
<textarea
class="uiTextArea addQComment expand">Write a
comment...</textarea>
</div>
<div class="dataContent tright mt5">
<input class="uiButton" type="submit"
value="Comment" />
<div
class="hidden"><img src="{$spinner.small}"
/></div>
</div>
</div>
</div>
</form>
<!-- Add a QComment -->
{else}
{if $post.prevComments > 0}
<div
class="qCommentContainer">
<!-- View More
-->
<div class="viewMore mb5 viewMoreComments"
id="{$post.prevComments}">
<div
class="right hidden"><img src="{$spinner.small}"
/></div>
View previous comments
</div>
<!-- View More -->
</div>
{/if}
<ul id="streamComments">
{foreach $post.comments as $comment}
{include
file='ajax.comments.qcomment.tpl' method='get'}
{/foreach}
</ul>
<!-- Add a QComment -->
<form
class="postQComment">
<div
class="qCommentContainer">
<div
class="dataSideWrapper medium"></div>
<div class="qCommentContentWrapper ml5">
<div class="dataContent">
<textarea
class="uiTextArea addQComment expand">Write a
comment...</textarea>
</div>
<div class="dataContent tright mt5 hidden">
<input class="uiButton" type="submit"
value="Comment" />
<div
class="hidden"><img src="{$spinner.small}"
/></div>
</div>
</div>
</div>
</form>
<!-- Add a QComment -->
{/if}