mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 14:46:36 +02:00
AdminerTableIndexesStructure: Print algorithm
This commit is contained in:
@@ -10,9 +10,9 @@ class AdminerTableIndexesStructure extends Adminer\Plugin {
|
||||
|
||||
function tableIndexesPrint($indexes, $tableStatus): bool {
|
||||
echo "<table>\n";
|
||||
echo "<thead><tr><th>" . Adminer\lang('Name') . "<th>" . Adminer\lang('Type') . "<th>" . Adminer\lang('Columns') . "</thead>\n";
|
||||
echo "<thead><tr><th>" . Adminer\lang('Name') . "<th>" . Adminer\lang('Type') . "<th>" . Adminer\lang('Algorithm') . "<th>" . Adminer\lang('Columns') . "</thead>\n";
|
||||
foreach ($indexes as $name => $index) {
|
||||
echo "<tr><th>" . Adminer\h($name) . "<td>" . $index['type'];
|
||||
echo "<tr><th>" . Adminer\h($name) . "<td>$index[type]<td>$index[algorithm]";
|
||||
ksort($index["columns"]); // enforce correct columns order
|
||||
$print = array();
|
||||
foreach ($index["columns"] as $key => $val) {
|
||||
|
Reference in New Issue
Block a user