From 8d565e63aba4f7c9c1e7952dd049fee336ef9c35 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 18 Oct 2010 01:53:31 +0200 Subject: [PATCH] Respect scheme support --- adminer/include/connect.inc.php | 3 ++- todo.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/adminer/include/connect.inc.php b/adminer/include/connect.inc.php index 840b11e8..64cd6254 100644 --- a/adminer/include/connect.inc.php +++ b/adminer/include/connect.inc.php @@ -25,6 +25,7 @@ function connect_error() { echo "

" . lang('Logged as: %s', "" . h(logged_user()) . "") . "\n"; $databases = get_databases(); if ($databases) { + $scheme = support("scheme"); $collations = collations(); echo "

\n"; echo "\n"; @@ -33,7 +34,7 @@ function connect_error() { $root = h(ME) . "db=" . urlencode($db); echo "
" . checkbox("db[]", $db, in_array($db, (array) $_POST["db"])); echo "" . h($db) . ""; - echo "" . nbsp(db_collation($db, $collations)) . ""; + echo "" . nbsp(db_collation($db, $collations)) . ""; echo "?"; echo "\n"; } diff --git a/todo.txt b/todo.txt index 1e772430..611ed1b4 100644 --- a/todo.txt +++ b/todo.txt @@ -1,6 +1,6 @@ Transactions in export Create view and routine options -Variables editation, especially timezone +Variables editation, especially timezone (or set by PHP date.timezone) Highlight SQL textarea, then display query inside textarea in select - may use external CodeMirror Blob download and image display in edit form (important for Editor with hidden fields in select) Add title to Logout, edit (in select) and select (in menu) in style "hever" @@ -34,6 +34,7 @@ Delimiter in export and SQL command Backward keys in Editor PostgreSQL: +Display number of schemas in databases overview Users - SELECT * FROM pg_user ORDER BY COUNT(*) Export - http://www.postgresql.org/docs/8.4/static/functions-info.html