diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index 9e0ac3f5..8ad1c3ec 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -83,7 +83,7 @@ class Adminer { $links["edit"] = lang('New item'); } foreach ($links as $key => $val) { - echo " " . (isset($_GET[$key]) ? "$val" : $val) . ""; + echo " " . bold($val, isset($_GET[$key])) . ""; } echo "\n"; } @@ -480,8 +480,8 @@ class Adminer { ?>

- -"> + +"> ">

@@ -505,7 +505,7 @@ class Adminer { } else { $this->tablesPrint($tables); } - echo '

' . lang('Create new table') . "\n"; + echo '

' . bold(lang('Create new table'), $_GET["create"] === "") . "\n"; } } } @@ -517,8 +517,8 @@ class Adminer { function tablesPrint($tables) { echo "

\n"; foreach ($tables as $table) { - echo '' . lang('select') . ' '; - echo '' . $this->tableName(array("Name" => $table)) . "
\n"; //! Adminer::tableName may work with full table status + echo '' . bold(lang('select'), $_GET["select"] == $table) . ' '; + echo '' . bold($this->tableName(array("Name" => $table)), $_GET["table"] == $table) . "
\n"; //! Adminer::tableName may work with full table status } } diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index c9b5a1b7..801cdeb3 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -526,3 +526,12 @@ function is_url($string) { function print_fieldset($id, $legend, $visible = false) { echo "

$legend