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

@@ -17,7 +17,7 @@ $index_types_cnt = count($index_types);
/**
* Ensures the db & table are valid, then loads headers and gets indexes
* informations.
* Skipped if this script is called by "tbl_properties.php"
* Skipped if this script is called by "tbl_sql.php"
*/
if (!defined('PMA_IDX_INCLUDED')) {
// Not a valid db name -> back to the welcome page
@@ -71,7 +71,7 @@ if (!defined('PMA_IDX_INCLUDED')) {
$indexes = array();
$indexes_info = array();
$indexes_data = array();
// keys had already been grabbed in "tbl_properties.php"
// keys had already been grabbed in "tbl_sql.php"
if (!defined('PMA_IDX_INCLUDED')) {
$ret_keys = PMA_get_indexes($table, $err_url_0);
}
@@ -79,7 +79,7 @@ if (!defined('PMA_IDX_INCLUDED')) {
PMA_extract_indexes($ret_keys, $indexes, $indexes_info, $indexes_data);
// Get fields and stores their name/type
// fields had already been grabbed in "tbl_properties.php"
// fields had already been grabbed in "tbl_sql.php"
if (!defined('PMA_IDX_INCLUDED')) {
$fields_rs = PMA_DBI_query('SHOW FIELDS FROM '
. PMA_backquote($table) . ';');
@@ -110,7 +110,7 @@ if ($fields_rs) {
/**
* Do run the query to build the new index and moves back to
* "tbl_properties.php"
* "tbl_sql.php"
*/
if (!defined('PMA_IDX_INCLUDED')
&& (isset($index) && isset($do_save_data))) {
@@ -183,8 +183,8 @@ if (!defined('PMA_IDX_INCLUDED')
$message = $strTable . ' ' . htmlspecialchars($table) . ' '
. $strHasBeenAltered;
$active_page = 'tbl_properties_structure.php';
require('./tbl_properties_structure.php');
$active_page = 'tbl_structure.php';
require('./tbl_structure.php');
} // end builds the new index