diff --git a/libraries/classes/Display/Import.php b/libraries/classes/Display/Import.php index d84513ad23..5383657377 100644 --- a/libraries/classes/Display/Import.php +++ b/libraries/classes/Display/Import.php @@ -105,37 +105,19 @@ class Import /** * Prints Html For Display Export options * - * @param String $import_type Import type: server, database, table - * @param String $db Selected DB - * @param String $table Selected Table + * @param String $importType Import type: server, database, table + * @param String $db Selected DB + * @param String $table Selected Table * * @return string */ - public static function getHtmlForImportOptions($import_type, $db, $table) + public static function getHtmlForImportOptions($importType, $db, $table) { - $html = ' '; - - return $html; + return Template::get('display/import/options')->render([ + 'import_type' => $importType, + 'db' => $db, + 'table' => $table, + ]); } /** diff --git a/templates/display/import/options.twig b/templates/display/import/options.twig new file mode 100644 index 0000000000..52ee928f84 --- /dev/null +++ b/templates/display/import/options.twig @@ -0,0 +1,12 @@ +