diff options
Diffstat (limited to 'protected/views/search/results.php')
| -rw-r--r-- | protected/views/search/results.php | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/protected/views/search/results.php b/protected/views/search/results.php index c1d80e2..05d2b57 100644 --- a/protected/views/search/results.php +++ b/protected/views/search/results.php @@ -3,20 +3,14 @@ $this->breadcrumbs=array( 'Search'=>array('/search'), 'Results', );?> -<h3><?php echo $this->id . '/' . $this->action->id; ?></h3> +<h3>Suchergebnisse für "<?php echo CHtml::encode($search) ?>"</h3> <?php foreach ($results as $mod => $res) {?> - <h6><?php echo $mod ?></h6> + <h5><?php echo $mod ?></h5> <?php $dataProvider = new CArrayDataProvider($res); $this->widget('zii.widgets.CListView', array( 'dataProvider'=>$dataProvider, - 'itemView'=>'/cms/'.lcfirst($mod).'/_short', // refers to the partial view named '_post' - 'sortableAttributes'=>array( - 'name', - /*'create_time'=>'Post Time',*/ - ), + 'itemView'=>'/'.lcfirst($mod).'/_short', // refers to the partial view named '_post' + ));?> <?php }?> -<p> - <pre><?php print_r($results)?></pre> -</p> |
