From 703d2c41f7f8551c3b295b551d93849140c09b42 Mon Sep 17 00:00:00 2001 From: Patrick Seeger Date: Thu, 19 Jun 2014 00:24:36 +0200 Subject: Kommentare entfertn --- protected/views/standort/_standort.php | 7 +++---- protected/views/standort/view.php | 2 ++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/protected/views/standort/_standort.php b/protected/views/standort/_standort.php index 1ba0d5b..dd978dc 100644 --- a/protected/views/standort/_standort.php +++ b/protected/views/standort/_standort.php @@ -8,14 +8,13 @@ $dataProvider=new CActiveDataProvider('Verein', array( 'pageSize'=>20, ), -));/* +)); $this->widget('zii.widgets.CListView', array( - //'dataProvider'=>$dataProvider, - 'dataProvider'=>Veranstaltung::model('Veranstaltung')->published()->thisYear()->parentStage($data->id)->sorted()->search(), + 'dataProvider'=>$dataProvider, 'itemView'=>'/verein/_short', 'sortableAttributes'=>array( 'name' ) )); - */ + ?> \ No newline at end of file diff --git a/protected/views/standort/view.php b/protected/views/standort/view.php index 098f397..95fc434 100644 --- a/protected/views/standort/view.php +++ b/protected/views/standort/view.php @@ -55,5 +55,7 @@ if("Stand" == $model->type) { $this->renderPartial('_buehne',array( 'data'=>$model, )); +} else { + echo "asd"; } ?> -- cgit v1.0-28-g1787