Просмотр файла vkclone-0.0.1/protected/modules/publics/views/public/readers.php

Размер файла: 583B
<?php
$this->pageHeader = $this->pageTitle = Yii::t('Publics', '{public}: Readers', array('{public}' => CHtml::encode($model->name)));
?>

<div class="blue_block">
	<strong>← <?= CHtml::link(Yii::t('Publics', 'Back to public'), array('index', 'id' => $model->id)) ?></strong>
</div>

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