diff options
author | Alexander M. Turek <me@derrabus.de> | 2005-03-29 22:09:47 +0400 |
---|---|---|
committer | Alexander M. Turek <me@derrabus.de> | 2005-03-29 22:09:47 +0400 |
commit | e08f775b68f7c52f7287974623a7ca42a2ab149b (patch) | |
tree | cb5788c44f854e0666f3403f22d1f38ff2442cb2 /server_collations.php | |
parent | 532c1ee25fc72bfa81f052676ffd6b3980e5ad11 (diff) |
Don't offer unavailable collations.
Diffstat (limited to 'server_collations.php')
-rw-r--r-- | server_collations.php | 2 |
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" . ' ' . htmlspecialchars($current_collation) . ' ' . "\n" . ' </td>' . "\n" |