Rename tbl_* files to drop useless _properties part.

This commit is contained in:
Michal Čihař
2006-10-25 10:55:20 +00:00
parent 5760b41378
commit ad06b4a991
33 changed files with 138 additions and 137 deletions

View File

@@ -75,7 +75,7 @@ if ($import_type == 'table') {
} else {
if (empty($goto) || !preg_match('@^(server|db|tbl)(_[a-z]*)*\.php$@i', $goto)) {
if (isset($table) && isset($db)) {
$goto = 'tbl_properties_structure.php';
$goto = 'tbl_structure.php';
} elseif (isset($db)) {
$goto = 'db_details_structure.php';
} else {
@@ -91,7 +91,7 @@ if ($import_type == 'table') {
}
$err_url = $goto
. '?' . $common
. (preg_match('@^tbl_properties(_[a-z]*)?\.php$@', $goto) ? '&table=' . urlencode($table) : '');
. (preg_match('@^tbl_[a-z]*\.php$@', $goto) ? '&table=' . urlencode($table) : '');
}