$desc = implode('<br/>', array_map(array($this, 'escape'), $this->flaggedBy[$item->id]));
        if ($item->flagged > 5) {
            $desc .= '<br/>' . JText::sprintf('COM_COMMENTS_FLAGGED_BY_OTHERS', '<b>' . ($item->flagged - 5) . '</b>');
        }
        ?>

						<img src="../media/slicomments/img/spam16.png" title="<?php 
        echo JText::_('COM_COMMENTS_FLAGGED_BY'), '::', $desc;
        ?>
" class="flagged hasTip"/>
					<?php 
    }
    ?>
					<span class="text"><?php 
    if ($search = $this->state->get('filter.search')) {
        echo sliCommentsHelper::highlight(nl2br($this->escape($item->text)), $search);
    } else {
        echo nl2br($this->escape($item->text));
    }
    ?>
</span>
					<ul class="actions">
						<?php 
    if ($item->status == 1) {
        ?>
							<li><a href="index.php?option=com_slicomments&amp;task=comments.unapprove&amp;cid[]=<?php 
        echo $item->id, $token;
        ?>
" class="unapprove-comment"><?php 
        echo JText::_('COM_COMMENTS_ACTION_UNAPPROVE');
        ?>
				<a href="<?php 
    echo $link;
    ?>
"><?php 
    echo $this->escape($name);
    ?>
</a>
				<?php 
} else {
    echo $this->escape($name);
}
?>
			</span>
			<span class="created">
				<?php 
echo sliCommentsHelper::human_time_diff($created);
?>
			</span>
			<?php 
if ($rating != 0) {
    ?>
			<span class="rating <?php 
    echo $rating > 0 ? 'positive' : 'negative';
    ?>
" title="<?php 
    echo JText::plural('COM_COMMENTS_RATINGS_LIKES', $likes), ', ', JText::plural('COM_COMMENTS_RATINGS_DISLIKES', $dislikes);
    ?>
">
				<?php 
    echo ($rating > 0 ? '+' : '') . $rating;
    ?>