From cb6d36c09e814d7dfb709b8e2a9e8051d45254f3 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Tue, 28 Jul 2009 16:28:47 +0000 Subject: [PATCH] HTML instead of XHTML git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@937 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- adminer/create.inc.php | 2 +- adminer/db.inc.php | 2 +- adminer/dump.inc.php | 8 ++++---- adminer/edit.inc.php | 2 +- adminer/event.inc.php | 2 +- adminer/include/adminer.inc.php | 4 ++-- adminer/include/editing.inc.php | 4 ++-- adminer/include/functions.inc.php | 12 ++++++------ adminer/include/lang.inc.php | 2 +- adminer/sql.inc.php | 2 +- adminer/user.inc.php | 6 +++--- editor/include/adminer.inc.php | 2 +- 12 files changed, 24 insertions(+), 24 deletions(-) diff --git a/adminer/create.inc.php b/adminer/create.inc.php index 64de551a..c398291d 100644 --- a/adminer/create.inc.php +++ b/adminer/create.inc.php @@ -143,7 +143,7 @@ if ($suhosin && count($row["fields"]) > $suhosin) { : "> : " maxlength="60">

diff --git a/adminer/db.inc.php b/adminer/db.inc.php index 5fcdbb7f..d72f21d8 100644 --- a/adminer/db.inc.php +++ b/adminer/db.inc.php @@ -53,7 +53,7 @@ if (!$table_status) { foreach ($table_status as $row) { $name = $row["Name"]; table_comment($row); - echo ''; + echo ''; echo '' . h($name) . ''; if (isset($row["Rows"])) { echo "$row[Engine]$row[Collation]"; diff --git a/adminer/dump.inc.php b/adminer/dump.inc.php index 60d4d1d3..26882813 100644 --- a/adminer/dump.inc.php +++ b/adminer/dump.inc.php @@ -174,14 +174,14 @@ echo "" . lang('Data') . "" . lang('Tables') . ""; echo ""; echo "\n"; $views = ""; foreach (table_status() as $row) { - $checked = (strlen($_GET["dump"]) && $row["Name"] != $_GET["dump"] ? '' : " checked='checked'"); + $checked = (strlen($_GET["dump"]) && $row["Name"] != $_GET["dump"] ? '' : " checked"); $print = ""; if (!$row["Engine"]) { $views .= "$print\n"; @@ -191,10 +191,10 @@ if (strlen($_GET["db"])) { } echo $views; } else { - echo "\n"; + echo "\n"; foreach (get_databases() as $db) { if (!information_schema($db)) { - echo '\n"; + echo '\n"; } } } diff --git a/adminer/edit.inc.php b/adminer/edit.inc.php index c134e988..03358e2f 100644 --- a/adminer/edit.inc.php +++ b/adminer/edit.inc.php @@ -85,7 +85,7 @@ if ($fields) { $create = $dbh->result($dbh->query("SHOW CREATE TABLE " . idf_escape($_GET["edit"])), 1); } $checked = ($_POST ? $_POST["on_update"][bracket_escape($name)] : preg_match("~\n\\s*" . preg_quote(idf_escape($name), '~') . " timestamp.* on update CURRENT_TIMESTAMP~i", $create)); - echo ''; + echo ''; } echo "\n"; } diff --git a/adminer/event.inc.php b/adminer/event.inc.php index 07208ef5..3e239899 100644 --- a/adminer/event.inc.php +++ b/adminer/event.inc.php @@ -43,7 +43,7 @@ if ($_POST) { " size="6"> " maxlength="64"> - 

diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index 919fd192..f7ce3452 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -165,7 +165,7 @@ class Adminer { if ($index["type"] == "FULLTEXT") { echo "(" . implode(", ", array_map('h', $index["columns"])) . ") AGAINST"; echo " "; - echo ""; + echo ""; echo "
\n"; } } @@ -196,7 +196,7 @@ class Adminer { foreach ((array) $_GET["order"] as $key => $val) { if (isset($columns[$val])) { echo "

"; - echo "
\n"; + echo "\n"; $i++; } } diff --git a/adminer/include/editing.inc.php b/adminer/include/editing.inc.php index 7c515257..b8feae03 100644 --- a/adminer/include/editing.inc.php +++ b/adminer/include/editing.inc.php @@ -87,8 +87,8 @@ function edit_fields($fields, $collations, $type = "TABLE", $allowed = 0, $forei " onchange=" 1 ? "" : "editing_add_row(this, $allowed); "); ?>editing_name_change(this);" maxlength="64">"> - checked="checked"> - checked="checked"> + checked> + checked>