convert our images to PNG format to avoid nasty GIFs and reduce download size
authorchriskl <chriskl>
Mon, 4 Aug 2003 06:18:10 +0000 (06:18 +0000)
committerchriskl <chriskl>
Mon, 4 Aug 2003 06:18:10 +0000 (06:18 +0000)
23 files changed:
HISTORY
browser.php
images/themes/default/database.gif [deleted file]
images/themes/default/database.png [new file with mode: 0644]
images/themes/default/domains.gif [deleted file]
images/themes/default/domains.png [new file with mode: 0644]
images/themes/default/functions.gif [deleted file]
images/themes/default/functions.png [new file with mode: 0644]
images/themes/default/operators.gif [deleted file]
images/themes/default/operators.png [new file with mode: 0644]
images/themes/default/sequences.gif [deleted file]
images/themes/default/sequences.png [new file with mode: 0644]
images/themes/default/tables.gif [deleted file]
images/themes/default/tables.png [new file with mode: 0644]
images/themes/default/title.gif [deleted file]
images/themes/default/title.png [new file with mode: 0644]
images/themes/default/triggers.gif [deleted file]
images/themes/default/triggers.png [new file with mode: 0644]
images/themes/default/types.gif [deleted file]
images/themes/default/types.png [new file with mode: 0644]
images/themes/default/views.gif [deleted file]
images/themes/default/views.png [new file with mode: 0644]
topbar.php

diff --git a/HISTORY b/HISTORY
index 2489c4bf069ab19aa2791374c9d3a2805100f9ad..a21dbe311a9a39433d949287ed42aeedd5555bda 100644 (file)
--- a/HISTORY
+++ b/HISTORY
@@ -15,7 +15,10 @@ Version 3.1
 * Add/drop users to/from groups
 * Alter (rename) triggers
 * Pop-up SQL window from Mark Gibson
+* Superusers can always see all databases
+* Default database encoding for languages
 * Lots of NULL value in table dump fixes (XML format changed slightly)
+* Convert our images to PNG format
 
 Version 3.0
 -----------
index 4caf1c4e8c155fa2b2e3f7e0f7874c1d51833731..0b6f6ed09401eabe64b430114663a3e7e766deeb 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.15 2003/08/04 05:47:02 chriskl Exp $
+        * $Id: browser.php,v 1.16 2003/08/04 06:18:10 chriskl Exp $
         */
 
        // Include application functions
@@ -43,8 +43,8 @@
                        $table_node = &new HTML_TreeNode(array(
                                                        'text' => addslashes($lang['strtables']), 
                                                        'link' => addslashes(htmlspecialchars("tables.php?{$querystr}")), 
-                                                       'icon' => "../../../images/themes/{$conf['theme']}/tables.gif", 
-                                                       'expandedIcon' => "../../../images/themes/{$conf['theme']}/tables.gif",
+                                                       'icon' => "../../../images/themes/{$conf['theme']}/tables.png", 
+                                                       'expandedIcon' => "../../../images/themes/{$conf['theme']}/tables.png",
                                                        'expanded' => false,
                                                        'linkTarget' => 'detail'));
 
@@ -57,8 +57,8 @@
                                                                'text' => addslashes($misc->printVal($tables->f[$data->tbFields['tbname']])), 
                                                                'link' => addslashes(htmlspecialchars("tblproperties.php?{$querystr}&table=" .
                                                                        urlencode($tables->f[$data->tbFields['tbname']]))), 
-                                                               'icon' => "../../../images/themes/{$conf['theme']}/tables.gif", 
-                                                               'expandedIcon' => "../../../images/themes/{$conf['theme']}/tables.gif",
+                                                               'icon' => "../../../images/themes/{$conf['theme']}/tables.png", 
+                                                               'expandedIcon' => "../../../images/themes/{$conf['theme']}/tables.png",
                                                                'expanded' => false,
                                                                'linkTarget' => 'detail'));
 
@@ -73,8 +73,8 @@
                        $view_node = &new HTML_TreeNode(array(
                                                        'text' => addslashes($lang['strviews']), 
                                                        'link' => addslashes(htmlspecialchars("views.php?{$querystr}")), 
-                                                       'icon' => "../../../images/themes/{$conf['theme']}/views.gif", 
-                                                       'expandedIcon' => "../../../images/themes/{$conf['theme']}/views.gif",
+                                                       'icon' => "../../../images/themes/{$conf['theme']}/views.png", 
+                                                       'expandedIcon' => "../../../images/themes/{$conf['theme']}/views.png",
                                                        'expanded' => false,
                                                        'linkTarget' => 'detail'));
 
