Compact export options
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@587 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
d73367c3a0
commit
fb8a36b6ec
|
@ -142,7 +142,7 @@ function check(td, name, value) {
|
|||
</script>
|
||||
|
||||
<form action="" method="post">
|
||||
<p><?php echo $dump_options; ?></p>
|
||||
<p><?php echo lang('Output') . ": $dump_output " . lang('Format') . ": $dump_format"; ?> <input type="submit" value="<?php echo lang('Export'); ?>" /></p>
|
||||
|
||||
<?php
|
||||
echo "<table border='1' cellspacing='0' cellpadding='2'>\n<thead><tr><th>" . lang('Database') . "</th>";
|
||||
|
@ -187,5 +187,4 @@ while ($row = $result->fetch_assoc()) {
|
|||
}
|
||||
echo "$views</table>\n";
|
||||
?>
|
||||
<p><input type="submit" value="<?php echo lang('Export'); ?>" /></p>
|
||||
</form>
|
||||
|
|
|
@ -171,5 +171,6 @@ function dump_headers($identifier, $multi_table = false) {
|
|||
return $ext;
|
||||
}
|
||||
|
||||
$dump_options = lang('Output') . ": <select name='output'><option value='text'>" . lang('open') . "</option><option value='file'>" . lang('save') . "</option></select> " . lang('Format') . ": <select name='format'><option value='sql'>" . lang('SQL') . "</option><option value='csv'>" . lang('CSV') . "</option></select>";
|
||||
$dump_output = "<select name='output'><option value='text'>" . lang('open') . "</option><option value='file'>" . lang('save') . "</option></select>";
|
||||
$dump_format = "<select name='format'><option value='sql'>" . lang('SQL') . "</option><option value='csv'>" . lang('CSV') . "</option></select>";
|
||||
$max_packet = 0;
|
||||
|
|
|
@ -334,7 +334,7 @@ for (var i=0; <?php echo $i; ?> > i; i++) {
|
|||
echo " (" . lang('%d row(s)', $found_rows) . ")</p>\n";
|
||||
|
||||
echo ($_GET["db"] != "information_schema" ? "<fieldset><legend>" . lang('Edit') . "</legend><div><input type='submit' 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_options <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";
|
||||
}
|
||||
$result->free();
|
||||
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";
|
||||
|
|
Loading…
Reference in a new issue