Added a link and placeholder for database wide utilities (eq to all_db stuff from...
authorxzilla <xzilla>
Tue, 15 Oct 2002 20:39:40 +0000 (20:39 +0000)
committerxzilla <xzilla>
Tue, 15 Oct 2002 20:39:40 +0000 (20:39 +0000)
public_html/all_db.php [new file with mode: 0644]
public_html/browser.php

diff --git a/public_html/all_db.php b/public_html/all_db.php
new file mode 100644 (file)
index 0000000..a5cf9a3
--- /dev/null
@@ -0,0 +1 @@
+this is just a placeholder. we want to display database name, owner, encoding and give option to create new databases
index 3be6315c2d6579d04f2fe34e5a6eb24bef7e4cf7..20fe141a89904663ef134146a57fd7a44dbc2a8c 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Main object browser
         *
-        * $Id: browser.php,v 1.9 2002/10/07 21:59:38 xzilla Exp $
+        * $Id: browser.php,v 1.10 2002/10/15 20:39:40 xzilla Exp $
         */
 
        // Include application functions
@@ -23,7 +23,7 @@
        // Construct expanding tree
    $tree = new Tree ('class.tree');
    $tree->set_frame ('detail');
-   $root  = $tree->open_tree (htmlspecialchars($confServers[$_COOKIE['webdbServerID']]['desc']), '');
+   $root  = $tree->open_tree ('<a href=\"all_db.php\" target=\"detail\">'. htmlspecialchars($confServers[$_COOKIE['webdbServerID']]['desc']) .'</a>', '');
 
        $databases = &$data->getDatabases();
        while (!$databases->EOF) {