" . ($_GET["where"] ? lang('Edit') : lang('Insert')) . ": " . htmlspecialchars($_GET["edit"]) . "
\n"; $where = array(); if (is_array($_GET["where"])) { diff --git a/index.php b/index.php index 6bcb10fa..fef4c054 100644 --- a/index.php +++ b/index.php @@ -26,7 +26,7 @@ if (isset($_GET["sql"])) { } elseif (isset($_GET["database"])) { include "./database.inc.php"; } else { - page_header(htmlspecialchars($_GET["db"])); + page_header(htmlspecialchars(lang('Database') . ": " . $_GET["db"])); echo '' . lang('Alter database') . "
\n"; $result = mysql_query("SELECT * FROM information_schema.ROUTINES WHERE ROUTINE_SCHEMA = '" . mysql_real_escape_string($_GET["db"]) . "'"); if (mysql_num_rows($result)) { diff --git a/indexes.inc.php b/indexes.inc.php index f43f8bb0..4e063052 100644 --- a/indexes.inc.php +++ b/indexes.inc.php @@ -34,7 +34,6 @@ if ($_POST) { } page_header(lang('Indexes') . ': ' . htmlspecialchars($_GET["indexes"])); -echo "" . lang('Indexes') . ': ' . htmlspecialchars($_GET["indexes"]) . "
\n"; if ($_POST) { echo "" . lang('Unable to operate indexes') . ": " . htmlspecialchars($error) . "
\n"; diff --git a/select.inc.php b/select.inc.php index 0c6879a6..bcd7d5a0 100644 --- a/select.inc.php +++ b/select.inc.php @@ -1,10 +1,8 @@ " . lang('Select') . ": " . htmlspecialchars($_GET["select"]) . "\n"; echo '\n"; -$indexes = indexes($_GET["select"]); - echo "