]> git.joonet.de Git - adminer.git/commitdiff
Separate echo
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Wed, 3 Jun 2009 09:17:20 +0000 (09:17 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Wed, 3 Jun 2009 09:17:20 +0000 (09:17 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@644 7c3ca157-0c34-0410-bff1-cbf682f78f5c

create.inc.php
dump.inc.php
index.php

index 11cff693a78aefc85a33c7527ddd5ad7158a6b50..82f933d42627d989e6e6c48487caa75a91441753 100644 (file)
@@ -150,7 +150,10 @@ if ($dbh->server_info >= 5.1) {
 <thead><tr><th><?php echo lang('Partition name'); ?></th><th><?php echo lang('Values'); ?></th></tr></thead>
 <?php
 foreach ($row["partition_names"] as $key => $val) {
-       echo '<tr><td><input name="partition_names[]" value="' . htmlspecialchars($val) . '"' . ($key == count($row["partition_names"]) - 1 ? ' onchange="partition_name_change(this);"' : '') . ' /></td><td><input name="partition_values[]" value="' . htmlspecialchars($row["partition_values"][$key]) . "\" /></td></tr>\n";
+       echo '<tr>';
+       echo '<td><input name="partition_names[]" value="' . htmlspecialchars($val) . '"' . ($key == count($row["partition_names"]) - 1 ? ' onchange="partition_name_change(this);"' : '') . ' /></td>';
+       echo '<td><input name="partition_values[]" value="' . htmlspecialchars($row["partition_values"][$key]) . '" /></td>';
+       echo "</tr>\n";
 }
 ?>
 </table>
index 88d3c204e6c7d1da9b31d7e886fd6dc35c5cb227..7512aeb068441c439ec6e05d6a3ef2ddd7295b1e 100644 (file)
@@ -154,7 +154,8 @@ echo "<tr><th>" . lang('Data') . "</th><td><select name='data_style'><option></o
 
 <?php
 if (!strlen($_GET["db"])) {
-       echo "<table cellspacing='0'>\n<thead><tr><th align='left'><label><input type='checkbox' id='check-databases' checked='checked' onclick='form_check(this, /^databases\\[/);' />" . lang('Database') . "</label></th></tr></thead>\n";
+       echo "<table cellspacing='0'>\n";
+       echo "<thead><tr><th align='left'><label><input type='checkbox' id='check-databases' checked='checked' onclick='form_check(this, /^databases\\[/);' />" . lang('Database') . "</label></th></tr></thead>\n";
        foreach (get_databases() as $db) {
                if ($db != "information_schema" || $dbh->server_info < 5) {
                        echo '<tr><td><label><input type="checkbox" name="databases[]" value="' . htmlspecialchars($db) . '" checked="checked" onclick="form_uncheck(\'check-databases\');" />' . htmlspecialchars($db) . "</label></td></tr>\n";
@@ -165,7 +166,8 @@ if (!strlen($_GET["db"])) {
 
 if (strlen($_GET["db"])) {
        $checked = (strlen($_GET["dump"]) ? "" : " checked='checked'");
-       echo "<table cellspacing='0'>\n<thead><tr>";
+       echo "<table cellspacing='0'>\n";
+       echo "<thead><tr>";
        echo "<th align='left'><label><input type='checkbox' id='check-tables'$checked onclick='form_check(this, /^tables\\[/);' />" . lang('Tables') . "</label></th>";
        echo "<th align='right'><label>" . lang('Data') . "<input type='checkbox' id='check-data'$checked onclick='form_check(this, /^data\\[/);' /></label></th>";
        echo "</tr></thead>\n";
index 8fdd2fff5d43bdaae4c8e90a95c9a4781dd57212..84696fd94b79f3d86f9e17efe6f66593c7f93465 100644 (file)
--- a/index.php
+++ b/index.php
@@ -50,9 +50,9 @@ include "./include/version.inc.php";
 include "./include/functions.inc.php";
 include "./include/lang.inc.php";
 include "./lang/$LANG.inc.php";
+include "./include/design.inc.php";
 include "./include/pdo.inc.php";
 include "./include/mysql.inc.php";
-include "./include/design.inc.php";
 include "./include/auth.inc.php";
 include "./include/connect.inc.php";
 include "./include/editing.inc.php";