parent_guid; } } } elseif (!elgg_extract("value", $vars)) { $vars["value"] = $current_folder; } $folders = file_tools_get_folders($container_guid); $options = array( 0 => elgg_echo("file_tools:input:folder_select:main") ); if (!empty($folders)) { $options = $options + file_tools_build_select_options($folders, 1); } $vars["options_values"] = $options; echo elgg_view("input/dropdown", $vars);