Link to refresh database cache (bug #3102451)
This commit is contained in:
parent
81f58ed909
commit
cec86f5f9d
|
@ -23,6 +23,9 @@ function connect_error() {
|
||||||
}
|
}
|
||||||
echo "<p>" . lang('%s version: %s through PHP extension %s', $drivers[DRIVER], "<b>$connection->server_info</b>", "<b>$connection->extension</b>") . "\n";
|
echo "<p>" . lang('%s version: %s through PHP extension %s', $drivers[DRIVER], "<b>$connection->server_info</b>", "<b>$connection->extension</b>") . "\n";
|
||||||
echo "<p>" . lang('Logged as: %s', "<b>" . h(logged_user()) . "</b>") . "\n";
|
echo "<p>" . lang('Logged as: %s', "<b>" . h(logged_user()) . "</b>") . "\n";
|
||||||
|
if ($_GET["refresh"]) {
|
||||||
|
set_session("dbs", null);
|
||||||
|
}
|
||||||
$databases = get_databases();
|
$databases = get_databases();
|
||||||
if ($databases) {
|
if ($databases) {
|
||||||
$scheme = support("scheme");
|
$scheme = support("scheme");
|
||||||
|
@ -40,6 +43,7 @@ function connect_error() {
|
||||||
}
|
}
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
echo "<p><input type='submit' name='drop' value='" . lang('Drop') . "'" . confirm("formChecked(this, /db/)") . ">\n";
|
echo "<p><input type='submit' name='drop' value='" . lang('Drop') . "'" . confirm("formChecked(this, /db/)") . ">\n";
|
||||||
|
echo "<a href='" . h(ME) . "refresh=1'>" . lang('Refresh') . "</a>\n";
|
||||||
echo "</form>\n";
|
echo "</form>\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,7 @@ $translations = array(
|
||||||
'Session support must be enabled.' => 'Session proměnné musí být povolené.',
|
'Session support must be enabled.' => 'Session proměnné musí být povolené.',
|
||||||
'Session expired, please login again.' => 'Session vypršela, přihlašte se prosím znovu.',
|
'Session expired, please login again.' => 'Session vypršela, přihlašte se prosím znovu.',
|
||||||
'%s version: %s through PHP extension %s' => 'Verze %s: %s přes PHP extenzi %s',
|
'%s version: %s through PHP extension %s' => 'Verze %s: %s přes PHP extenzi %s',
|
||||||
|
'Refresh' => 'Obnovit',
|
||||||
|
|
||||||
'Privileges' => 'Oprávnění',
|
'Privileges' => 'Oprávnění',
|
||||||
'Create user' => 'Vytvořit uživatele',
|
'Create user' => 'Vytvořit uživatele',
|
||||||
|
|
|
@ -8,6 +8,7 @@ Highlight and edit SQL command in processlist
|
||||||
Recognize $$ strings in SQL command (PostgreSQL)
|
Recognize $$ strings in SQL command (PostgreSQL)
|
||||||
Always display all drivers
|
Always display all drivers
|
||||||
Timestamp at the end of export
|
Timestamp at the end of export
|
||||||
|
Link to refresh database cache (bug #3102451)
|
||||||
Disable XSS "protection" of IE8
|
Disable XSS "protection" of IE8
|
||||||
Immunity against zend.ze1_compatibility_mode
|
Immunity against zend.ze1_compatibility_mode
|
||||||
Fix last page with empty result set
|
Fix last page with empty result set
|
||||||
|
|
Loading…
Reference in a new issue