clipbucket/upload/styles/global/blocks/account/dashboard_comments.html
Fawaz 5dbbb246c2 Updated : User photos link according to usercontent.class.php
Updated : How photo tagging is set on view_item
Updated : User videos and contacts link according to usercontent.class.php
Updated : startup.php
Registered : Filters to user object count. These are template specific registered filters
2013-01-05 09:35:43 +00:00

22 lines
No EOL
864 B
HTML

{if $comments}
<p>{lang code='Following are video comments within last 7 days'}</p>
<ul class="dashboard-lists cbv3-scroller clearfix">
{foreach $comments as $comment}
<li class="dashboard-list-item clearfix">
<img src="{avatar details=$comment}" width="60" height="60" />
<div class="pull-left details">
{$phrase=lang('%s posted on <a href="%s">%s</a>')}
{$name=comment_author( $comment )}
{$link=videoLink($comment)}
{$title=$comment.title|truncate:50}
<span>{$phrase|sprintf:$name:$link:$title} <a href="{$link}#comment-{$comment.comment_id}">#</a></span>
<p>{$comment.comment|comment|truncate:200}</p>
</div>
</li>
{/foreach}
</ul>
{else}
<div class="alert alert-error">
{lang code='No recent comments found'}
</div>
{/if}