Better display of export options. XHTML compliance.
authorsoranzo <soranzo>
Mon, 23 Apr 2007 13:53:39 +0000 (13:53 +0000)
committersoranzo <soranzo>
Mon, 23 Apr 2007 13:53:39 +0000 (13:53 +0000)
all_db.php

index fe4cdfe263ca2a4ff9c6b0560bc060f99b207c47..a2199a527e475df71cb8d78aeb1b66df7a278c8b 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage databases within a server
         *
-        * $Id: all_db.php,v 1.49 2007/04/21 04:13:26 xzilla Exp $
+        * $Id: all_db.php,v 1.50 2007/04/23 13:53:39 soranzo Exp $
         */
 
        // Include application functions
 
                echo "<form action=\"dbexport.php\" method=\"post\">\n";
                echo "<table>\n";
-               echo "<tr><th class=\"data\">{$lang['strformat']}</th><th class=\"data\" colspan=\"2\">{$lang['stroptions']}</th></tr>\n";
+               echo "<tr><th class=\"data\">{$lang['strformat']}</th><th class=\"data\">{$lang['stroptions']}</th></tr>\n";
                // Data only
                echo "<tr><th class=\"data left\" rowspan=\"2\">";
                echo "<input type=\"radio\" id=\"what1\" name=\"what\" value=\"dataonly\" checked=\"checked\" /><label for=\"what1\">{$lang['strdataonly']}</label></th>\n";
-               echo "<td>{$lang['strformat']}</td>\n";
-               echo "<td><select name=\"d_format\">\n";
+               echo "<td>{$lang['strformat']}\n";
+               echo "<select name=\"d_format\">\n";
                echo "<option value=\"copy\">COPY</option>\n";
                echo "<option value=\"sql\">SQL</option>\n";
                echo "</select>\n</td>\n</tr>\n";
-               echo "<td><label for=\"d_oids\">{$lang['stroids']}</label></td><td><input type=\"checkbox\" id=\"d_oids\" name=\"d_oids\" /></td>\n</tr>\n";
+               echo "<tr><td><input type=\"checkbox\" id=\"d_oids\" name=\"d_oids\" /><label for=\"d_oids\">{$lang['stroids']}</label></td>\n</tr>\n";
                // Structure only
                echo "<tr><th class=\"data left\"><input type=\"radio\" id=\"what2\" name=\"what\" value=\"structureonly\" /><label for=\"what2\">{$lang['strstructureonly']}</label></th>\n";
-               echo "<td><label for=\"s_clean\">{$lang['strdrop']}</label></td><td><input type=\"checkbox\" id=\"s_clean\" name=\"s_clean\" /></td>\n</tr>\n";
+               echo "<td><input type=\"checkbox\" id=\"s_clean\" name=\"s_clean\" /><label for=\"s_clean\">{$lang['strdrop']}</label></td>\n</tr>\n";
                // Structure and data
                echo "<tr><th class=\"data left\" rowspan=\"3\">";
                echo "<input type=\"radio\" id=\"what3\" name=\"what\" value=\"structureanddata\" /><label for=\"what3\">{$lang['strstructureanddata']}</label></th>\n";
-               echo "<td>{$lang['strformat']}</td>\n";
-               echo "<td><select name=\"sd_format\">\n";
+               echo "<td>{$lang['strformat']}\n";
+               echo "<select name=\"sd_format\">\n";
                echo "<option value=\"copy\">COPY</option>\n";
                echo "<option value=\"sql\">SQL</option>\n";
                echo "</select>\n</td>\n</tr>\n";
-               echo "<td><label for=\"sd_clean\">{$lang['strdrop']}</label></td><td><input type=\"checkbox\" id=\"sd_clean\" name=\"sd_clean\" /></td>\n</tr>\n";
-               echo "<td><label for=\"sd_oids\">{$lang['stroids']}</label></td><td><input type=\"checkbox\" id=\"sd_oids\" name=\"sd_oids\" /></td>\n</tr>\n";
+               echo "<tr><td><input type=\"checkbox\" id=\"sd_clean\" name=\"sd_clean\" /><label for=\"sd_clean\">{$lang['strdrop']}</label></td>\n</tr>\n";
+               echo "<tr><td><input type=\"checkbox\" id=\"sd_oids\" name=\"sd_oids\" /><label for=\"sd_oids\">{$lang['stroids']}</label></td>\n</tr>\n";
                echo "</table>\n";
                
                echo "<h3>{$lang['stroptions']}</h3>\n";
                echo "<br/><input type=\"radio\" id=\"output2\" name=\"output\" value=\"download\" /><label for=\"output2\">{$lang['strdownload']}</label></p>\n";
 
                echo "<p><input type=\"hidden\" name=\"action\" value=\"export\" />\n";
-               echo "<p><input type=\"hidden\" name=\"subject\" value=\"server\" />\n";                
+               echo "<input type=\"hidden\" name=\"subject\" value=\"server\" />\n";
                echo $misc->form;
                echo "<input type=\"submit\" value=\"{$lang['strexport']}\" /></p>\n";
                echo "</form>\n";