no priv messages for db creation
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2002-11-05 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* main.php3: when the user does not have required privs to create
|
||||
a db, inform him of the situation
|
||||
|
||||
2002-11-04 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/display_tbl.lib.php3, sort order problem
|
||||
SELECT tablename.columnname ... order by tablename.columnname
|
||||
|
14
main.php3
14
main.php3
@@ -308,7 +308,19 @@ if ($server > 0) {
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
} // end create db form
|
||||
} else {
|
||||
echo "\n";
|
||||
?>
|
||||
<!-- db creation no privileges message -->
|
||||
<tr>
|
||||
<td valign="baseline"><img src="<?php echo $item_img; ?>" width="7" height="7" alt="item" /></td>
|
||||
<td>
|
||||
<?php echo $strCreateNewDatabase . ': ' . PMA_showMySQLDocu('Reference', 'CREATE_DATABASE'); ?><br />
|
||||
<?php echo '<i>' . $strNoPrivileges .'</i>'; ?><br />
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
} // end create db form or message
|
||||
echo "\n";
|
||||
|
||||
// Server related links
|
||||
|
Reference in New Issue
Block a user