RFE #758051 (simpler PHPcode generation)
This commit is contained in:
@@ -8,6 +8,7 @@ $Source$
|
|||||||
2003-07-24 Garvin Hicking <me@supergarv.de>
|
2003-07-24 Garvin Hicking <me@supergarv.de>
|
||||||
* libraries/sqlparser.lib.php3 - Confirmation is also needed on
|
* libraries/sqlparser.lib.php3 - Confirmation is also needed on
|
||||||
TRUNCATE statements!
|
TRUNCATE statements!
|
||||||
|
* libraries/common.lib.php3 - RFE #758051 (simpler PHPcode generation)
|
||||||
|
|
||||||
2003-07-24 Marc Delisle <lem9@users.sourceforge.net>
|
2003-07-24 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* libraries/sqlparser.lib.php3 /relation.lib.php3 /get_foreign.lib.php3:
|
* libraries/sqlparser.lib.php3 /relation.lib.php3 /get_foreign.lib.php3:
|
||||||
|
@@ -36,7 +36,7 @@ if (!isset($old_error_reporting)) {
|
|||||||
* If the auto-detection code does work properly, you can set to TRUE the
|
* If the auto-detection code does work properly, you can set to TRUE the
|
||||||
* $cfg['PmaAbsoluteUri_DisableWarning'] variable below.
|
* $cfg['PmaAbsoluteUri_DisableWarning'] variable below.
|
||||||
*/
|
*/
|
||||||
$cfg['PmaAbsoluteUri'] = '';
|
$cfg['PmaAbsoluteUri'] = 'http://www.garvinhicking.de/cvs/phpMyAdmin/';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -76,9 +76,12 @@ $cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settin
|
|||||||
// (this user must have read-only
|
// (this user must have read-only
|
||||||
$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
|
$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
|
||||||
// and "mysql/db" tables)
|
// and "mysql/db" tables)
|
||||||
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
|
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
|
||||||
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
|
$cfg['Servers'][$i]['blowfish_secret'] = 'hammer'; // Secret key used by
|
||||||
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
|
// blowfish encryption
|
||||||
|
// (if auth_type='cookie')
|
||||||
|
$cfg['Servers'][$i]['user'] = 'superdbl'; // MySQL user
|
||||||
|
$cfg['Servers'][$i]['password'] = 'geheim00'; // MySQL password (only needed
|
||||||
// with 'config' auth_type)
|
// with 'config' auth_type)
|
||||||
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only
|
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only
|
||||||
// this db is displayed
|
// this db is displayed
|
||||||
@@ -228,7 +231,7 @@ $cfg['SuggestDBName'] = TRUE; // suggest a new DB name if possible (fa
|
|||||||
// In browse mode...
|
// In browse mode...
|
||||||
$cfg['ShowBlob'] = FALSE; // display blob field contents
|
$cfg['ShowBlob'] = FALSE; // display blob field contents
|
||||||
$cfg['NavigationBarIconic'] = TRUE; // do not display text inside navigation bar buttons
|
$cfg['NavigationBarIconic'] = TRUE; // do not display text inside navigation bar buttons
|
||||||
$cfg['ShowAll'] = FALSE; // allows to display all the rows
|
$cfg['ShowAll'] = TRUE; // allows to display all the rows
|
||||||
$cfg['MaxRows'] = 30; // maximum number of rows to display
|
$cfg['MaxRows'] = 30; // maximum number of rows to display
|
||||||
$cfg['Order'] = 'ASC'; // default for 'ORDER BY' clause (valid
|
$cfg['Order'] = 'ASC'; // default for 'ORDER BY' clause (valid
|
||||||
// values are 'ASC', 'DESC' or 'SMART' -ie
|
// values are 'ASC', 'DESC' or 'SMART' -ie
|
||||||
|
@@ -1333,7 +1333,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
|
|||||||
/* SQL-Parser-Analyzer */
|
/* SQL-Parser-Analyzer */
|
||||||
$sqlnr = 1;
|
$sqlnr = 1;
|
||||||
if (!empty($GLOBALS['show_as_php'])) {
|
if (!empty($GLOBALS['show_as_php'])) {
|
||||||
$new_line = '\';<br />' . "\n" . ' $sql .= \'';
|
$new_line = '\'<br />' . "\n" . ' . \'';
|
||||||
}
|
}
|
||||||
if (isset($new_line)) {
|
if (isset($new_line)) {
|
||||||
/* SQL-Parser-Analyzer */
|
/* SQL-Parser-Analyzer */
|
||||||
|
Reference in New Issue
Block a user