From 766caa4ddcfa2ab5fdfabb9b8c5b41e126f8872b Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Tue, 30 Sep 2008 11:14:26 +0000 Subject: [PATCH] Comment git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@505 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 85067acc..49d385d4 100644 --- a/index.php +++ b/index.php @@ -155,9 +155,9 @@ if (isset($_GET["download"])) { } else { echo "
\n"; echo "\n"; - echo '\n"; + echo '\n"; while ($row = $result->fetch_assoc()) { - echo '
' . lang('Table') . '' . lang('Engine') . '' . lang('Collation') . '' . lang('Data Length') . '' . lang('Index Length') . '' . lang('Data Free') . '' . lang('Auto Increment') . '' . lang('Rows') . "
' . lang('Table') . '' . lang('Engine') . '' . lang('Comment') . '' . lang('Collation') . '' . lang('Data Length') . '' . lang('Index Length') . '' . lang('Data Free') . '' . lang('Auto Increment') . '' . lang('Rows') . "
' . (isset($row["Rows"]) ? '' . htmlspecialchars($row["Name"]) . "$row[Engine]$row[Collation]" : ' ' . htmlspecialchars($row["Name"]) . '' . lang('View')); + echo '
' . (isset($row["Rows"]) ? '' . htmlspecialchars($row["Name"]) . "$row[Engine]" . htmlspecialchars($row["Comment"]) . "$row[Collation]" : ' ' . htmlspecialchars($row["Name"]) . '' . lang('View')); $row["count"] = $mysql->result($mysql->query("SELECT COUNT(*) FROM " . idf_escape($row["Name"]))); foreach ((isset($row["Rows"]) ? array("Data_length" => "create", "Index_length" => "indexes", "Data_free" => "edit", "Auto_increment" => "create") : array()) + array("count" => "select") as $key => $link) { echo '' . (strlen($row[$key]) ? '' . number_format($row[$key], 0, '.', lang(',')) . '' : ' ');