From d3a6024fd8faf8d87fe01072d00a82a99bede63f Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Wed, 7 Dec 2005 12:16:56 +0000 Subject: move styles into css --- server_collations.php | 83 +++++++++++++++++++++++---------------------------- 1 file changed, 38 insertions(+), 45 deletions(-) (limited to 'server_collations.php') diff --git a/server_collations.php b/server_collations.php index 19b8467089..5cc0cfef1e 100644 --- a/server_collations.php +++ b/server_collations.php @@ -2,6 +2,9 @@ /* $Id$ */ // vim: expandtab sw=4 ts=4 sts=4: +/** + * requirements + */ require_once('./libraries/common.lib.php'); /** @@ -20,7 +23,9 @@ require('./libraries/server_links.inc.php'); * Displays the sub-page heading */ echo '

' . "\n" - . ' ' . ($GLOBALS['cfg']['MainPageIconic'] ? '' : '') + . ' ' . ($GLOBALS['cfg']['MainPageIconic'] + ? '' + : '') . '' . $strCharsetsAndCollations . "\n" . '

' . "\n"; @@ -43,18 +48,11 @@ require_once('./libraries/mysql_charsets.lib.php'); /** * Outputs the result */ -echo '' . "\n" - . ' ' . "\n" - . ' ' . "\n" - . ' ' . "\n" - . ' ' . "\n" - . '
' . "\n" - . ' ' . "\n" - . ' ' . "\n" - . ' ' . "\n" - . ' ' . "\n" - . ' ' . "\n"; +echo '
' . "\n" + . '
' . "\n" - . ' ' . $strCollation . "\n" - . ' ' . "\n" - . ' ' . $strDescription . "\n" - . '
' . "\n" + . '' . "\n" + . ' ' . "\n" + . '' . "\n"; $i = 0; $table_row_count = count($mysql_charsets) + $mysql_collations_count; @@ -62,45 +60,40 @@ $table_row_count = count($mysql_charsets) + $mysql_collations_count; foreach ($mysql_charsets as $current_charset) { if ($i >= $table_row_count / 2) { $i = 0; - echo '
' . $strCollation . '' . $strDescription . '
' . "\n" - . '
' . "\n" - . ' ' . "\n" - . ' ' . "\n" - . ' ' . "\n" - . ' ' . "\n" - . ' ' . "\n"; + echo '
' . "\n" - . ' ' . $strCollation . "\n" - . ' ' . "\n" - . ' ' . $strDescription . "\n" - . '
' . "\n" + . '' . "\n" + . '' . "\n" + . ' ' . "\n" + . '' . "\n"; } $i++; - echo ' ' . "\n" - . ' ' . "\n" - . ' ' . "\n"; - $useBgcolorOne = TRUE; + echo '' . "\n" + . '' . "\n"; + $odd_row = true; foreach ($mysql_collations[$current_charset] as $current_collation) { $i++; - echo ' ' . "\n" - . ' ' . "\n" - . ' ' . "\n" - . ' ' . "\n"; - $useBgcolorOne = !$useBgcolorOne; + echo '' . "\n" + . ' ' . "\n" + . ' ' . "\n" + . '' . "\n"; + $odd_row = !$odd_row; } } unset($table_row_count); -echo '
' . $strCollation . '' . $strDescription . '
' . "\n" - . '  ' . htmlspecialchars($current_charset) . '' . "\n" - . (empty($mysql_charsets_descriptions[$current_charset]) ? '' : ' (' . htmlspecialchars($mysql_charsets_descriptions[$current_charset]) . ') ' . "\n") - . '
' . "\n" + . ' ' . htmlspecialchars($current_charset) . "\n" + . (empty($mysql_charsets_descriptions[$current_charset]) + ? '' + : ' (' . htmlspecialchars( + $mysql_charsets_descriptions[$current_charset]) . ')' . "\n") + . '
' . "\n" - . '  ' . htmlspecialchars($current_collation) . ' ' . "\n" - . ' ' . "\n" - . '  ' . PMA_getCollationDescr($current_collation) . ' ' . "\n" - . '
' . htmlspecialchars($current_collation) . '' . PMA_getCollationDescr($current_collation) . '
' . "\n" - . '
' . "\n"; +echo '' . "\n" + . '' . "\n"; require_once('./libraries/footer.inc.php'); -- cgit v1.2.3