</td> <td> <?php echo $item->name != '' ? $this->escape($item->name) : JText::_('COM_COMMENTS_ANONYMOUS'); ?> <div class="comment-email"><span title="<?php echo $this->escape($item->email); ?> "><?php echo $this->escape($item->email); ?> </span></div> </td> <td class="comment"> <span class="submitted"><?php echo JText::sprintf('COM_COMMENTS_SUBMITTED', sliCommentsHelper::human_time_diff($item->created)); ?> </span> <?php if ($item->flagged) { $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
<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; ?>