blob: e72cc5179fe9dacce112b3e85791008c05210dae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
$this->breadcrumbs=array(
'Search'=>array('/search'),
'Results',
);?>
<h3>Suchergebnisse für "<?php echo CHtml::encode($search) ?>"</h3>
<?php foreach ($results as $mod => $res) {?>
<?php $dataProvider = new CArrayDataProvider($res);
if($dataProvider->getItemCount()>0) {?>
<h5><?php echo $mod ?></h5>
<?php
$this->widget('zii.widgets.CListView', array(
'dataProvider'=>$dataProvider,
'itemView'=>'/'.lcfirst($mod).'/_short', // refers to the partial view named '_post'
));?>
<?php }
}?>
|