chinese-journal/yii/protected/views/site/index.php

15 lines
291 B
PHP

<?php
/* @var $this SiteController */
$this->pageTitle=Yii::t('app', Yii::app()->name);
?>
<h1><?=Yii::t('app', 'New posts')?></h1>
<?php $this->widget('zii.widgets.CListView', array(
'dataProvider'=>$dataProvider,
'itemView'=>'_view',
'template'=>"{items}\n{pager}",
)); ?>