@@ -86,8 +86,8 @@
                        $seq_node = &new HTML_TreeNode(array(
                                                        'text' => addslashes($lang['strsequences']), 
                                                        'link' => addslashes(htmlspecialchars("sequences.php?{$querystr}")), 
-                                                       'icon' => "../../../images/themes/{$conf['theme']}/sequences.gif", 
-                                                       'expandedIcon' => "../../../images/themes/{$conf['theme']}/sequences.gif",
+                                                       'icon' => "../../../images/themes/{$conf['theme']}/sequences.png", 
+                                                       'expandedIcon' => "../../../images/themes/{$conf['theme']}/sequences.png",
                                                        'expanded' => false,
                                                        'linkTarget' => 'detail'));
 
@@ -99,8 +99,8 @@
                        $func_node = &new HTML_TreeNode(array(
                                                        'text' => addslashes($lang['strfunctions']), 
                                                        'link' => addslashes(htmlspecialchars("functions.php?{$querystr}")), 
-                                                       'icon' => "../../../images/themes/{$conf['theme']}/functions.gif", 
-                                                       'expandedIcon' => "../../../images/themes/{$conf['theme']}/functions.gif",
+                                                       'icon' => "../../../images/themes/{$conf['theme']}/functions.png", 
+                                                       'expandedIcon' => "../../../images/themes/{$conf['theme']}/functions.png",
                                                        'expanded' => false,
                                                        'linkTarget' => 'detail'));
 
                        $dom_node = &new HTML_TreeNode(array(
                                                        'text' => addslashes($lang['strdomains']), 
                                                        'link' => addslashes(htmlspecialchars("domains.php?{$querystr}")), 
-                                                       'icon' => "../../../images/themes/{$conf['theme']}/domains.gif", 
-                                                       'expandedIcon' => "../../../images/themes/{$conf['theme']}/domains.gif",
+                                                       'icon' => "../../../images/themes/{$conf['theme']}/domains.png", 
+                                                       'expandedIcon' => "../../../images/themes/{$conf['theme']}/domains.png",
                                                        'expanded' => false,
                                                        'linkTarget' => 'detail'));
 
                        $type_node = &new HTML_TreeNode(array(
                                                        'text' => addslashes($lang['strtypes']), 
                                                        'link' => addslashes(htmlspecialchars("types.php?{$querystr}")), 
-                                                       'icon' => "../../../images/themes/{$conf['theme']}/types.gif", 
-                                                       'expandedIcon' => "../../../images/themes/{$conf['theme']}/types.gif",
+                                                       'icon' => "../../../images/themes/{$conf['theme']}/types.png", 
+                                                       'expandedIcon' => "../../../images/themes/{$conf['theme']}/types.png",
                                                        'expanded' => false,
                                                        'linkTarget' => 'detail'));
 
                        $db_node = &new HTML_TreeNode(array(
                                                                'text' => addslashes($misc->printVal($databases->f[$data->dbFields['dbname']])), 
                                                                'link' => addslashes(htmlspecialchars('database.php?database=' . urlencode($databases->f[$data->dbFields['dbname']]))), 
-                                                               'icon' => "../../../images/themes/{$conf['theme']}/database.gif", 
-                                                               'expandedIcon' => "../../../images/themes/{$conf['theme']}/database.gif",
+                                                               'icon' => "../../../images/themes/{$conf['theme']}/database.png", 
+                                                               'expandedIcon' => "../../../images/themes/{$conf['theme']}/database.png",
                                                                'expanded' => true,
                                                                'linkTarget' => 'detail'));
                
                        $db_node = &new HTML_TreeNode(array(
                                                                'text' => addslashes($misc->printVal($databases->f[$data->dbFields['dbname']])), 
                                                                'link' => addslashes(htmlspecialchars("{$_SERVER['PHP_SELF']}?database=" . urlencode($databases->f[$data->dbFields['dbname']]))), 
-                                                               'icon' => "../../../images/themes/{$conf['theme']}/database.gif", 
-                                                               'expandedIcon' => "../../../images/themes/{$conf['theme']}/database.gif",
+                                                               'icon' => "../../../images/themes/{$conf['theme']}/database.png", 
+                                                               'expandedIcon' => "../../../images/themes/{$conf['theme']}/database.png",
                                                                'expanded' => false,
                                                                'linkTarget' => '_self'));
                
