mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 17:44:07 +02:00
Move <td> from Adminer::backwardKeysPrint
This commit is contained in:
@@ -358,6 +358,9 @@ if (!$columns) {
|
||||
);
|
||||
}
|
||||
}
|
||||
if ($backward_keys) {
|
||||
echo "<td>";
|
||||
}
|
||||
$adminer->backwardKeysPrint($backward_keys, $rows[$n]);
|
||||
echo "</tr>\n"; // close to allow white-space: pre
|
||||
}
|
||||
|
@@ -93,8 +93,6 @@ ORDER BY ORDINAL_POSITION", null, "") as $row) { //! requires MySQL 5
|
||||
}
|
||||
|
||||
function backwardKeysPrint($backwardKeys, $row) {
|
||||
if ($backwardKeys) {
|
||||
echo "<td>";
|
||||
foreach ($backwardKeys as $table => $backwardKey) {
|
||||
foreach ($backwardKey["keys"] as $cols) {
|
||||
$link = ME . 'select=' . urlencode($table);
|
||||
@@ -111,7 +109,6 @@ ORDER BY ORDINAL_POSITION", null, "") as $row) { //! requires MySQL 5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function selectQuery($query) {
|
||||
return "<!--\n" . str_replace("--", "--><!-- ", $query) . "\n-->\n";
|
||||
|
Reference in New Issue
Block a user