summaryrefslogtreecommitdiff
path: root/modules/forge/libraries/Form_Upload.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-12-07 17:09:21 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-12-07 17:09:21 +0000
commitb409a376f3689e51bb50f9716c1384d9b2013832 (patch)
treee110f6b538193b440749ce20bab087a5632652d3 /modules/forge/libraries/Form_Upload.php
parent5d23a6515d8c62f158c6369fafc6fc9bf0092775 (diff)
1) Change the photo description field to a text area
2) Added a 'type' data element to both forge/Form_Textarea and forge/Form_Upload The second change allows the drawForm to correctly render both of these elements enclosed in a <li>...</li> html blocl
Diffstat (limited to 'modules/forge/libraries/Form_Upload.php')
-rw-r--r--modules/forge/libraries/Form_Upload.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/forge/libraries/Form_Upload.php b/modules/forge/libraries/Form_Upload.php
index dce8816e..86ac3c59 100644
--- a/modules/forge/libraries/Form_Upload.php
+++ b/modules/forge/libraries/Form_Upload.php
@@ -13,6 +13,7 @@ class Form_Upload_Core extends Form_Input {
protected $data = array
(
+ 'type' => 'file',
'class' => 'upload',
'value' => '',
);