\n";
}
page_footer("db");
diff --git a/design.inc.php b/design.inc.php
index 3ece5026..0f6454b5 100644
--- a/design.inc.php
+++ b/design.inc.php
@@ -1,6 +1,6 @@
@@ -9,9 +9,12 @@ function page_header($title, $error = "", $breadcrumb = array(), $title2 = "") {
-
+
-" />
+
+
+
+
diff --git a/index.php b/index.php
index 16deeb83..76f2795f 100644
--- a/index.php
+++ b/index.php
@@ -46,6 +46,7 @@ if (get_magic_quotes_gpc()) {
set_magic_quotes_runtime(false);
$SELF = preg_replace('~^[^?]*/([^?]*).*~', '\\1?', $_SERVER["REQUEST_URI"]) . (strlen($_GET["server"]) ? 'server=' . urlencode($_GET["server"]) . '&' : '') . (strlen($_GET["db"]) ? 'db=' . urlencode($_GET["db"]) . '&' : '');
+include "./version.inc.php";
include "./functions.inc.php";
include "./lang.inc.php";
include "./lang/$LANG.inc.php";
diff --git a/lang/cs.inc.php b/lang/cs.inc.php
index 81615166..1016c064 100644
--- a/lang/cs.inc.php
+++ b/lang/cs.inc.php
@@ -217,4 +217,6 @@ $translations = array(
'Maximum number of allowed fields exceeded. Please increase %s and %s.' => 'Byl překročen maximální povolený počet polí. Zvyšte prosím %s a %s.',
'(anywhere)' => '(kdekoliv)',
'%.3f s' => '%.3f s',
+ 'phpMinAdmin version: %s' => 'Verze phpMinAdmin: %s',
+ 'current version' => 'aktuální verze',
);
diff --git a/todo.txt b/todo.txt
index 5adde629..86ede040 100644
--- a/todo.txt
+++ b/todo.txt
@@ -7,7 +7,8 @@ Compress export and import
Create view and routine options
SQL queries history - utilize in edit link in .message and .error
Function to fix database encoding - http://php.vrana.cz/prevod-kodovani-mysql.php
-? Execution time in sql.inc.php
+Separate JavaScript - load after login form
? Save token also to cookie - for session expiration and login in other window
? Save uploaded files after error to session variable instead of hidden field
? Aliasing of built-in functions can save 7 KB, substitution of $_GET and friends can save 2 KB, remove of base64_decode() + using chars 127-255 in minification can save 1 KB, JS shrink can save 1 KB
+? AJAX editing - select page has all data to display edit form
diff --git a/version.inc.php b/version.inc.php
new file mode 100644
index 00000000..5d1cd816
--- /dev/null
+++ b/version.inc.php
@@ -0,0 +1,2 @@
+