From d3a6024fd8faf8d87fe01072d00a82a99bede63f Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Wed, 7 Dec 2005 12:16:56 +0000 Subject: [PATCH] move styles into css --- css/phpmyadmin.css.php | 11 +++++- server_collations.php | 83 +++++++++++++++++++----------------------- 2 files changed, 48 insertions(+), 46 deletions(-) diff --git a/css/phpmyadmin.css.php b/css/phpmyadmin.css.php index f81eb8854..9a1999a38 100644 --- a/css/phpmyadmin.css.php +++ b/css/phpmyadmin.css.php @@ -648,14 +648,23 @@ li#li_flush_privileges { } #selflink { - float: right; clear: both; + display: block; + margin-top: 1em; + margin-bottom: 1em; + width: 100%; + border-top: 0.1em solid silver; + text-align: ; } #table_innodb_bufferpool_usage, #table_innodb_bufferpool_activity { float: ; } + +#div_mysql_charset_collations table { + float: ; +} ' . "\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');