Revert compact dump output (r1012)

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1028 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana 2009-08-27 08:22:07 +00:00
parent 058e101fc9
commit caa8bc6380
14 changed files with 16 additions and 5 deletions

View file

@ -154,7 +154,6 @@ function dump_headers($identifier, $multi_table = false) {
return $ext;
}
$dump_output = "<select name='output'>" . optionlist(array('text' => lang('open'), 'file' => lang('save'))) . "</select>"
. " <select name='format'>" . optionlist(array('sql' => 'SQL', 'csv' => 'CSV')) . "</select>"
;
$dump_output = "<select name='output'>" . optionlist(array('text' => lang('open'), 'file' => lang('save'))) . "</select>";
$dump_format = "<select name='format'>" . optionlist(array('sql' => 'SQL', 'csv' => 'CSV')) . "</select>";
$max_packet = 1048576; // default, minimum is 1024

View file

@ -151,6 +151,7 @@ $translations = array(
'Output' => 'Výstup',
'open' => 'otevřít',
'save' => 'uložit',
'Format' => 'Formát',
'Tables' => 'Tabulky',
'Data' => 'Data',
'Event has been dropped.' => 'Událost byla odstraněna.',

View file

@ -151,6 +151,7 @@ $translations = array(
'Output' => 'Ergebnis',
'open' => 'anzeigen',
'save' => 'Datei',
'Format' => 'Format',
'Tables' => 'Tabellen',
'Data' => 'Daten',
'Event has been dropped.' => 'Ereignis entfernt.',

View file

@ -151,6 +151,7 @@ $translations = array(
'Output' => 'Salida',
'open' => 'mostrar',
'save' => 'archivo',
'Format' => 'Formato',
'Tables' => 'Tablas',
'Data' => 'Datos',
'Event has been dropped.' => 'Evento eliminado.',

View file

@ -151,6 +151,7 @@ $translations = array(
'Output' => 'Väljund',
'open' => 'näita brauseris',
'save' => 'salvesta failina',
'Format' => 'Formaat',
'Functions' => 'Funktsioonid',
'Aggregation' => 'Liitmine',
'Event has been dropped.' => 'Sündmus on edukalt kustutatud.',

View file

@ -151,6 +151,7 @@ $translations = array(
'Output' => 'Sortie',
'open' => 'ouvrir',
'save' => 'sauvegarder',
'Format' => 'Formatter',
'Functions' => 'Fonctions',
'Aggregation' => 'Agrégation',
'Event has been dropped.' => 'L\'évènement a été supprimé.',

View file

@ -151,6 +151,7 @@ $translations = array(
'Output' => 'Risultato',
'open' => 'apri',
'save' => 'salva',
'Format' => 'Formato',
'Tables' => 'Tabelle',
'Data' => 'Dati',
'Event has been dropped.' => 'Evento eliminato.',

View file

@ -151,6 +151,7 @@ $translations = array(
'Output' => 'Uitvoer',
'open' => 'openen',
'save' => 'opslaan',
'Format' => 'Formaat',
'Functions' => 'Functies',
'Aggregation' => 'Totalen',
'Event has been dropped.' => 'Event werd verwijderd.',

View file

@ -151,6 +151,7 @@ $translations = array(
'Output' => 'Выходные данные',
'open' => 'открыть',
'save' => 'сохранить',
'Format' => 'Формат',
'Tables' => 'Таблицы',
'Data' => 'Данные',
'Event has been dropped.' => 'Событие было удалено.',

View file

@ -151,6 +151,7 @@ $translations = array(
'Output' => 'Výstup',
'open' => 'otvoriť',
'save' => 'uložiť',
'Format' => 'Formát',
'Tables' => 'Tabuľky',
'Data' => 'Dáta',
'Event has been dropped.' => 'Udalosť bola odstránená.',

View file

@ -151,6 +151,7 @@ $translations = array(
'Output' => '輸出',
'open' => '打開',
'save' => '儲存',
'Format' => '格式',
'Functions' => '函數',
'Aggregation' => '集合',
'Event has been dropped.' => '已丟棄事件。',

View file

@ -151,6 +151,7 @@ $translations = array(
'Output' => '输出',
'open' => '打开',
'save' => '保存',
'Format' => '格式',
'Functions' => '函数',
'Aggregation' => '集合',
'Event has been dropped.' => '已丢弃事件。',

View file

@ -297,7 +297,7 @@ if (!$columns) {
echo " (" . lang('%d row(s)', $found_rows) . ') <label><input type="checkbox" name="all" value="1">' . lang('whole result') . "</label>\n";
echo (information_schema($_GET["db"]) ? "" : "<fieldset><legend>" . lang('Edit') . "</legend><div><input type='submit' name='edit' value='" . lang('Edit') . "'> <input type='submit' name='clone' value='" . lang('Clone') . "'> <input type='submit' name='delete' value='" . lang('Delete') . "'$confirm></div></fieldset>\n");
echo "<fieldset><legend>" . lang('Export') . "</legend><div>$dump_output <input type='submit' name='export' value='" . lang('Export') . "'></div></fieldset>\n";
echo "<fieldset><legend>" . lang('Export') . "</legend><div>$dump_output $dump_format <input type='submit' name='export' value='" . lang('Export') . "'></div></fieldset>\n";
}
echo "<fieldset><legend>" . lang('CSV Import') . "</legend><div><input type='hidden' name='token' value='$token'><input type='file' name='csv_file'> <input type='submit' name='import' value='" . lang('Import') . "'></div></fieldset>\n";

View file

@ -21,4 +21,5 @@ function dump_headers($identifier) {
return $ext;
}
$dump_output = "CSV";
$dump_output = "";
$dump_format = "CSV";