' . checkbox(($view ? "views[]" : "tables[]"), $name, in_array($name, $tables_views, true), "", "", "", $id);
echo ' | ' . (support("table") || support("indexes") ? "" . h($name) . '' : h($name));
if ($view) {
echo ' | ' . (preg_match('~materialized~i', $type) ? lang('Materialized view') : lang('View')) . '';
@@ -159,12 +159,11 @@ if ($adminer->homepage()) {
echo "" . lang('Routines') . "\n";
$routines = routines();
if ($routines) {
- echo "\n";
+ echo "\n";
echo '' . lang('Name') . ' | ' . lang('Type') . ' | ' . lang('Return type') . " | | \n";
- odd('');
foreach ($routines as $row) {
$name = ($row["SPECIFIC_NAME"] == $row["ROUTINE_NAME"] ? "" : "&name=" . urlencode($row["ROUTINE_NAME"])); // not computed on the pages to be able to print the header first
- echo '';
+ echo ' ';
echo '' . h($row["ROUTINE_NAME"]) . '';
echo ' | ' . h($row["ROUTINE_TYPE"]);
echo ' | ' . h($row["DTD_IDENTIFIER"]);
@@ -182,11 +181,10 @@ if ($adminer->homepage()) {
echo "" . lang('Sequences') . "\n";
$sequences = get_vals("SELECT sequence_name FROM information_schema.sequences WHERE sequence_schema = current_schema() ORDER BY sequence_name");
if ($sequences) {
- echo "\n";
+ echo "\n";
}
@@ -197,11 +195,10 @@ if ($adminer->homepage()) {
echo "" . lang('User types') . "\n";
$user_types = types();
if ($user_types) {
- echo "\n";
+ echo "\n";
}
diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php
index 94399ec3..72634632 100644
--- a/adminer/include/adminer.inc.php
+++ b/adminer/include/adminer.inc.php
@@ -310,10 +310,10 @@ class Adminer {
*/
function tableStructurePrint($fields) {
echo " | |
---|