diff options
| author | Patrick Seeger <pseeger@ccwn.org> | 2014-06-19 00:09:43 +0200 |
|---|---|---|
| committer | Patrick Seeger <pseeger@ccwn.org> | 2014-06-19 00:09:43 +0200 |
| commit | 3246c592dd83ed3278ef9e78916be6849e13a48a (patch) | |
| tree | c2d24773a7dd816511e8220dd1607dc0842864a9 | |
| parent | f82e0acd0086129e75189262ba8c2d5f44ec1761 (diff) | |
Noch eine Korrektur bei der Standortanzeige
| -rw-r--r-- | protected/views/standort/_standort.php | 8 | ||||
| -rw-r--r-- | protected/views/standort/view.php | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/protected/views/standort/_standort.php b/protected/views/standort/_standort.php index 2c8ef4c..1ba0d5b 100644 --- a/protected/views/standort/_standort.php +++ b/protected/views/standort/_standort.php @@ -1,5 +1,5 @@ <h6>Folgende Vereine finden sich <?php echo $data->name?></h6> -<?php /* +<?php $dataProvider=new CActiveDataProvider('Verein', array( 'criteria'=>array( 'condition'=>'standort_id='.$data->id." and published = 1", @@ -8,7 +8,7 @@ $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(), @@ -16,4 +16,6 @@ $this->widget('zii.widgets.CListView', array( 'sortableAttributes'=>array( 'name' ) - ));?>
\ No newline at end of file + )); + */ + ?>
\ No newline at end of file diff --git a/protected/views/standort/view.php b/protected/views/standort/view.php index 60bc9f7..098f397 100644 --- a/protected/views/standort/view.php +++ b/protected/views/standort/view.php @@ -47,7 +47,7 @@ $gMap->renderMap(); ?> </p> <?php -if("Standort" == $model->type) { +if("Stand" == $model->type) { $this->renderPartial('_standort',array( 'data'=>$model, )); |
