Recently used tables (works, but only in temporary session variable)

This commit is contained in:
Aris Feryanto 2011-05-02 10:09:05 +07:00
parent e4820139bf
commit 4b7e65e610
4 changed files with 24 additions and 2 deletions

View File

@ -151,6 +151,9 @@ if (isset($GLOBALS['is_ajax_request']) && !$GLOBALS['is_ajax_request']) {
.'"' . htmlspecialchars($show_comment)
.'&quot;</span>' . "\n";
} // end if
// remember accessed table
PMA_addRecentTable($table, $db);
} else {
// no table selected, display database comment if present
/**

View File

@ -934,7 +934,6 @@ if ($cfg['ShowStats']) {
require './libraries/tbl_triggers.lib.php';
echo '<div class="clearfloat"></div>' . "\n";
PMA_addRecentTable($table, $db);
/**
* Displays the footer

View File

@ -83,6 +83,16 @@ div#pmalogo {
background-color: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
padding:.3em;
}
div#recentTableList {
text-align: center;
margin-bottom: 0.5em;
}
div#recentTableList select {
width: 100%;
}
div#pmalogo,
div#leftframelinks,
div#databaseList {

View File

@ -94,11 +94,21 @@ button {
div#pmalogo {
<?php //better echo $GLOBALS['cfg']['logoBGC']; ?>
}
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 {