mirror of
https://github.com/vrana/adminer.git
synced 2025-08-05 14:17:26 +02:00
Trigger script=db sooner
This commit is contained in:
@@ -124,6 +124,8 @@ if (adminer()->homepage()) {
|
||||
echo "\n";
|
||||
}
|
||||
|
||||
echo script("ajaxSetHtml('" . js_escape(ME) . "script=db');");
|
||||
|
||||
echo "<tr><td><th>" . lang('%d in total', count($tables_list));
|
||||
echo "<td>" . h(JUSH == "sql" ? get_val("SELECT @@default_storage_engine") : "");
|
||||
echo "<td>" . h(db_collation(DB, collations()));
|
||||
@@ -241,9 +243,5 @@ if (adminer()->homepage()) {
|
||||
}
|
||||
echo '<p class="links"><a href="' . h(ME) . 'event=">' . lang('Create event') . "</a>\n";
|
||||
}
|
||||
|
||||
if ($tables_list) {
|
||||
echo script("ajaxSetHtml('" . js_escape(ME) . "script=db');");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user