Display number of tables
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1226 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
f9a20232ae
commit
881fbf58dc
|
@ -48,7 +48,7 @@ if (!$table_status) {
|
||||||
} else {
|
} else {
|
||||||
echo "<form action='' method='post'>\n";
|
echo "<form action='' method='post'>\n";
|
||||||
echo "<table cellspacing='0' class='nowrap' onclick='table_click(event);'>\n";
|
echo "<table cellspacing='0' class='nowrap' onclick='table_click(event);'>\n";
|
||||||
echo '<thead><tr class="wrap"><td><input id="check-all" type="checkbox" onclick="form_check(this, /^(tables|views)\[/);"><th>' . lang('Table') . '<td>' . lang('Engine') . '<td>' . lang('Collation') . '<td>' . lang('Data Length') . '<td>' . lang('Index Length') . '<td>' . lang('Data Free') . '<td>' . lang('Auto Increment') . '<td>' . lang('Rows') . '<td>' . lang('Comment') . "</thead>\n";
|
echo '<thead><tr class="wrap"><td><input id="check-all" type="checkbox" onclick="form_check(this, /^(tables|views)\[/);" title="' . count($table_status) . '"><th>' . lang('Table') . '<td>' . lang('Engine') . '<td>' . lang('Collation') . '<td>' . lang('Data Length') . '<td>' . lang('Index Length') . '<td>' . lang('Data Free') . '<td>' . lang('Auto Increment') . '<td>' . lang('Rows') . '<td>' . lang('Comment') . "</thead>\n";
|
||||||
foreach ($table_status as $row) {
|
foreach ($table_status as $row) {
|
||||||
$name = $row["Name"];
|
$name = $row["Name"];
|
||||||
echo '<tr' . odd() . '><td>' . checkbox((isset($row["Rows"]) ? "tables[]" : "views[]"), $name, in_array($name, $tables_views, true), "", "form_uncheck('check-all');");
|
echo '<tr' . odd() . '><td>' . checkbox((isset($row["Rows"]) ? "tables[]" : "views[]"), $name, in_array($name, $tables_views, true), "", "form_uncheck('check-all');");
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
Adminer 2.2.1-dev:
|
Adminer 2.2.1-dev:
|
||||||
Improve concurrency
|
Improve concurrency
|
||||||
|
Move number of tables to DB info (performance)
|
||||||
Link new item in backward keys (Editor)
|
Link new item in backward keys (Editor)
|
||||||
|
|
||||||
Adminer 2.2.0 (released 2009-10-20):
|
Adminer 2.2.0 (released 2009-10-20):
|
||||||
|
|
Loading…
Reference in a new issue