Possibility to hide creating of database from main (RFE #1370100).
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2006-04-28 Michal Čihař <michal@cihar.com>
|
||||
* Documentation.html, main.php, libraries/config.default.php: Possibility
|
||||
to hide creating of database from main (RFE #1370100).
|
||||
|
||||
2006-04-27 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||
* db_printview.php: fixed bug 'no tables found', refactored
|
||||
* tbl_change.php, tbl_indexes.php: removed table formating, done in css
|
||||
|
@@ -1146,12 +1146,13 @@ ALTER TABLE `pma_column_comments`
|
||||
date, MySQL doesn't return such information for Berkeley DB tables.</dd>
|
||||
|
||||
<dt><span id="cfg_ShowPhpInfo">$cfg[ShowPhpInfo] </span>boolean<br />
|
||||
<span id="cfg_ShowChgPassword">$cfg[ShowChgPassword] </span>boolean
|
||||
<span id="cfg_ShowChgPassword">$cfg[ShowChgPassword] </span>boolean<br />
|
||||
<span id="cfg_ShowChgPassword">$cfg[ShowCreateDb] </span>boolean
|
||||
</dt>
|
||||
<dd>Defines whether to display the "PHP information" and
|
||||
"Change password " links or not for simple users at the
|
||||
starting main (right) frame. This setting does not check MySQL
|
||||
commands entered directly.<br /><br />
|
||||
"Change password " links and form for creating database or
|
||||
not for simple users at the starting main (right) frame. This setting
|
||||
does not check MySQL commands entered directly.<br /><br />
|
||||
|
||||
Please note that to block the usage of phpinfo() in scripts, you
|
||||
have to put this in your <i>php.ini</i>:
|
||||
|
@@ -170,8 +170,9 @@ $cfg['DisplayServersList'] = FALSE; // server choice as links
|
||||
$cfg['ShowStats'] = TRUE; // allow to display statistics and space usage in
|
||||
// the pages about database details and table
|
||||
// properties
|
||||
$cfg['ShowPhpInfo'] = FALSE; // information" and "change password" links for
|
||||
$cfg['ShowChgPassword'] = FALSE; // simple users or not
|
||||
$cfg['ShowPhpInfo'] = FALSE; // show php info link
|
||||
$cfg['ShowChgPassword'] = FALSE; // show change password link
|
||||
$cfg['ShowCreateDb'] = TRUE; // show create database form
|
||||
$cfg['SuggestDBName'] = TRUE; // suggest a new DB name if possible (false = keep empty)
|
||||
|
||||
// In browse mode...
|
||||
|
2
main.php
2
main.php
@@ -145,9 +145,11 @@ if ( $server > 0 ) {
|
||||
. ' </li>' . "\n";
|
||||
}
|
||||
|
||||
if ($cfg['ShowCreateDb']) {
|
||||
echo '<li id="li_create_database">';
|
||||
require('./libraries/display_create_database.lib.php');
|
||||
echo '</li>' . "\n";
|
||||
}
|
||||
|
||||
PMA_printListItem( $strMySQLShowStatus, 'li_mysql_status',
|
||||
'./server_status.php?' . $common_url_query );
|
||||
|
Reference in New Issue
Block a user