<?php
/* @var $this SiteController */

$this->pageTitle = Yii::app()->name;
?>


<?php if ($model->title): ?>
    <h1 class="page-title">
        <?php echo Yii::t('admin', 'Search results for:') . " '{$model->title}' "; ?>
    </h1>
<?php endif; ?>

<?php
$this->widget('zii.widgets.CListView', array(
    'dataProvider' => $model->frontendSearch(),
    'id' => 'articles-listview',
    'itemView' => '//article/_view',
    'template' => '{items}{pager}',
    'pager' => array(
        'header' => false,
        'pageSize' => 10,
        'maxButtonCount' => 4,
        'nextPageLabel' => '>>',
        'prevPageLabel' => '<<',
    ),
));
