From 32320f907904a0a491dad17b20929b4c320fd763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 21 Oct 2010 10:12:22 +0200 Subject: [PATCH] No collation selection for Drizzle. --- main.php | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/main.php b/main.php index 6e515d9c2..3f5f10644 100644 --- a/main.php +++ b/main.php @@ -91,19 +91,21 @@ if ($server > 0 './user_password.php?' . $common_url_query, null, null, 'change_password_anchor'); } } // end if - echo '
  • '; - echo '
    ' . "\n" - . PMA_generate_common_hidden_inputs(null, null, 4, 'collation_connection') - . ' ' . "\n" + if (PMA_MYSQL_MAJOR_VERSION < 2009) { + echo '
  • '; + echo ' ' . "\n" + . PMA_generate_common_hidden_inputs(null, null, 4, 'collation_connection') + . ' ' . "\n" - . PMA_generateCharsetDropdownBox(PMA_CSDROPDOWN_COLLATION, 'collation_connection', 'select_collation_connection', $collation_connection, true, 4, true) - . ' ' . "\n" - . '
  • ' . "\n" - . '
  • ' . "\n"; + . PMA_generateCharsetDropdownBox(PMA_CSDROPDOWN_COLLATION, 'collation_connection', 'select_collation_connection', $collation_connection, true, 4, true) + . ' ' . "\n" + . ' ' . "\n" + . ' ' . "\n"; + } // not Drizzle } // end of if ($server > 0) echo ''; echo '';