diff --git a/tbl_properties_export.php3 b/tbl_properties_export.php3 index c98994a94a69..2c1dad7bcfa8 100755 --- a/tbl_properties_export.php3 +++ b/tbl_properties_export.php3 @@ -17,7 +17,7 @@ require('./tbl_properties_table_info.php3');
- + diff --git a/tbl_properties_links.php3 b/tbl_properties_links.php3 index a329aaea54a7..cb984f8babb0 100755 --- a/tbl_properties_links.php3 +++ b/tbl_properties_links.php3 @@ -1,9 +1,13 @@ 0) { . urlencode(sprintf($strTableHasBeenEmptied, htmlspecialchars($table))); $att6 = 'class="drop" onclick="return confirmLink(this, \'' . $ln6_stt . PMA_jsFormat($table) . '\')"'; } else { - $lnk2 = ''; - $arg2 = ''; - $lnk4 = ''; - $arg4 = ''; - $lnk6 = ''; - $arg6 = ''; - $att6 = ''; + $lnk2 = ''; + $arg2 = ''; + $lnk4 = ''; + $arg4 = ''; + $lnk6 = ''; + $arg6 = ''; + $att6 = ''; } $lnk7 = "sql.php3"; $arg7 = ereg_replace('tbl_properties.php3$', 'db_details.php3', $url_query) . '&back=tbl_properties' . $sub_part . '.php3&reload=1&sql_query= ' . urlencode('DROP TABLE ' . PMA_backquote($table) ) . '&zero_rows=' . urlencode(sprintf($strTableHasBeenDropped, htmlspecialchars($table))); $att7 = 'class="drop" onclick="return confirmLink(this, \'DROP TABLE ' . PMA_jsFormat($table) . '\')"'; + /** * Displays links */ ?>
- - + + - - +
 
 

+ diff --git a/tbl_properties_operations.php3 b/tbl_properties_operations.php3 index dbbb07dce9d2..1e32fc4916bb 100755 --- a/tbl_properties_operations.php3 +++ b/tbl_properties_operations.php3 @@ -9,8 +9,11 @@ require('./tbl_properties_common.php3'); $err_url = 'tbl_properties_operations.php3' . $err_url; $url_query .= '&back=tbl_properties_operations.php3'; -require('./libraries/relation.lib.php3'); +/** + * Gets relation settings + */ +require('./libraries/relation.lib.php3'); $cfgRelation = PMA_getRelationsParam(); @@ -293,7 +296,7 @@ if ($cfgRelation['relwork']) { // and $db is not the last of the list, because PMA_availableDatabases() // has made a PMA_mysql_select_db() on the last one PMA_mysql_select_db($db); - $foreign = getForeigners($db,$table); + $foreign = getForeigners($db, $table); if ($foreign) { ?> @@ -303,7 +306,7 @@ if ($cfgRelation['relwork']) {