summaryrefslogtreecommitdiff
path: root/my_proposals.inc
diff options
context:
space:
mode:
authorSashi202020-05-20 16:33:26 +0530
committerSashi202020-05-20 16:33:26 +0530
commit119891e3f4c85cdbc3fe6a480ed41eeaf2e16a58 (patch)
treec8f1a9a89312723bcf8d2d06bd1d783978055c7e /my_proposals.inc
parent6d7dd27bb952db535ae095b5b27b33eeb993a034 (diff)
downloadarduino_projects_blog-119891e3f4c85cdbc3fe6a480ed41eeaf2e16a58.tar.gz
arduino_projects_blog-119891e3f4c85cdbc3fe6a480ed41eeaf2e16a58.tar.bz2
arduino_projects_blog-119891e3f4c85cdbc3fe6a480ed41eeaf2e16a58.zip
Modify the file uplaod field type in my proposal form
Diffstat (limited to 'my_proposals.inc')
-rw-r--r--my_proposals.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/my_proposals.inc b/my_proposals.inc
index d79a55f..4c3ff5f 100644
--- a/my_proposals.inc
+++ b/my_proposals.inc
@@ -233,7 +233,7 @@ else{
$temp_no = $i;
$form['reference_files'][$i]['image'] = array(
//'#title' => t('Add Event Image'),
- '#type' => 'managed_file',
+ '#type' => 'file',
'#weight' => '5',
'#description' => t('Upload filenames with allowed extensions only. No spaces or any special characters allowed in filename.') . '<br />' . t('<span style="color:red;">Allowed file extensions: ') . variable_get('reference_image_extensions', '') . '</span>',
// We need this to know which file element this is.