Routines and events check

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1175 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana 2009-10-07 10:11:27 +00:00
parent b15c7e9bb2
commit 16ebb8c6e7

View file

@ -146,7 +146,7 @@ echo "<tr><th>" . lang('Output') . "<td><input type='hidden' name='token' value=
echo "<tr><th>" . lang('Format') . "<td>" . $adminer->dumpFormat(0) . "\n";
echo "<tr><th>" . lang('Database') . "<td>" . html_select('db_style', $db_style, (strlen(DB) ? '' : 'CREATE'));
if ($connection->server_info >= 5) {
$checked = strlen($_GET["dump"]);
$checked = !strlen($_GET["dump"]);
echo checkbox("routines", 1, $checked, lang('Routines'));
if ($connection->server_info >= 5.1) {
echo checkbox("events", 1, $checked, lang('Events'));