From cd1acfae48a65a2f842a8c42789f18cd12f3c2b7 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 22 Jul 2005 15:25:53 +0000 Subject: [PATCH] no table creation in information_schema --- db_details_structure.php | 47 +++++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/db_details_structure.php b/db_details_structure.php index d9f7f055e..4ec005b6c 100644 --- a/db_details_structure.php +++ b/db_details_structure.php @@ -630,6 +630,8 @@ if ($num_tables > 0) { = 50002 && $db != 'information_schema')) { ?>
@@ -643,28 +645,29 @@ if ($num_tables > 0) { . htmlspecialchars($GLOBALS['db']) . ''; // else use // $strDBLink = htmlspecialchars($db); -echo ' ' . sprintf($strCreateNewTable, $strDBLink) . ': ' . "\n"; -echo ' '; -echo ' '; -echo ' ' . $strName . ': ' . "\n"; -echo ' '; -echo ' '; -echo ' ' . ''; -echo '  '; -echo ' '; -if (!isset($strNumberOfFields)) { - $strNumberOfFields = $strFields; -} -echo ' ' . $strNumberOfFields . ': ' . "\n"; -echo ' '; -echo ' '; -echo ' ' . '' . "\n"; -echo ' '; -echo ' '; -echo ' ' . ' ' . "\n"; -echo ' '; -echo ' '; -echo '
'; + echo ' ' . sprintf($strCreateNewTable, $strDBLink) . ': ' . "\n"; + echo ' '; + echo ' '; + echo ' ' . $strName . ': ' . "\n"; + echo ' '; + echo ' '; + echo ' ' . ''; + echo '  '; + echo ' '; + if (!isset($strNumberOfFields)) { + $strNumberOfFields = $strFields; + } + echo ' ' . $strNumberOfFields . ': ' . "\n"; + echo ' '; + echo ' '; + echo ' ' . '' . "\n"; + echo ' '; + echo ' '; + echo ' ' . ' ' . "\n"; + echo ' '; + echo ' '; + echo ''; +} // end if (Create Table dialog) /** * Displays the footer