Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Foellmann <foellmann@foe-services.de>2014-07-28 14:13:10 +0400
committerChristian Foellmann <foellmann@foe-services.de>2014-07-28 14:13:10 +0400
commit276394119dfbe117acd411a3862de597ba35a2ad (patch)
tree3dc394a15f459d6324e3452e15e9446e47fe3bd0 /libraries/mysql_charsets.lib.php
parentc8c2e72886de1b71f5abcaa295075da9666096b5 (diff)
UPDATE phpmyadmin 4.2.6 multilanguage
Diffstat (limited to 'libraries/mysql_charsets.lib.php')
-rw-r--r--libraries/mysql_charsets.lib.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/libraries/mysql_charsets.lib.php b/libraries/mysql_charsets.lib.php
index 3a88ec0661..87610a6fc4 100644
--- a/libraries/mysql_charsets.lib.php
+++ b/libraries/mysql_charsets.lib.php
@@ -9,6 +9,20 @@ if (! defined('PHPMYADMIN')) {
exit;
}
+/**
+ * Generate charset dropdown box
+ *
+ * @param int $type Type
+ * @param null|string $name Element name
+ * @param null|string $id Element id
+ * @param null|string $default Default value
+ * @param bool $label Label
+ * @param int $indent Indent
+ * @param bool $submitOnChange Submit on change
+ * @param bool $displayUnavailable Display unavailable
+ *
+ * @return string
+ */
function PMA_generateCharsetDropdownBox($type = PMA_CSDROPDOWN_COLLATION,
$name = null, $id = null, $default = null, $label = true, $indent = 0,
$submitOnChange = false, $displayUnavailable = false
@@ -244,6 +258,7 @@ function PMA_getCollationDescr($collation)
break;
case 'bin':
$is_bin = true;
+ // no break; statement here, continuing with 'general' section:
case 'general':
switch ($parts[0]) {
// Unicode charsets