From: jakubvrana
Date: Mon, 1 Jun 2009 21:32:11 +0000 (+0000)
Subject: Check version on every page
X-Git-Tag: v3.0.0~882
X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=e70920e6ef68203c5392734561e2a36aafa3b15f;p=adminer.git
Check version on every page
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@643 7c3ca157-0c34-0410-bff1-cbf682f78f5c
---
diff --git a/include/connect.inc.php b/include/connect.inc.php
index 222304e8..331bbc26 100644
--- a/include/connect.inc.php
+++ b/include/connect.inc.php
@@ -9,16 +9,6 @@ function connect_error() {
echo '' . lang('Privileges') . "
\n";
echo '' . lang('Process list') . "
\n";
echo "" . lang('MySQL version: %s through PHP extension %s', "server_info < 4.1 ? " class='binary'" : "") . ">$dbh->server_info", "$dbh->extension") . "
\n";
- echo "" . lang('phpMinAdmin version: %s', "$VERSION") . ", " . lang('current version') . "" . (version_compare($VERSION, $_COOKIE["phpMinAdmin_version"]) < 0 ? ": " . htmlspecialchars($_COOKIE["phpMinAdmin_version"]) . "" : "") . "
\n";
- if (!isset($_COOKIE["phpMinAdmin_version"])) {
- ?>
-
-" . lang('Logged as: %s', "" . htmlspecialchars($dbh->result($dbh->query("SELECT USER()"))) . "") . "
\n";
}
page_footer("db");
diff --git a/include/design.inc.php b/include/design.inc.php
index 1683ccbd..1ee8099f 100644
--- a/include/design.inc.php
+++ b/include/design.inc.php
@@ -1,6 +1,6 @@
@@ -17,7 +17,7 @@ function page_header($title, $error = "", $breadcrumb = array(), $title2 = "") {
-
+">
@@ -62,6 +62,7 @@ function page_footer($missing = false) {
-
-
-
-