mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 01:54:00 +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]);
|
$adminer->backwardKeysPrint($backward_keys, $rows[$n]);
|
||||||
echo "</tr>\n"; // close to allow white-space: pre
|
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) {
|
function backwardKeysPrint($backwardKeys, $row) {
|
||||||
if ($backwardKeys) {
|
|
||||||
echo "<td>";
|
|
||||||
foreach ($backwardKeys as $table => $backwardKey) {
|
foreach ($backwardKeys as $table => $backwardKey) {
|
||||||
foreach ($backwardKey["keys"] as $cols) {
|
foreach ($backwardKey["keys"] as $cols) {
|
||||||
$link = ME . 'select=' . urlencode($table);
|
$link = ME . 'select=' . urlencode($table);
|
||||||
@@ -111,7 +109,6 @@ ORDER BY ORDINAL_POSITION", null, "") as $row) { //! requires MySQL 5
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
function selectQuery($query) {
|
function selectQuery($query) {
|
||||||
return "<!--\n" . str_replace("--", "--><!-- ", $query) . "\n-->\n";
|
return "<!--\n" . str_replace("--", "--><!-- ", $query) . "\n-->\n";
|
||||||
|
Reference in New Issue
Block a user