Added tab for tablespaces.
authorjollytoad <jollytoad>
Wed, 21 Jul 2004 07:44:43 +0000 (07:44 +0000)
committerjollytoad <jollytoad>
Wed, 21 Jul 2004 07:44:43 +0000 (07:44 +0000)
classes/Misc.php
tablespaces.php

index cfa183b4980694c45b798e536d507e86eaec5ab7..e3f0ded63aa5704fe192514a9cec61c625d13665 100644 (file)
@@ -2,7 +2,7 @@
        /**
         * Class to hold various commonly used functions
         *
-        * $Id: Misc.php,v 1.78 2004/07/19 08:06:02 jollytoad Exp $
+        * $Id: Misc.php,v 1.79 2004/07/21 07:44:43 jollytoad Exp $
         */
         
        class Misc {
                                                        'title' => $lang['strdatabases'],
                                                        'url'   => "all_db.php",
                                                ),
+                                               'tablespaces' => array (
+                                                       'title' => $lang['strtablespaces'],
+                                                       'url'   => "tablespaces.php",
+                                                       'hide'  => (!$data->hasTablespaces()),
+                                               ),
                                                'users' => array (
                                                        'title' => $lang['strusers'],
                                                        'url'   => "users.php",
index 7e58f7787fdfc0a060ea70b3d7edd270dbbed0b1..5ad9864a1654518e5825b15102925bc3b5ffdc2a 100755 (executable)
@@ -3,7 +3,7 @@
        /**
         * Manage tablespaces in a database cluster
         *
-        * $Id: tablespaces.php,v 1.3 2004/07/10 08:51:01 chriskl Exp $
+        * $Id: tablespaces.php,v 1.4 2004/07/21 07:44:44 jollytoad Exp $
         */
 
        // Include application functions
 
        $misc->printHeader($lang['strtablespaces']);
        $misc->printBody();
+       $misc->printNav('server','tablespaces');
 
        switch ($action) {
                case 'save_create':