no priv messages for db creation

This commit is contained in:
Marc Delisle
2002-11-05 11:01:38 +00:00
parent 0a3d83ffb8
commit 85cdbbf15c
2 changed files with 17 additions and 1 deletions

View File

@@ -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

View File

@@ -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 . ':&nbsp;' . 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