diff --git a/default.css b/default.css index 4f33cbfa..58a3ea80 100644 --- a/default.css +++ b/default.css @@ -16,6 +16,7 @@ code { background: #eee; } .js .hidden { display: none; } .popup { position: absolute; } .nowrap { white-space: nowrap; } +.wrap { white-space: normal; } .error { color: red; background: #fee; padding: .5em .8em; } .message { color: green; background: #efe; padding: .5em .8em; } .char { color: #007F00; } diff --git a/include/editing.inc.php b/include/editing.inc.php index f5722685..812dd23e 100644 --- a/include/editing.inc.php +++ b/include/editing.inc.php @@ -155,8 +155,8 @@ function edit_fields($fields, $collations, $type = "TABLE", $allowed = 0) { \n"; -echo "\n"; +echo "\n"; +echo "\n"; ?> diff --git a/index.php b/index.php index 1a75a4b1..f713479f 100644 --- a/index.php +++ b/index.php @@ -170,11 +170,11 @@ if (isset($_GET["download"])) { echo "

" . lang('No tables.') . "

\n"; } else { echo "
\n"; - echo "\n"; - echo '\n"; + echo "
' . lang('Table') . '' . lang('Engine') . '' . lang('Collation') . '' . lang('Data Length') . '' . lang('Index Length') . '' . lang('Data Free') . '' . lang('Auto Increment') . '' . lang('Rows') . '' . lang('Comment') . "
\n"; + echo '\n"; while ($row = $result->fetch_assoc()) { table_comment($row); - echo '"; foreach (array("Data_length" => "create", "Index_length" => "indexes", "Data_free" => "edit", "Auto_increment" => "create", "Rows" => "select") as $key => $link) { diff --git a/todo.txt b/todo.txt index 0691dccc..018790e1 100644 --- a/todo.txt +++ b/todo.txt @@ -1,3 +1,4 @@ +Join repeated echo in _compile.php Bulk database create and drop Add whisperer to fields with foreign key Highlight found fields
' . lang('Table') . '' . lang('Engine') . '' . lang('Collation') . '' . lang('Data Length') . '' . lang('Index Length') . '' . lang('Data Free') . '' . lang('Auto Increment') . '' . lang('Rows') . '' . lang('Comment') . "
'; + echo ''; if (isset($row["Rows"])) { echo '' . htmlspecialchars($row["Name"]) . "$row[Engine]$row[Collation]