* config.inc.php3, main.php3, docs: added cfg['SuggestDBName'] flag
This commit is contained in:
@@ -14,6 +14,7 @@ $Source$
|
|||||||
* db_details_links.php3, index.php3, left.php3, tbl_properties_links.php3:
|
* db_details_links.php3, index.php3, left.php3, tbl_properties_links.php3:
|
||||||
moved 'Structure' to the front and use it as default value.
|
moved 'Structure' to the front and use it as default value.
|
||||||
TODO: make that customizable.
|
TODO: make that customizable.
|
||||||
|
* config.inc.php3, main.php3, docs: added cfg['SuggestDBName'] flag
|
||||||
|
|
||||||
2002-06-22 Robin Johnson <robbat2@users.sourceforge.net>
|
2002-06-22 Robin Johnson <robbat2@users.sourceforge.net>
|
||||||
* sql.php3:
|
* sql.php3:
|
||||||
|
@@ -964,6 +964,13 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
|
|||||||
<br /><br />
|
<br /><br />
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
|
<dt><b>$cfg['SuggestDBName']</b> boolean</dt>
|
||||||
|
<dd>
|
||||||
|
Defines whether to suggest a database name on the "Create Database"
|
||||||
|
form or to keep the textfield empty.
|
||||||
|
<br /><br />
|
||||||
|
</dd>
|
||||||
|
|
||||||
<dt><b>$cfg['LoginCookieRecall'] </b>boolean</dt>
|
<dt><b>$cfg['LoginCookieRecall'] </b>boolean</dt>
|
||||||
<dd>
|
<dd>
|
||||||
Define whether the previous login should be recalled or not in cookie
|
Define whether the previous login should be recalled or not in cookie
|
||||||
|
@@ -157,6 +157,7 @@ $cfg['ShowMysqlInfo'] = FALSE; // whether to display the "MySQL runtime
|
|||||||
$cfg['ShowMysqlVars'] = FALSE; // information", "MySQL system variables", "PHP
|
$cfg['ShowMysqlVars'] = FALSE; // information", "MySQL system variables", "PHP
|
||||||
$cfg['ShowPhpInfo'] = FALSE; // information" and "change password" links for
|
$cfg['ShowPhpInfo'] = FALSE; // information" and "change password" links for
|
||||||
$cfg['ShowChgPassword'] = FALSE; // simple users or not
|
$cfg['ShowChgPassword'] = FALSE; // simple users or not
|
||||||
|
$cfg['SuggestDBName'] = TRUE; // suggest a new DB name if possible (false = keep empty)
|
||||||
|
|
||||||
// In browse mode...
|
// In browse mode...
|
||||||
$cfg['ShowBlob'] = FALSE; // display blob field contents
|
$cfg['ShowBlob'] = FALSE; // display blob field contents
|
||||||
|
@@ -247,6 +247,10 @@ if ($server > 0) {
|
|||||||
$db_to_create = '';
|
$db_to_create = '';
|
||||||
} // end else
|
} // end else
|
||||||
|
|
||||||
|
if (!$cfg['SuggestDBName']) {
|
||||||
|
$db_to_create = '';
|
||||||
|
}
|
||||||
|
|
||||||
$common_url_query = 'lang=' . $lang . '&server=' . $server . '&convcharset=' . $convcharset;
|
$common_url_query = 'lang=' . $lang . '&server=' . $server . '&convcharset=' . $convcharset;
|
||||||
|
|
||||||
if ($is_superuser) {
|
if ($is_superuser) {
|
||||||
|
Reference in New Issue
Block a user