diff options
Diffstat (limited to 'protected/views/veranstaltung/now.php')
| -rw-r--r-- | protected/views/veranstaltung/now.php | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/protected/views/veranstaltung/now.php b/protected/views/veranstaltung/now.php index c9cf1c3..3421a60 100644 --- a/protected/views/veranstaltung/now.php +++ b/protected/views/veranstaltung/now.php @@ -9,12 +9,26 @@ $this->menu=array( array('label'=>'Jetzt auf dem Fest', 'url'=>array('now')), //array('label'=>'Veranstaltung suchen', 'url'=>array('search')), -);?> +); +/* +$buehnen = new CActiveDataProvider('Standort', array( + 'criteria'=>array( + 'condition'=>"type='Bühne'", + + ), +)); +$mymenu = array(); +foreach ($buehnen->getData() as $buehne) { + $mymenu = array_merge( $mymenu , array(array('label' => 'Bühnenprogramm '.$buehne->name, 'url'=>array('stage','id'=>$buehne->id)))); +} +$this->menu = array_merge($this->menu, $mymenu); +*/?> <h3>Veranstaltungen heute um <?php echo date("H:i");?></h3> <?php $this->widget('zii.widgets.CListView', array( 'dataProvider'=>$model->now(), 'itemView'=>'_short_all', // refers to the partial view named '_post' + 'pager'=>array('footer'=>'', 'header'=>''), 'sortableAttributes'=>array( 'name', /*'create_time'=>'Post Time',*/ |
