View file vkclone-0.0.1/protected/modules/publics/views/default/index.php

File size: 663B
<?php
$this->pageHeader = $this->pageTitle = Yii::t('Publics', 'Publics');
?>

<div class="blue_block">
	<?= CHtml::link(Yii::t('Publics', 'New publics'), array('recent')) ?> <span class="divier">/</span> <?= CHtml::link(Yii::t('Publics', 'My publics'), array('my')) ?>
</div>

<?php $this->renderPartial('../public/_search', array('model' => $model)) ?>

<?php $this->widget('zii.widgets.CListView', array(
	'dataProvider' => $publics,
	'itemView' => '../public/_public',
	'template' => '{items}'.PHP_EOL.'{pager}',
	'pager' => array('class' => 'CPager'),
	'emptyText' => CHtml::tag('div', array('class' => 'text'), Yii::t('Publics', 'No publics found')),
)) ?>