diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-07 21:24:50 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-07 21:24:50 +0000 |
commit | e518dafb19a0bb7dc3b1a1e4eea3326dd59806d9 (patch) | |
tree | 546a732ad0aed90eab81a0bdec7037460cc74de6 /modules | |
parent | 954fcf034238458f292c9f5ec72c6d4b101aac0d (diff) |
1) Revert the changes to Form_Upload and Form_Textarea, so we don't have to change third party code.
2) Change drawForm to check for a non empty $input->class in order to determime if the element should be wrapped in <li>...</li>. If $input->class is empty then treat as a hidden field.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/forge/libraries/Form_Textarea.php | 1 | ||||
-rw-r--r-- | modules/forge/libraries/Form_Upload.php | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/modules/forge/libraries/Form_Textarea.php b/modules/forge/libraries/Form_Textarea.php index 3f7b6f72..f6d28fd0 100644 --- a/modules/forge/libraries/Form_Textarea.php +++ b/modules/forge/libraries/Form_Textarea.php @@ -13,7 +13,6 @@ class Form_Textarea_Core extends Form_Input { protected $data = array ( - 'type' => 'textarea', 'class' => 'textarea', 'value' => '', ); diff --git a/modules/forge/libraries/Form_Upload.php b/modules/forge/libraries/Form_Upload.php index 86ac3c59..dce8816e 100644 --- a/modules/forge/libraries/Form_Upload.php +++ b/modules/forge/libraries/Form_Upload.php @@ -13,7 +13,6 @@ class Form_Upload_Core extends Form_Input { protected $data = array ( - 'type' => 'file', 'class' => 'upload', 'value' => '', ); |