RFE #1714760 Obey ShowCreateDb on the Databases tab

This commit is contained in:
Marc Delisle
2007-06-04 17:03:26 +00:00
parent a554042b5e
commit 6f69889e52
2 changed files with 7 additions and 4 deletions

View File

@@ -377,10 +377,12 @@ unset($databases_count);
/**
* Create new database.
*/
echo '<ul><li id="li_create_database">' . "\n";
require './libraries/display_create_database.lib.php';
echo ' </li>' . "\n";
echo '</ul>' . "\n";
if ($cfg['ShowCreateDb']) {
echo '<ul><li id="li_create_database">' . "\n";
require './libraries/display_create_database.lib.php';
echo ' </li>' . "\n";
echo '</ul>' . "\n";
}
/**
* Sends the footer