} elseif ($info['type'] == 'boolean') {
$ret[] = sprintf('<label for="edit_%s">%s</label><br>', $id, $info['name']);
$ret[] = sprintf('<input type="checkbox" id="edit_%s" name="%s">', $id, $id);
+ } elseif ($info['type'] == 'file') {
+ $ret[] = sprintf('<label for="edit_%s">%s</label><br>', $id, $info['name']);
+ $ret[] = sprintf('<input type="file" id="edit_%s" name="%s">', $id, $id);
} elseif ($info['type'] == 'select') {
$v = array('id="edit_'.$id.'"',
'name="'.$id.'"');