Beispiel #1
0
			<?php 
if ($this->comment->state == Comment::STATE_UNAPPROVED) {
    ?>
				<span><?php 
    echo JText::_('Not approved!');
    ?>
</span>
			<?php 
}
?>
			<?php 
echo JHTML::_('date', $this->comment->created, JText::_('DATE_FORMAT_LC2'));
?>
		</div>
		<p><?php 
echo CommentHelper::filterContentOutput($this->comment->content);
?>
</p>
		<div class="actions-wrapper">
			<span class="actions-links">&rsaquo;
				<a href="#" class="reply"><?php 
echo JText::_('Reply');
?>
</a> | 
				<a href="#" class="edit"><?php 
echo JText::_('Edit');
?>
</a> | 
				<?php 
if ($this->comment->state == Comment::STATE_UNAPPROVED) {
    ?>
Beispiel #2
0
					<p class="meta">
						<?php 
            echo JHTML::_('date', $comment->created, JText::_('ZOO_COMMENT_MODULE_DATE_FORMAT'));
            ?>
						| <a class="permalink" href="<?php 
            echo JRoute::_(RouteHelper::getItemRoute($item) . '#comment-' . $comment->id);
            ?>
">#</a>
					</p>
					<?php 
        }
        ?>
				
					<p class="content">
						<?php 
        echo CommentHelper::filterContentOutput(YString::truncate($comment->content, modZooCommentHelper::MAX_CHARACTERS));
        ?>
					</p>
	
				</li>
			
			<?php 
        $i++;
    }
    ?>
		</ul>
		
	<?php 
} else {
    ?>
		<?php