diff --git a/libraries/header.inc.php b/libraries/header.inc.php index 807ec0af20..9e37e32033 100644 --- a/libraries/header.inc.php +++ b/libraries/header.inc.php @@ -151,6 +151,9 @@ if (isset($GLOBALS['is_ajax_request']) && !$GLOBALS['is_ajax_request']) { .'"' . htmlspecialchars($show_comment) .'"' . "\n"; } // end if + + // remember accessed table + PMA_addRecentTable($table, $db); } else { // no table selected, display database comment if present /** diff --git a/tbl_structure.php b/tbl_structure.php index 6286287a1f..73374d7a5e 100644 --- a/tbl_structure.php +++ b/tbl_structure.php @@ -934,7 +934,6 @@ if ($cfg['ShowStats']) { require './libraries/tbl_triggers.lib.php'; echo '
' . "\n"; -PMA_addRecentTable($table, $db); /** * Displays the footer diff --git a/themes/original/css/theme_left.css.php b/themes/original/css/theme_left.css.php index 50ffc3984e..f21bca27f0 100644 --- a/themes/original/css/theme_left.css.php +++ b/themes/original/css/theme_left.css.php @@ -83,6 +83,16 @@ div#pmalogo { background-color: ; padding:.3em; } + +div#recentTableList { + text-align: center; + margin-bottom: 0.5em; +} + +div#recentTableList select { + width: 100%; +} + div#pmalogo, div#leftframelinks, div#databaseList { diff --git a/themes/pmahomme/css/theme_left.css.php b/themes/pmahomme/css/theme_left.css.php index 467e70a255..e0a6393c5e 100644 --- a/themes/pmahomme/css/theme_left.css.php +++ b/themes/pmahomme/css/theme_left.css.php @@ -94,11 +94,21 @@ button { div#pmalogo { } + +div#recentTableList { + text-align: center; + margin: 20px 10px 0px 10px; +} + +div#recentTableList select { + width: 100%; +} + div#pmalogo, div#leftframelinks, div#databaseList { text-align: center; - margin: 20px 10px 0px 10px; + margin: 5px 10px 0px 10px; } ul#databaseList {