diff --git a/images/themes/default/database.gif b/images/themes/default/database.gif
deleted file mode 100644 (file)
index 4368236..0000000
Binary files a/images/themes/default/database.gif and /dev/null differ
diff --git a/images/themes/default/database.png b/images/themes/default/database.png
new file mode 100644 (file)
index 0000000..8b0cfed
Binary files /dev/null and b/images/themes/default/database.png differ
diff --git a/images/themes/default/domains.gif b/images/themes/default/domains.gif
deleted file mode 100644 (file)
index 5679b48..0000000
Binary files a/images/themes/default/domains.gif and /dev/null differ
diff --git a/images/themes/default/domains.png b/images/themes/default/domains.png
new file mode 100644 (file)
index 0000000..9912238
Binary files /dev/null and b/images/themes/default/domains.png differ
diff --git a/images/themes/default/functions.gif b/images/themes/default/functions.gif
deleted file mode 100644 (file)
index 7dee359..0000000
Binary files a/images/themes/default/functions.gif and /dev/null differ
diff --git a/images/themes/default/functions.png b/images/themes/default/functions.png
new file mode 100644 (file)
index 0000000..d7fe69b
Binary files /dev/null and b/images/themes/default/functions.png differ
diff --git a/images/themes/default/operators.gif b/images/themes/default/operators.gif
deleted file mode 100644 (file)
index a0ca317..0000000
Binary files a/images/themes/default/operators.gif and /dev/null differ
diff --git a/images/themes/default/operators.png b/images/themes/default/operators.png
new file mode 100644 (file)
index 0000000..6eeeed7
Binary files /dev/null and b/images/themes/default/operators.png differ
diff --git a/images/themes/default/sequences.gif b/images/themes/default/sequences.gif
deleted file mode 100644 (file)
index 1c6bd7a..0000000
Binary files a/images/themes/default/sequences.gif and /dev/null differ
diff --git a/images/themes/default/sequences.png b/images/themes/default/sequences.png
new file mode 100644 (file)
index 0000000..e25a927
Binary files /dev/null and b/images/themes/default/sequences.png differ
diff --git a/images/themes/default/tables.gif b/images/themes/default/tables.gif
deleted file mode 100644 (file)
index d11c016..0000000
Binary files a/images/themes/default/tables.gif and /dev/null differ
diff --git a/images/themes/default/tables.png b/images/themes/default/tables.png
new file mode 100644 (file)
index 0000000..1fe3d7a
Binary files /dev/null and b/images/themes/default/tables.png differ
diff --git a/images/themes/default/title.gif b/images/themes/default/title.gif
deleted file mode 100644 (file)
index 8db2d71..0000000
Binary files a/images/themes/default/title.gif and /dev/null differ
diff --git a/images/themes/default/title.png b/images/themes/default/title.png
new file mode 100644 (file)
index 0000000..2015f30
Binary files /dev/null and b/images/themes/default/title.png differ
diff --git a/images/themes/default/triggers.gif b/images/themes/default/triggers.gif
deleted file mode 100644 (file)
index a777d0a..0000000
Binary files a/images/themes/default/triggers.gif and /dev/null differ
diff --git a/images/themes/default/triggers.png b/images/themes/default/triggers.png
new file mode 100644 (file)
index 0000000..dce5279
Binary files /dev/null and b/images/themes/default/triggers.png differ
diff --git a/images/themes/default/types.gif b/images/themes/default/types.gif
deleted file mode 100644 (file)
index 5a78a81..0000000
Binary files a/images/themes/default/types.gif and /dev/null differ
diff --git a/images/themes/default/types.png b/images/themes/default/types.png
new file mode 100644 (file)
index 0000000..f13b8fa
Binary files /dev/null and b/images/themes/default/types.png differ
diff --git a/images/themes/default/views.gif b/images/themes/default/views.gif
deleted file mode 100644 (file)
index 1740b21..0000000
Binary files a/images/themes/default/views.gif and /dev/null differ
diff --git a/images/themes/default/views.png b/images/themes/default/views.png
new file mode 100644 (file)
index 0000000..17ff62f
Binary files /dev/null and b/images/themes/default/views.png differ
index 9e4da5850b9dfa679de869cce2dd7b73723bc927..bad49fe938998147489154107ccac88373c356d8 100755 (executable)
@@ -3,7 +3,7 @@
        /**
         * Top menu for phpPgAdmin
         *
-        * $Id: topbar.php,v 1.14 2003/07/31 08:39:03 chriskl Exp $
+        * $Id: topbar.php,v 1.15 2003/08/04 06:18:10 chriskl Exp $
         */
 
        // Include application functions
@@ -14,7 +14,7 @@
 ?>
 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="topbar">
        <tr>
-               <td width="211" rowspan="2"><img src="images/themes/<?php echo $conf['theme'] ?>/title.gif" width="211" height="50" alt="<?php echo htmlspecialchars($appName) ?>" /></td>
+               <td width="211" rowspan="2"><img src="images/themes/<?php echo $conf['theme'] ?>/title.png" width="211" height="50" alt="<?php echo htmlspecialchars($appName) ?>" /></td>
                <td class="topbar" width="5" rowspan="2">&nbsp;</td>
                <td class="topbar">
                <?php echo sprintf($lang['strtopbar'], htmlspecialchars($conf['description']),