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:
authorAlexander M. Turek <me@derrabus.de>2005-03-29 22:09:47 +0400
committerAlexander M. Turek <me@derrabus.de>2005-03-29 22:09:47 +0400
commite08f775b68f7c52f7287974623a7ca42a2ab149b (patch)
treecb5788c44f854e0666f3403f22d1f38ff2442cb2 /server_collations.php
parent532c1ee25fc72bfa81f052676ffd6b3980e5ad11 (diff)
Don't offer unavailable collations.
Diffstat (limited to 'server_collations.php')
-rw-r--r--server_collations.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/server_collations.php b/server_collations.php
index ea78d0d0e7..15b6ca7ea5 100644
--- a/server_collations.php
+++ b/server_collations.php
@@ -84,7 +84,7 @@ foreach ($mysql_charsets as $current_charset) {
$useBgcolorOne = TRUE;
foreach ($mysql_collations[$current_charset] as $current_collation) {
$i++;
- echo ' <tr>' . "\n"
+ echo ' <tr' . ($mysql_collations_available[$current_collation] ? '' : ' class="disabled"') . '>' . "\n"
. ' <td bgcolor="' . ($mysql_default_collations[$current_charset] == $current_collation ? $cfg['BrowseMarkerColor'] : ($useBgcolorOne ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo'])) . '">' . "\n"
. ' &nbsp;' . htmlspecialchars($current_collation) . '&nbsp;' . "\n"
. ' </td>' . "\n"