From 8ad4809bc01799401f31fd867e56d7ccf073acdc Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 22 Nov 2010 16:08:36 +0100 Subject: [PATCH] Use class="active" instead of --- adminer/include/adminer.inc.php | 12 ++++++------ adminer/include/functions.inc.php | 7 +++---- adminer/static/default.css | 1 + editor/include/adminer.inc.php | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index 420d2faf..ce8ec73a 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -103,7 +103,7 @@ document.getElementById('username').focus(); $links["edit"] = lang('New item'); } foreach ($links as $key => $val) { - echo " " . bold($val, isset($_GET[$key])) . ""; + echo " $val"; } echo "\n"; } @@ -717,9 +717,9 @@ DROP PROCEDURE adminer_alter;

" . bold(lang('SQL command'), isset($_GET["sql"])) . "\n"; + echo "" . lang('SQL command') . "\n"; if (support("dump")) { - echo "" . bold(lang('Dump'), isset($_GET["dump"])) . "\n"; + echo "" . lang('Dump') . "\n"; } } ?> @@ -741,7 +741,7 @@ DROP PROCEDURE adminer_alter; } } if ($_GET["ns"] !== "" && !$missing) { - echo '

' . bold(lang('Create new table'), $_GET["create"] === "") . "\n"; + echo '

" . lang('Create new table') . "\n"; $tables = tables_list(); if (!$tables) { echo "

" . lang('No tables.') . "\n"; @@ -775,8 +775,8 @@ DROP PROCEDURE adminer_alter; function tablesPrint($tables) { echo "

\n"; foreach ($tables as $table => $type) { - 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 + echo '" . lang('select') . " "; + echo '" . $this->tableName(array("Name" => $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 6cb0a41d..fff0a69f 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -807,11 +807,10 @@ function print_fieldset($id, $legend, $visible = false) { echo "

$legend