Added new icons from the legend Nicolas Siwik.
authorjollytoad <jollytoad>
Tue, 6 Dec 2005 14:27:55 +0000 (14:27 +0000)
committerjollytoad <jollytoad>
Tue, 6 Dec 2005 14:27:55 +0000 (14:27 +0000)
13 files changed:
browser.php
classes/Misc.php
images/themes/default/Admin.png [new file with mode: 0644]
images/themes/default/Definition.png [new file with mode: 0644]
images/themes/default/Export.png [new file with mode: 0644]
images/themes/default/Import.png [new file with mode: 0644]
images/themes/default/Introduction.png [new file with mode: 0644]
images/themes/default/Loading.gif [new file with mode: 0644]
images/themes/default/ObjectNotFound.png [new file with mode: 0644]
images/themes/default/Privileges.png [new file with mode: 0644]
images/themes/default/Processes.png [new file with mode: 0644]
images/themes/default/Reports.png [new file with mode: 0644]
images/themes/default/Variables.png [new file with mode: 0644]

index f80ec4f0efd338a4b6a14968cd3597bd771d4f5b..1cd47009c27d01f239ad94d51cc28acbae00dea8 100644 (file)
@@ -5,7 +5,7 @@
         * if you click on a database it shows a list of database objects in that
         * database.
         *
-        * $Id: browser.php,v 1.54 2005/11/25 08:59:35 jollytoad Exp $
+        * $Id: browser.php,v 1.55 2005/12/06 14:29:31 jollytoad Exp $
         */
 
        // Include application functions
@@ -41,9 +41,9 @@ webFXTreeConfig.tIcon                 = "<?php echo $misc->icon('T') ?>";
 webFXTreeConfig.tMinusIcon             = "<?php echo $misc->icon('Tminus') ?>";
 webFXTreeConfig.tPlusIcon              = "<?php echo $misc->icon('Tplus') ?>";
 webFXTreeConfig.blankIcon              = "<?php echo $misc->icon('blank') ?>";
-webFXTreeConfig.loadingIcon            = "<?php echo $misc->icon('loading') ?>";
+webFXTreeConfig.loadingIcon            = "<?php echo $misc->icon('Loading') ?>";
 webFXTreeConfig.loadingText            = "<?php echo $lang['strloading'] ?>";
-webFXTreeConfig.errorIcon              = "<?php echo $misc->icon('error') ?>";
+webFXTreeConfig.errorIcon              = "<?php echo $misc->icon('ObjectNotFound') ?>";
 webFXTreeConfig.errorLoadingText = "<?php echo $lang['strerrorloading'] ?>";
 webFXTreeConfig.reloadText             = "<?php echo $lang['strclicktoreload'] ?>";
 
index f52c9987f356a2b371ee6c1fb87ff12fe46bbb5e..1344620e8c32ff4614d0e2590d845bfb31a89bb7 100644 (file)
@@ -2,7 +2,7 @@
        /**
         * Class to hold various commonly used functions
         *
-        * $Id: Misc.php,v 1.121 2005/12/06 08:41:26 chriskl Exp $
+        * $Id: Misc.php,v 1.122 2005/12/06 14:28:51 jollytoad Exp $
         */
         
        class Misc {
                                                'intro' => array (
                                                        'title' => $lang['strintroduction'],
                                                        'url'   => "intro.php",
+                                                       'icon'  => 'Introduction',
                                                ),
                                                'servers' => array (
                                                        'title' => $lang['strservers'],
                                                        'url'   => 'all_db.php',
                                                        'urlvars' => array('subject' => 'server', 'action' => 'export'),
                                                        'hide'  => (!$this->isDumpEnabled()),
-                                                       'icon'  => 'Save',
+                                                       'icon'  => 'Export',
                                                ),
                                                'reports' => array (
                                                        'title' => $lang['strreports'],
                                                        'url'   => 'reports.php',
                                                        'urlvars' => array('subject' => 'server'),
                                                        'hide' => !$conf['show_reports'],
-                                                       'icon' => 'Statistics',
+                                                       'icon' => 'Reports',
                                                ),
                                        );
 
                                                        'hide'  => (!$data->hasVariables()),
                                                        'help'  => 'pg.variable',
                                                        'tree'  => false,
-                                                       'icon'  => 'Property',
+                                                       'icon'  => 'Variables',
                                                ),
                                                'processes' => array (
                                                        'title' => $lang['strprocesses'],
                                                        'hide'  => (!$data->hasProcesses()),
                                                        'help'  => 'pg.process',
                                                        'tree'  => false,
-                                                       'icon'  => 'Statistics',
+                                                       'icon'  => 'Processes',
                                                ),
                                                'admin' => array (
                                                        'title' => $lang['stradmin'],
                                                        'url'   => 'database.php',
                                                        'urlvars' => array('subject' => 'database', 'action' => 'admin'),
                                                        'tree'  => false,
-                                                       'icon'  => 'Maintenance',
+                                                       'icon'  => 'Admin',
                                                ),
                                                'privileges' => array (
                                                        'title' => $lang['strprivileges'],
                                                        'hide'  => (!isset($data->privlist['database'])),
                                                        'help'  => 'pg.privilege',
                                                        'tree'  => false,
-                                                       'icon'  => 'Key',
+                                                       'icon'  => 'Privileges',
                                                ),
                                                'languages' => array (
                                                        'title' => $lang['strlanguages'],
                                                        'urlvars' => array('subject' => 'database', 'action' => 'export'),
                                                        'hide'  => (!$this->isDumpEnabled()),
                                                        'tree'  => false,
-                                                       'icon'  => 'Save',
+                                                       'icon'  => 'Export',
                                                ),
                                        );
                                        return $tabs;
                                                        'hide'  => (!$data->hasSchemas()),
                                                        'help'  => 'pg.privilege',
                                                        'tree'  => false,
