MySQL 4.1.1 compatibility, part I: Updated character sets overview.

This commit is contained in:
Alexander M. Turek
2003-12-11 11:37:25 +00:00
parent 079c662908
commit 220aa3a4c0
103 changed files with 254 additions and 26 deletions

View File

@@ -58,7 +58,7 @@ $i = 0;
$table_row_count = count($mysql_charsets) + $mysql_collations_count;
foreach ($mysql_charsets as $current_charset) {
if ($i > $table_row_count / 2) {
if ($i >= $table_row_count / 2) {
$i = 0;
echo ' </table>' . "\n"
. ' </td>' . "\n"
@@ -77,7 +77,7 @@ foreach ($mysql_charsets as $current_charset) {
echo ' <tr>' . "\n"
. ' <td colspan="2" bgcolor="' . $cfg['ThBgcolor'] . '" align="right">' . "\n"
. ' &nbsp;<b>' . htmlspecialchars($current_charset) . '</b>' . "\n"
. ' (<i>' . htmlspecialchars($mysql_charsets_descriptions[$current_charset]) . '</i>)&nbsp;' . "\n"
. (empty($mysql_charsets_descriptions[$current_charset]) ? '' : ' (<i>' . htmlspecialchars($mysql_charsets_descriptions[$current_charset]) . '</i>)&nbsp;' . "\n")
. ' </td>' . "\n"
. ' </tr>' . "\n";
$useBgcolorOne = TRUE;