List of encodings taken from postgresql.php
authorslubek <slubek>
Sat, 25 Jan 2003 23:57:41 +0000 (23:57 +0000)
committerslubek <slubek>
Sat, 25 Jan 2003 23:57:41 +0000 (23:57 +0000)
all_db.php

index 65012b504465024be712b63cbc3f84431183b99b..a0e2992c1d4f19d49fd67a749a2092a47ec9e5cf 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage databases within a server
         *
-        * $Id: all_db.php,v 1.4 2003/01/23 00:44:34 slubek Exp $
+        * $Id: all_db.php,v 1.5 2003/01/25 23:57:41 slubek Exp $
         */
 
        // Include application functions
                echo "<tr><th class=data>{$strName}</th><th class=data>{$strEncoding}</th></tr>\n";
                echo "<tr><td class=data1><input name=formName size={$data->_maxNameLen} maxlength={$data->_maxNameLen} value=\"", 
                        htmlspecialchars($_POST['formName']), "\"></td>";
-               echo "<td class=data1><input name=formEncoding></td></tr>\n";
+               echo "<td class=data1>";
+               echo "<select name=formEncoding>";
+               while (list ($key) = each ($data->codemap)) {
+                   echo "<option>$key</option>\n";
+               }
+               echo "</select>\n";
+               echo "</td></tr>\n";
                echo "</table>\n";
                echo "<input type=hidden name=action value=save_create>\n";
                echo "<input type=submit value={$strSave}> <input type=reset value={$strReset}>\n";