Recently used tables (works, but only in temporary session variable)
This commit is contained in:
parent
e4820139bf
commit
4b7e65e610
@ -151,6 +151,9 @@ if (isset($GLOBALS['is_ajax_request']) && !$GLOBALS['is_ajax_request']) {
|
||||
.'"' . htmlspecialchars($show_comment)
|
||||
.'"</span>' . "\n";
|
||||
} // end if
|
||||
|
||||
// remember accessed table
|
||||
PMA_addRecentTable($table, $db);
|
||||
} else {
|
||||
// no table selected, display database comment if present
|
||||
/**
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user