diff options
| author | Patrick Seeger <pseeger@ccwn.org> | 2014-06-20 16:12:37 +0200 |
|---|---|---|
| committer | Patrick Seeger <pseeger@ccwn.org> | 2014-06-20 16:12:37 +0200 |
| commit | 3f5fb160700b79249521afffb9c83e7f13eedbd8 (patch) | |
| tree | 8f5fa682e13fecea470cf8a456ed73786d1a7bbf /protected/controllers | |
| parent | 02d863bc91b58d6a50dd0ec13bbeb07f56ac61ae (diff) | |
Anzeige von Veranstaltungen verschönert
Diffstat (limited to 'protected/controllers')
| -rw-r--r-- | protected/controllers/VeranstaltungController.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protected/controllers/VeranstaltungController.php b/protected/controllers/VeranstaltungController.php index d047f1d..4cc1c58 100644 --- a/protected/controllers/VeranstaltungController.php +++ b/protected/controllers/VeranstaltungController.php @@ -54,13 +54,16 @@ class VeranstaltungController extends Controller */ public function actionIndex() { + $tag="Alle"; $model=new Veranstaltung('search'); $model->unsetAttributes(); // clear any default values if(isset($_GET['Veranstaltung'])) $model->attributes=$_GET['Veranstaltung']; - + if(isset($_GET['tag'])) + $tag=$_GET['tag']; $this->render('index',array( 'model'=>$model, + 'tag' => $tag, )); } |
