Use better message, thanks to Marc for noticing this.

This commit is contained in:
Michal Čihař
2005-07-13 17:26:45 +00:00
parent bc0a814e2b
commit 956d450f5d
2 changed files with 3 additions and 1 deletions

View File

@@ -15,6 +15,8 @@ $Source$
* main.php, server_databases.php, libraries/check_user_privileges.lib.php,
libraries/display_create_database.lib.php: Show box for creating
database only if user has privileges to do so (bug #1167892).
* libraries/display_tbl.lib.php: Use better message, thanks to Marc for
noticing this.
2005-07-12 Marc Delisle <lem9@users.sourceforge.net>
* sql.php: for Insert row and Export, use post when the query is too big

View File

@@ -272,7 +272,7 @@ function PMA_displayTableNavigation($pos_next, $pos_prev, $encoded_query)
</td>
<td align="center">
<form action="sql.php" method="post"
onsubmit="return (checkFormElementInRange(this, 'session_max_rows', '<?php echo str_replace('\'', '\\\'', $GLOBALS['strInvalidRowCount']); ?>', 1) &amp;&amp; checkFormElementInRange(this, 'pos', '<?php echo str_replace('\'', '\\\'', $GLOBALS['strInvalidRowNumber']); ?>', 0, <?php echo $unlim_num_rows - 1; ?>))">
onsubmit="return (checkFormElementInRange(this, 'session_max_rows', '<?php echo str_replace('\'', '\\\'', $GLOBALS['strInvalidRowNumber']); ?>', 1) &amp;&amp; checkFormElementInRange(this, 'pos', '<?php echo str_replace('\'', '\\\'', $GLOBALS['strInvalidRowNumber']); ?>', 0, <?php echo $unlim_num_rows - 1; ?>))">
<?php echo PMA_generate_common_hidden_inputs($db, $table); ?>
<input type="hidden" name="sql_query" value="<?php echo $encoded_query; ?>" />
<input type="hidden" name="goto" value="<?php echo $goto; ?>" />