Show box for creating database here (RFE #869814).
This commit is contained in:
@@ -391,6 +391,26 @@ if (count($statistics) > 0) {
|
||||
echo $strNoDatabases . "\n";
|
||||
}
|
||||
|
||||
/**
|
||||
* Create new database.
|
||||
*/
|
||||
?>
|
||||
|
||||
<form method="post" action="db_create.php"><b>
|
||||
<?php echo $strCreateNewDatabase . ' ' . PMA_showMySQLDocu('Reference', 'CREATE_DATABASE'); ?></b><br />
|
||||
<?php echo PMA_generate_common_hidden_inputs('', '', 5); ?>
|
||||
<input type="hidden" name="reload" value="1" />
|
||||
<input type="text" name="db" value="" maxlength="64" class="textfield" />
|
||||
<?php
|
||||
if (PMA_MYSQL_INT_VERSION >= 40101) {
|
||||
require_once('./libraries/mysql_charsets.lib.php');
|
||||
echo PMA_generateCharsetDropdownBox(PMA_CSDROPDOWN_COLLATION, 'db_collation', NULL, NULL, TRUE, 5);
|
||||
}
|
||||
?>
|
||||
<input type="submit" value="<?php echo $strCreate; ?>" id="buttonGo" />
|
||||
</form>
|
||||
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Sends the footer
|
||||
|
Reference in New Issue
Block a user