diff options
| author | Simon | 2011-04-25 13:48:57 +0200 |
|---|---|---|
| committer | Simon | 2011-04-25 13:48:57 +0200 |
| commit | 44706d9b06bd2ea3dfbdeb7a9dedce6c62993e65 (patch) | |
| tree | 3365419d99b00b434bc7e421b6043b0fc93f4e82 /application/modules/user/forms | |
| parent | Fehlermeldungen in GroupsGroupsMapper korrigiert (diff) | |
| parent | upload data fix (diff) | |
| download | pbs2-44706d9b06bd2ea3dfbdeb7a9dedce6c62993e65.tar.gz pbs2-44706d9b06bd2ea3dfbdeb7a9dedce6c62993e65.tar.xz pbs2-44706d9b06bd2ea3dfbdeb7a9dedce6c62993e65.zip | |
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/modules/user/forms')
| -rw-r--r-- | application/modules/user/forms/Bootos.php | 1 | ||||
| -rw-r--r-- | application/modules/user/forms/Preboot.php | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/application/modules/user/forms/Bootos.php b/application/modules/user/forms/Bootos.php index 5e20a8a..432f0c7 100644 --- a/application/modules/user/forms/Bootos.php +++ b/application/modules/user/forms/Bootos.php @@ -37,6 +37,7 @@ class user_Form_Bootos extends Zend_Form { $this->setName("BootOsCreate"); $this->setMethod('post'); + $this->setEnctype("multipart/form-data"); if (!Pbs_Acl::checkRight('boe') && $this->action == 'editbootos') $meta = true; diff --git a/application/modules/user/forms/Preboot.php b/application/modules/user/forms/Preboot.php index 54dc216..f1a609f 100644 --- a/application/modules/user/forms/Preboot.php +++ b/application/modules/user/forms/Preboot.php @@ -27,7 +27,8 @@ class user_Form_Preboot extends Zend_Form { $this->setName($this->action); $this->setMethod('post'); - + $this->setEnctype("multipart/form-data"); + if (!Pbs_Acl::checkRight('pre') && $this->action == 'editpreboot') $meta = true; else |
