Link Create table from tables overview (thanks to Stepan Kocourek)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1350 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
1ff155a046
commit
46c520f042
|
@ -92,8 +92,9 @@ if (!$table_status) {
|
||||||
echo "</form>\n";
|
echo "</form>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo '<p><a href="' . h(ME) . 'create=">' . lang('Create table') . "</a>\n";
|
||||||
if ($connection->server_info >= 5) {
|
if ($connection->server_info >= 5) {
|
||||||
echo '<p><a href="' . h(ME) . 'view=">' . lang('Create view') . "</a>\n";
|
echo ' <a href="' . h(ME) . 'view=">' . lang('Create view') . "</a>\n";
|
||||||
echo "<h3>" . lang('Routines') . "</h3>\n";
|
echo "<h3>" . lang('Routines') . "</h3>\n";
|
||||||
$result = $connection->query("SELECT * FROM information_schema.ROUTINES WHERE ROUTINE_SCHEMA = " . $connection->quote(DB));
|
$result = $connection->query("SELECT * FROM information_schema.ROUTINES WHERE ROUTINE_SCHEMA = " . $connection->quote(DB));
|
||||||
if ($result->num_rows) {
|
if ($result->num_rows) {
|
||||||
|
|
Loading…
Reference in a new issue