Added DB Access + Error page
This commit is contained in:
7
demos/blog/protected/components/views/recentComments.php
Normal file
7
demos/blog/protected/components/views/recentComments.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<ul>
|
||||
<?php foreach($this->getRecentComments() as $comment): ?>
|
||||
<li><?php echo $comment->authorLink; ?> on
|
||||
<?php echo CHtml::link(CHtml::encode($comment->post->title), $comment->getUrl()); ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
Reference in New Issue
Block a user