diff options
| author | Tristan Zur <tzur@ccwn.org> | 2012-04-28 17:06:39 +0200 |
|---|---|---|
| committer | Tristan Zur <tzur@ccwn.org> | 2012-04-28 17:06:39 +0200 |
| commit | 139dbc9cc21fb1d419c6ecc80380f723e613efbc (patch) | |
| tree | 3bfa5c3ee5c84e2ff9ec7ccef2b27f1f378a6a19 /protected/views/verein | |
| parent | 2d4bddcbf7b816f86db6f308a4d11bc9787c1f99 (diff) | |
- AuditTrail Berechtigungen gesetzt (Nur Admin)
- Fehler in Extension "CJuiDateTimePicker" beseitigt
- DateCompareValidator hinzugefügt
- DateRangeValidator hinzugefügt
- Datenbanktabellennamen geändert
- Views für die Veranstaltungen bearbeitet
Diffstat (limited to 'protected/views/verein')
| -rw-r--r-- | protected/views/verein/_form.php | 2 | ||||
| -rw-r--r-- | protected/views/verein/create.php | 2 | ||||
| -rw-r--r-- | protected/views/verein/update.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/protected/views/verein/_form.php b/protected/views/verein/_form.php index 9aab04d..dbda2db 100644 --- a/protected/views/verein/_form.php +++ b/protected/views/verein/_form.php @@ -14,7 +14,7 @@ <?php echo $form->labelEx($model,'slug'); ?> <?php if (Yii::app()->user->isAdmin) { - echo $form->textField($model,'slug',array('size'=>60,'maxlength'=>255)); + echo $form->dropDownList($model, "slug", CHtml::listData($slugs, "username", "username"), array('empty' => '-- Bitte Benutzer wählen --')); } else { echo CHtml::encode($model->slug); } diff --git a/protected/views/verein/create.php b/protected/views/verein/create.php index 02a63f8..46f088e 100644 --- a/protected/views/verein/create.php +++ b/protected/views/verein/create.php @@ -11,4 +11,4 @@ $this->menu=array( <h1>Verein erstellen</h1> -<?php echo $this->renderPartial('_form', array('model'=>$model, 'standorte'=>$standorte)); ?>
\ No newline at end of file +<?php echo $this->renderPartial('_form', array('model'=>$model, 'standorte'=>$standorte,'slugs'=>$slugs)); ?>
\ No newline at end of file diff --git a/protected/views/verein/update.php b/protected/views/verein/update.php index 0d37b80..5230605 100644 --- a/protected/views/verein/update.php +++ b/protected/views/verein/update.php @@ -13,4 +13,4 @@ $this->menu=array( <h1>Verein '<?php echo $model->name; ?>' bearbeiten</h1> -<?php echo $this->renderPartial('_form', array('model'=>$model, 'standorte'=>$standorte)); ?>
\ No newline at end of file +<?php echo $this->renderPartial('_form', array('model'=>$model, 'standorte'=>$standorte,'slugs'=>$slugs)); ?>
\ No newline at end of file |
