PMA\libraries\Util::getBrowseUploadFileBlock PHP Method

getBrowseUploadFileBlock() public static method

Prepare the form used to browse anywhere on the local server for a file to import
public static getBrowseUploadFileBlock ( string $max_upload_size ) : String
$max_upload_size string maximum upload size
return String
    public static function getBrowseUploadFileBlock($max_upload_size)
    {
        $block_html = '';
        if ($GLOBALS['is_upload'] && !empty($GLOBALS['cfg']['UploadDir'])) {
            $block_html .= '<label for="radio_import_file">';
        } else {
            $block_html .= '<label for="input_import_file">';
        }
        $block_html .= __("Browse your computer:") . '</label>' . '<div id="upload_form_status" style="display: none;"></div>' . '<div id="upload_form_status_info" style="display: none;"></div>' . '<input type="file" name="import_file" id="input_import_file" />' . self::getFormattedMaximumUploadSize($max_upload_size) . "\n" . self::generateHiddenMaxFileSize($max_upload_size) . "\n";
        return $block_html;
    }
Util