mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
AdminerTableIndexesStructure: Print algorithm
This commit is contained in:
@@ -10,9 +10,9 @@ class AdminerTableIndexesStructure extends Adminer\Plugin {
|
|||||||
|
|
||||||
function tableIndexesPrint($indexes, $tableStatus): bool {
|
function tableIndexesPrint($indexes, $tableStatus): bool {
|
||||||
echo "<table>\n";
|
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) {
|
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
|
ksort($index["columns"]); // enforce correct columns order
|
||||||
$print = array();
|
$print = array();
|
||||||
foreach ($index["columns"] as $key => $val) {
|
foreach ($index["columns"] as $key => $val) {
|
||||||
|
Reference in New Issue
Block a user