- XHTML compliance, styling outsourced, row marker outsourced
- do not too much if there is no table
This commit is contained in:
@@ -19,6 +19,9 @@ $Source$
|
|||||||
every table with class data now has mark and hover effect
|
every table with class data now has mark and hover effect
|
||||||
* css/phpmyadmin.css.php: nowrap for IE and pre for the rest
|
* css/phpmyadmin.css.php: nowrap for IE and pre for the rest
|
||||||
* css/phpmyadmin.css.php, server_status.php: css cleanup
|
* css/phpmyadmin.css.php, server_status.php: css cleanup
|
||||||
|
* db_details_structure.php, db_details_db_info.php:
|
||||||
|
- XHTML compliance, styling outsourced, row marker outsourced
|
||||||
|
- do not too much if there is no table
|
||||||
|
|
||||||
2005-10-19 Alexander M. Turek <me@derrabus.de>
|
2005-10-19 Alexander M. Turek <me@derrabus.de>
|
||||||
* lang/*.inc.php, libraries/mysql_charsets.lib.php: Correct description
|
* lang/*.inc.php, libraries/mysql_charsets.lib.php: Correct description
|
||||||
|
@@ -36,7 +36,7 @@ $tables = array();
|
|||||||
|
|
||||||
// When used in Nested table group mode, only show tables matching the given groupname
|
// When used in Nested table group mode, only show tables matching the given groupname
|
||||||
if (!empty($tbl_group) && !$cfg['ShowTooltipAliasTB']) {
|
if (!empty($tbl_group) && !$cfg['ShowTooltipAliasTB']) {
|
||||||
$tbl_group_sql = ' LIKE \'' . $tbl_group . '%\'';
|
$tbl_group_sql = ' LIKE "' . PMA_escape_mysql_wildcards( $tbl_group ) . '%"';
|
||||||
} else {
|
} else {
|
||||||
$tbl_group_sql = '';
|
$tbl_group_sql = '';
|
||||||
}
|
}
|
||||||
@@ -86,9 +86,9 @@ if ($cfg['SkipLockedTables'] == TRUE) {
|
|||||||
fillTooltip($tooltip_truename, $tooltip_aliasname, $sts_tmp);
|
fillTooltip($tooltip_truename, $tooltip_aliasname, $sts_tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
$tables[] = $sts_tmp;
|
$tables[$sts_tmp['Name']] = $sts_tmp;
|
||||||
} else { // table in use
|
} else { // table in use
|
||||||
$tables[] = array('Name' => $tmp[0]);
|
$tables[$tmp[0]] = array('Name' => $tmp[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
PMA_DBI_free_result($db_info_result);
|
PMA_DBI_free_result($db_info_result);
|
||||||
@@ -120,7 +120,7 @@ if (!isset($sot_ready)) {
|
|||||||
fillTooltip($tooltip_truename, $tooltip_aliasname, $sts_tmp);
|
fillTooltip($tooltip_truename, $tooltip_aliasname, $sts_tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
$tables[] = $sts_tmp;
|
$tables[$sts_tmp['Name']] = $sts_tmp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@PMA_DBI_free_result($db_info_result);
|
@PMA_DBI_free_result($db_info_result);
|
||||||
@@ -128,6 +128,10 @@ if (!isset($sot_ready)) {
|
|||||||
}
|
}
|
||||||
$num_tables = (isset($tables) ? count($tables) : 0);
|
$num_tables = (isset($tables) ? count($tables) : 0);
|
||||||
|
|
||||||
|
if ( $GLOBALS['cfg']['NaturalOrder'] ) {
|
||||||
|
uksort( $tables, 'strnatcasecmp' );
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Displays top menu links
|
* Displays top menu links
|
||||||
*/
|
*/
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user