{if marked_spammed($comment)} {assign var='comment_attr' value='style="display:none"'} {assign var='spam_attr' value='style="display:block"'} {else} {assign var='comment_attr' value=''} {assign var='spam_attr' value='style="display:none"'} {/if}
{*$comment|print_r*}
{$user_link='#'} {if $comment.username}{$user_link=$userquery->profile_link($comment)}{/if}
{$comment.date_added|niceTime}
{$comment.comment|comment}
{*
{$user_link=''} {if $comment.username}{$user_link=$userquery->profile_link($comment)}{/if} {name($comment)} – {nicetime($comment.date_added)} {if $type=='video' && $comments_voting=='yes' && $Cbucket->configs.comment_rating}
{$comment.vote|comment_rating} {lang('Like')} {lang('Unlike')}
{/if}
{if $comment.parent_id} {assign var=parentid value=$comment.parent_id} {assign var=thisParent value=$parents.$parentid} {if $thisParent}
{$thisParent.comment|comment} {if $thisParent.username}{name($thisParent)}{/if}
{/if} {/if} {$comment.comment|comment}
{if has_access('admin_del_access') || $comment.userid==userid() || $comment.type_owner_id==userid()} {lang('Delete')} | {/if} {lang code='reply'} | {lang code='spam'}
{$marked_as_spam_comment_by_user=lang('marked_as_spam_comment_by_user')} {if $comment.username} {$marked_as_spam_comment_by_user|sprintf:$comment.username} {else} {$marked_as_spam_comment_by_user|sprintf:$comment.anonym_name} {/if} {if has_access('admin_del_access') || $comment.userid==userid() || $comment.type_owner_id==userid()} | {lang code='delete'} {/if}
*}