1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<?php
$this->breadcrumbs=array(
'Veranstaltungen'=>array('index'),'Jetzt'
);
$this->pageTitle = 'Jetzt auf dem Fest - ' . Yii::app()->name;
$this->menu=array(
array('label'=>'Alle Veranstaltungen', 'url'=>array('index')),
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',*/
),
));?>
|