New URL and hidden input generating stuff.

This commit is contained in:
Michal Čihař
2003-01-08 13:50:30 +00:00
parent cbb9ea86d6
commit 1e8447e111
50 changed files with 229 additions and 559 deletions

View File

@@ -21,18 +21,9 @@ require('./libraries/relation.lib.php3');
* Defines the url to return to in case of error in a sql statement
*/
if (isset($table)) {
$err_url = 'tbl_properties.php3'
. '?lang=' . $lang
. '&convcharset=' . $convcharset
. '&server=' . $server
. '&db=' . urlencode($db)
. '&table=' . urlencode($table);
$err_url = 'tbl_properties.php3?' . PMA_generate_common_url($db, $table);
} else {
$err_url = 'db_details.php3'
. '?lang=' . $lang
. '&convcharset=' . $convcharset
. '&server=' . $server
. '&db=' . urlencode($db);
$err_url = 'db_details.php3?' . PMA_generate_common_url($db);
}
@@ -299,4 +290,4 @@ function printPage()
echo '<br /><br />&nbsp;<input type="button" style="visibility: ; width: 100px; height: 25px" name="print" value="' . $strPrint . '" onclick="printPage()">' . "\n";
require('./footer.inc.php3');
?>
?>