Don't offer unavailable collations.
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user