Improved the "mark row" feature so it can be used with the "pointer" one

This commit is contained in:
Loïc Chapeaux
2002-03-23 11:12:30 +00:00
parent c8bc6ac992
commit 4fafc30ea4
6 changed files with 97 additions and 49 deletions

View File

@@ -124,8 +124,8 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
if (!isset($cfgBrowsePointerColor)) {
$cfgBrowsePointerColor = '';
}
if (!isset($cfgBrowseMarkRow)) {
$cfgBrowseMarkRow = 0;
if (!isset($cfgBrowseMarkerColor)) {
$cfgBrowseMarkerColor = '';
}
if (!isset($cfgTextareaCols)) {
$cfgTextareaCols = 40;
@@ -552,8 +552,8 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
// 'only_db' is empty for the current user...
else {
// ... first checks whether the "safe_show_database"
// is on or not (if MYSQL supports this)
// ... first checks whether the "safe_show_database" is on or not
// (if MYSQL supports this)
if (defined('PMA_MYSQL_INT_VERSION') &&
PMA_MYSQL_INT_VERSION >= 32330) {
$local_query = 'SHOW VARIABLES LIKE \'safe_show_database\'';