bug 645173
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2002-11-29 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* tbl_change.php3, tbl_select.php3, tbl_properties_operations.php3:
|
||||||
|
bug 645173 wrong back link for inserts
|
||||||
|
|
||||||
2002-11-28 Marc Delisle <lem9@users.sourceforge.net>
|
2002-11-28 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* main.php3: display PHP 4.2.3 warning only if mbstring is loaded
|
* main.php3: display PHP 4.2.3 warning only if mbstring is loaded
|
||||||
|
|
||||||
|
@@ -62,7 +62,8 @@ if (get_magic_quotes_gpc()) {
|
|||||||
if (!isset($goto)) {
|
if (!isset($goto)) {
|
||||||
$goto = 'db_details.php3';
|
$goto = 'db_details.php3';
|
||||||
}
|
}
|
||||||
if ($goto != 'db_details.php3' && $goto != 'tbl_properties.php3') {
|
//if ($goto != 'db_details.php3' && $goto != 'tbl_properties.php3') {
|
||||||
|
if (!ereg('^(db_details|tbl_properties|tbl_select)', $goto)) {
|
||||||
$err_url = $goto;
|
$err_url = $goto;
|
||||||
} else {
|
} else {
|
||||||
$err_url = $goto
|
$err_url = $goto
|
||||||
@@ -70,7 +71,8 @@ if ($goto != 'db_details.php3' && $goto != 'tbl_properties.php3') {
|
|||||||
. '&convcharset=' . $convcharset
|
. '&convcharset=' . $convcharset
|
||||||
. '&server=' . $server
|
. '&server=' . $server
|
||||||
. '&db=' . urlencode($db)
|
. '&db=' . urlencode($db)
|
||||||
. (($goto == 'tbl_properties.php3') ? '&table=' . urlencode($table) : '');
|
//. (($goto == 'tbl_properties.php3') ? '&table=' . urlencode($table) : '');
|
||||||
|
. ((ereg('^(tbl_properties|tbl_select)', $goto)) ? '&table=' . urlencode($table) : '');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
* Runs common work
|
* Runs common work
|
||||||
*/
|
*/
|
||||||
require('./tbl_properties_common.php3');
|
require('./tbl_properties_common.php3');
|
||||||
$err_url = 'tbl_properties_operations.php3' . $err_url;
|
//$err_url = 'tbl_properties_operations.php3' . $err_url;
|
||||||
$url_query .= '&goto=tbl_properties_operations.php3&back=tbl_properties_operations.php3';
|
$url_query .= '&goto=tbl_properties_operations.php3&back=tbl_properties_operations.php3';
|
||||||
|
|
||||||
|
|
||||||
|
@@ -25,10 +25,13 @@ $textfunctions = array('LIKE', '=', '!=');
|
|||||||
if (!isset($param) || $param[0] == '') {
|
if (!isset($param) || $param[0] == '') {
|
||||||
// Gets some core libraries
|
// Gets some core libraries
|
||||||
include('./tbl_properties_common.php3');
|
include('./tbl_properties_common.php3');
|
||||||
$err_url = 'tbl_select.php3' . $err_url;
|
//$err_url = 'tbl_select.php3' . $err_url;
|
||||||
$url_query .= '&goto=tbl_select.php3&back=tbl_select.php3';
|
$url_query .= '&goto=tbl_select.php3&back=tbl_select.php3';
|
||||||
include('./tbl_properties_table_info.php3');
|
include('./tbl_properties_table_info.php3');
|
||||||
|
|
||||||
|
if (!isset($goto)) {
|
||||||
|
$goto = $cfg['DefaultTabTable'];
|
||||||
|
}
|
||||||
// Defines the url to return to in case of error in the next sql statement
|
// Defines the url to return to in case of error in the next sql statement
|
||||||
$err_url = $goto
|
$err_url = $goto
|
||||||
. '?lang=' . $lang
|
. '?lang=' . $lang
|
||||||
|
Reference in New Issue
Block a user