-                                                       'icon'  => 'Key',
+                                                       'icon'  => 'Privileges',
                                                ),
                                        );
 
                                                        'url'   => 'privileges.php',
                                                        'urlvars' => array('subject' => 'table', 'table' => field('table')),
                                                        'help'  => 'pg.privilege',
-                                                       'icon'  => 'Key',
+                                                       'icon'  => 'Privileges',
                                                ),
                                                'import' => array (
                                                        'title' => $lang['strimport'],
                                                        'url'   => 'tblproperties.php',
                                                        'urlvars' => array('subject' => 'table', 'table' => field('table'), 'action' => 'import'),
-                                                       'icon'  => 'Open',
+                                                       'icon'  => 'Import',
                                                ),
                                                'export' => array (
                                                        'title' => $lang['strexport'],
                                                        'url'   => 'tblproperties.php',
                                                        'urlvars' => array('subject' => 'table', 'table' => field('table'), 'action' => 'export'),
-                                                       'icon'  => 'Save',
+                                                       'icon'  => 'Export',
                                                ),
                                        );
                                
                                                        'title' => $lang['strdefinition'],
                                                        'url'   => 'viewproperties.php',
                                                        'urlvars' => array('subject' => 'view', 'view' => field('view'), 'action' => 'definition'),
-                                                       'icon'  => 'Editor'
+                                                       'icon'  => 'Definition'
                                                ),
                                                'rules' => array (
                                                        'title' => $lang['strrules'],
                                                        'url'   => 'privileges.php',
                                                        'urlvars' => array('subject' => 'view', 'view' => field('view')),
                                                        'help'  => 'pg.privilege',
-                                                       'icon'  => 'Key',
+                                                       'icon'  => 'Privileges',
                                                ),
                                                'export' => array (
                                                        'title' => $lang['strexport'],
                                                        'url'   => 'viewproperties.php',
                                                        'urlvars' => array('subject' => 'view', 'view' => field('view'), 'action' => 'export'),
-                                                       'icon'  => 'Save',
+                                                       'icon'  => 'Export',
                                                ),
                                        );
                                
                                                                        'function_oid' => field('function_oid'),
                                                                        'action' => 'properties',
                                                                ),
-                                                       'icon'  => 'Property',
+                                                       'icon'  => 'Definition',
                                                ),
                                                'privileges' => array (
                                                        'title' => $lang['strprivileges'],
                                                                        'function' => field('function'),
                                                                        'function_oid' => field('function_oid'),
                                                                ),
-                                                       'icon'  => 'Key',
+                                                       'icon'  => 'Privileges',
                                                ),
                                        );
                                
                        $trail['root'] = array(
                                'text'  => $appName,
                                'url'   => 'redirect.php?subject=root',
+                               'icon'  => 'Introduction'
                        );
                        
                        if ($subject == 'root') $done = true;
diff --git a/images/themes/default/Admin.png b/images/themes/default/Admin.png
new file mode 100644 (file)
index 0000000..883f0ca
Binary files /dev/null and b/images/themes/default/Admin.png differ
diff --git a/images/themes/default/Definition.png b/images/themes/default/Definition.png
new file mode 100644 (file)
index 0000000..efa05a1
Binary files /dev/null and b/images/themes/default/Definition.png differ
diff --git a/images/themes/default/Export.png b/images/themes/default/Export.png
new file mode 100644 (file)
index 0000000..5f369a8
Binary files /dev/null and b/images/themes/default/Export.png differ
diff --git a/images/themes/default/Import.png b/images/themes/default/Import.png
new file mode 100644 (file)
index 0000000..a1ccd68
Binary files /dev/null and b/images/themes/default/Import.png differ
diff --git a/images/themes/default/Introduction.png b/images/themes/default/Introduction.png
new file mode 100644 (file)
index 0000000..ea3b31b
Binary files /dev/null and b/images/themes/default/Introduction.png differ
diff --git a/images/themes/default/Loading.gif b/images/themes/default/Loading.gif
new file mode 100644 (file)
index 0000000..874e0db
Binary files /dev/null and b/images/themes/default/Loading.gif differ
diff --git a/images/themes/default/ObjectNotFound.png b/images/themes/default/ObjectNotFound.png
new file mode 100644 (file)
index 0000000..4e5864b
Binary files /dev/null and b/images/themes/default/ObjectNotFound.png differ
diff --git a/images/themes/default/Privileges.png b/images/themes/default/Privileges.png
new file mode 100644 (file)
index 0000000..d9f5636
Binary files /dev/null and b/images/themes/default/Privileges.png differ
diff --git a/images/themes/default/Processes.png b/images/themes/default/Processes.png
new file mode 100644 (file)
index 0000000..64cbe44
Binary files /dev/null and b/images/themes/default/Processes.png differ
diff --git a/images/themes/default/Reports.png b/images/themes/default/Reports.png
new file mode 100644 (file)
index 0000000..625d334
Binary files /dev/null and b/images/themes/default/Reports.png differ
diff --git a/images/themes/default/Variables.png b/images/themes/default/Variables.png
new file mode 100644 (file)
index 0000000..8368c2f
Binary files /dev/null and b/images/themes/default/Variables.png differ