1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 18:14:07 +02:00

Highlight current table in menu when editing Check

This commit is contained in:
Jakub Vrana
2025-04-06 07:04:49 +02:00
parent b36bd12291
commit 0aff6e06a6
2 changed files with 3 additions and 2 deletions

View File

@@ -42,9 +42,10 @@ class AdminerMenuLinks extends Adminer\Plugin {
. " title='$titles[select]'>" . Adminer\lang('select') . "</a> "
;
}
$actives = array($_GET["table"], $_GET["create"], $_GET["indexes"], $_GET["foreign"], $_GET["trigger"]);
$actives = array($_GET["table"], $_GET["create"], $_GET["indexes"], $_GET["foreign"], $_GET["trigger"], $_GET["check"], $_GET["view"]);
if ($menu) {
$actives[] = $_GET["select"];
$actives[] = $_GET["edit"];
}
$link =
($menu == 'select' ? 'select' :