1
0
www.mikescher.com/demos/blog/protected/views/post/index.php

10 lines
275 B
PHP
Raw Normal View History

2014-05-12 10:11:20 +02:00
<?php if(!empty($_GET['tag'])): ?>
<h1>Posts Tagged with <i><?php echo CHtml::encode($_GET['tag']); ?></i></h1>
<?php endif; ?>
<?php $this->widget('zii.widgets.CListView', array(
'dataProvider'=>$dataProvider,
'itemView'=>'_view',
'template'=>"{items}\n{pager}",
)); ?>