{assign var='commentId' value=$cComment->data.post_id} {assign var="votedownindex" value='-1'} {assign var='thisCommentVotesUp' value=$arrVotes.$commentId.values[1]|intval} {assign var='thisCommentVotesDown' value=$arrVotes.$commentId.values.$votedownindex|intval} {assign var='x' value=$cComment->data.post_lvl} {if $x gt 6}{assign var='x' value=6}{/if} {assign var='selectedFileId' value=$cComment->joined.obj_post_user->data.user_profilepic} {assign var='selectedFile' value=$avatarFiles.$selectedFileId} {if in_array($cComment->user, $modsIds) || $cComment->data.post_ismoderatorcomment eq 1} {assign var='commentBy' value='admin'} {else} {assign var='commentBy' value='author'} {/if} {if $cComment->lvl eq 1} {if $counter > 1} {/if} {assign var='replyCounter' value=0 scope='global'}
{assign var='parentComment' value=$cComment->id scope='global'}joined.obj_post_user->data.user_id}>{$cComment->joined.obj_post_user->user_displayName}{if $cComment->joined.obj_post_user->user_usertype->data.usertype_id ne 3 && intval($cComment->joined.obj_post_user->user_usertype->data.usertype_id) ne 0} ({$cComment->joined.obj_post_user->user_usertype->data.usertype_name}){/if} {$cComment->data.post_created|relative_date}
{DataFilter::nl2br(DataFilter::addLinks($cComment->getCommentText()))}
{if $hubbub->hubbub_arrOptions.userTagsEnabledOnComments eq 1} {if isset($postResponseUserTags.$commentId)} {/if} {/if}{assign var='post_id' value=$cComment->data.post_id} {if isset($commentVotesUser.$post_id)} {assign var='userVote' value=$commentVotesUser.$post_id} {assign var='userVoteDir' value=$userVote->data.vote_direction} {else} {assign var='userVoteDir' value=0} {/if} {if $allowComment} {"Reply"|gettext} {if $user->isInvalid()} {$thisCommentVotesUp} {elseif $cComment->data.post_user ne $user->data.user_id && $categoryaccess->getData('canVoteComments')} {if $userVoteDir ne 1 && $categoryaccess->getData('canVoteComments') && $cPost->data.post_moderationstatus lt 2} {$thisCommentVotesUp} {else} {$thisCommentVotesUp} {/if} {elseif $cComment->data.post_user eq $user->data.user_id && $categoryaccess->getData('canVoteComments')} {$thisCommentVotesUp} {/if} {/if}
{else} {"This comment has been removed"|gettext} {/if}
{else}
{/if}
joined.obj_post_user->data.user_id}>{$cComment->joined.obj_post_user->user_displayName}{if $cComment->joined.obj_post_user->user_usertype->data.usertype_id ne 3 && intval($cComment->joined.obj_post_user->user_usertype->data.usertype_id) ne 0} ({$cComment->joined.obj_post_user->user_usertype->data.usertype_name}){/if} {$cComment->data.post_created|relative_date}
{DataFilter::nl2br(DataFilter::addLinks($cComment->getCommentText()))}
{if $hubbub->hubbub_arrOptions.userTagsEnabledOnComments eq 1} {if isset($postResponseUserTags.$commentId)} {/if} {/if}{assign var='post_id' value=$cComment->data.post_id} {if isset($commentVotesUser.$post_id)} {assign var='userVote' value=$commentVotesUser.$post_id} {assign var='userVoteDir' value=$userVote->data.vote_direction} {else} {assign var='userVoteDir' value=0} {/if} {if $allowComment} {"Reply"|gettext} {if $user->isInvalid()} {$thisCommentVotesUp} {elseif $cComment->data.post_user ne $user->data.user_id && $categoryaccess->getData('canVoteComments')} {if $userVoteDir ne 1 && $categoryaccess->getData('canVoteComments') && $cPost->data.post_moderationstatus lt 2} {* {$thisCommentVotesUp} *} {$thisCommentVotesUp} {else} {$thisCommentVotesUp} {/if} {if $userVoteDir ne -1 && $categoryaccess->getData('canVoteComments') && $cPost->data.post_moderationstatus lt 2} {*