diff --git a/ChangeLog b/ChangeLog index c79a73d1e1..815c7b843e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -57,6 +57,8 @@ phpMyAdmin - ChangeLog + rfe #1606 processlist filter + rfe Change tracking activation status from db level tracking page + rfe #1207 Export users associated with a specific schema/database ++ rfe #1575 "Disable database expansion" : unclear directive name and +explanation 4.3.11.0 (not yet released) - bug #4774 SQL links are completely wrong diff --git a/doc/config.rst b/doc/config.rst index 26e0739d55..4981bd0045 100644 --- a/doc/config.rst +++ b/doc/config.rst @@ -1592,12 +1592,12 @@ Navigation panel setup * ``tbl_change.php`` * ``sql.php`` -.. config:option:: $cfg['NavigationTreeDisableDatabaseExpansion'] +.. config:option:: $cfg['NavigationTreeEnableExpansion'] :type: boolean :default: false - Whether or not to disable the possibility of databases expansion in the navigation panel + Whether to offer the possibility of tree expansion in the navigation panel. Main panel ---------- diff --git a/libraries/config.default.php b/libraries/config.default.php index 817ac73869..8b0798dcd0 100644 --- a/libraries/config.default.php +++ b/libraries/config.default.php @@ -982,9 +982,9 @@ $cfg['NavigationTreeDefaultTabTable2'] = ''; /** * Disables the possibility of database expansion * - * @global boolean $cfg['DisableDatabaseExpansion'] + * @global boolean $cfg['NavigationTreeEnableExpansion'] */ -$cfg['NavigationTreeDisableDatabaseExpansion'] = false; +$cfg['NavigationTreeEnableExpansion'] = true; /******************************************************************************* * In the main panel, at startup... diff --git a/libraries/config/messages.inc.php b/libraries/config/messages.inc.php index a4c219882b..cf2b97d3c9 100644 --- a/libraries/config/messages.inc.php +++ b/libraries/config/messages.inc.php @@ -460,10 +460,10 @@ $strConfigNavigationTreeTableLevel_name = __('Maximum table tree depth'); $strConfigNavigationTreePointerEnable_desc = __('Highlight server under the mouse cursor.'); $strConfigNavigationTreePointerEnable_name = __('Enable highlighting'); -$strConfigNavigationTreeDisableDatabaseExpansion_desc - = __('Whether to disable the possibility of database expansion or not.'); -$strConfigNavigationTreeDisableDatabaseExpansion_name - = __('Disable database expansion'); +$strConfigNavigationTreeEnableExpansion_desc + = __('Whether to offer the possibility of tree expansion in the navigation panel.'); +$strConfigNavigationTreeEnableExpansion_name + = __('Enable navigation tree expansion'); $strConfigNumRecentTables_desc = __('Maximum number of recently used tables; set 0 to disable.'); $strConfigNumFavoriteTables_desc diff --git a/libraries/config/setup.forms.php b/libraries/config/setup.forms.php index fa22ba0bc8..90083a7625 100644 --- a/libraries/config/setup.forms.php +++ b/libraries/config/setup.forms.php @@ -173,7 +173,7 @@ $forms['Navi_panel']['Navi_panel'] = array( 'FirstLevelNavigationItems', 'MaxNavigationItems', 'NavigationTreeEnableGrouping', - 'NavigationTreeDisableDatabaseExpansion', + 'NavigationTreeEnableExpansion', 'NavigationTreeDisplayItemFilterMinimum', 'NumRecentTables', 'NumFavoriteTables' diff --git a/libraries/config/user_preferences.forms.php b/libraries/config/user_preferences.forms.php index 06825004dc..150642e93f 100644 --- a/libraries/config/user_preferences.forms.php +++ b/libraries/config/user_preferences.forms.php @@ -83,7 +83,7 @@ $forms['Navi_panel']['Navi_panel'] = array( 'FirstLevelNavigationItems', 'MaxNavigationItems', 'NavigationTreeEnableGrouping', - 'NavigationTreeDisableDatabaseExpansion', + 'NavigationTreeEnableExpansion', 'NavigationTreeDisplayItemFilterMinimum', 'NumRecentTables', 'NumFavoriteTables' diff --git a/libraries/navigation/NavigationTree.class.php b/libraries/navigation/NavigationTree.class.php index e05dcfb217..219d96a19f 100644 --- a/libraries/navigation/NavigationTree.class.php +++ b/libraries/navigation/NavigationTree.class.php @@ -629,7 +629,7 @@ class PMA_NavigationTree public function groupNode($node) { if ($node->type != Node::CONTAINER - || $GLOBALS['cfg']['NavigationTreeDisableDatabaseExpansion'] + || ! $GLOBALS['cfg']['NavigationTreeEnableExpansion'] ) { return; } @@ -774,7 +774,7 @@ class PMA_NavigationTree $retval .= '
'; $retval .= '