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:
@@ -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' :
|
||||
|
Reference in New Issue
Block a user