diff --git a/ChangeLog b/ChangeLog index 9d6c3037e9..4a4b23c3f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -28,6 +28,7 @@ phpMyAdmin - ChangeLog + [export] Show triggers in Open Document Text, Word and Texy! Text - Patch #3415061 [auth] Login screen appears under the page + rfe #3517354 [interface] Allow disabling CodeMirror with $cfg['CodemirrorEnable'] = false ++ rfe #3475567 [interface] New directive $cfg['HideStructureActions'] 3.5.1.0 (not yet released) - bug #3510784 [edit] Limit clause ignored when sort order is remembered diff --git a/Documentation.html b/Documentation.html index 38aa5ce806..eb7ae843cb 100644 --- a/Documentation.html +++ b/Documentation.html @@ -1612,6 +1612,10 @@ CREATE DATABASE,ALTER DATABASE,DROP DATABASE "tbl_sql.php", "tbl_select.php", "tbl_change.php" or "sql.php". +
$cfg['HideStructureActions'] boolean
+
Defines whether the table structure actions are hidden under a + "More" drop-down.
+
$cfg['ShowStats'] boolean
Defines whether or not to display space usage and statistics about databases and tables.
diff --git a/libraries/config/messages.inc.php b/libraries/config/messages.inc.php index 47df00ade0..dbaa7bd2e3 100644 --- a/libraries/config/messages.inc.php +++ b/libraries/config/messages.inc.php @@ -55,6 +55,8 @@ $strConfigDefaultTabServer_desc = __('Tab that is displayed when entering a serv $strConfigDefaultTabServer_name = __('Default server tab'); $strConfigDefaultTabTable_desc = __('Tab that is displayed when entering a table'); $strConfigDefaultTabTable_name = __('Default table tab'); +$strConfigHideStructureActions_desc = __('Whether the table structure actions should be hidden'); +$strConfigHideStructureActions_name = __('Hide table structure actions'); $strConfigDisplayBinaryAsHex_desc = __('Show binary contents as HEX by default'); $strConfigDisplayBinaryAsHex_name = __('Show binary contents as HEX'); $strConfigDisplayDatabasesList_desc = __('Show database listing as a list instead of a drop down'); @@ -225,6 +227,8 @@ $strConfigForm_Startup = __('Startup'); $strConfigForm_Startup_desc = __('Customize startup page'); $strConfigForm_DbStructure = __('Database structure'); $strConfigForm_DbStructure_desc = __('Choose which details to show in the database structure (list of tables)'); +$strConfigForm_TableStructure = __('Table structure'); +$strConfigForm_TableStructure_desc = __('Settings for the table structure (list of columns)'); $strConfigForm_Tabs = __('Tabs'); $strConfigForm_Tabs_desc = __('Choose how you want tabs to work'); $strConfigForm_Text_fields = __('Text fields'); diff --git a/libraries/config/setup.forms.php b/libraries/config/setup.forms.php index a6518b1a33..34b2de9a22 100644 --- a/libraries/config/setup.forms.php +++ b/libraries/config/setup.forms.php @@ -197,6 +197,8 @@ $forms['Main_frame']['DbStructure'] = array( 'ShowDbStructureCreation', 'ShowDbStructureLastUpdate', 'ShowDbStructureLastCheck'); +$forms['Main_frame']['TableStructure'] = array( + 'HideStructureActions'); $forms['Main_frame']['Browse'] = array( 'NavigationBarIconic', 'ShowAll', diff --git a/libraries/config/user_preferences.forms.php b/libraries/config/user_preferences.forms.php index d52abcb823..179b5aea3e 100644 --- a/libraries/config/user_preferences.forms.php +++ b/libraries/config/user_preferences.forms.php @@ -106,6 +106,8 @@ $forms['Main_frame']['DbStructure'] = array( 'ShowDbStructureCreation', 'ShowDbStructureLastUpdate', 'ShowDbStructureLastCheck'); +$forms['Main_frame']['TableStructure'] = array( + 'HideStructureActions'); $forms['Main_frame']['Browse'] = array( 'NavigationBarIconic', 'PropertiesIconic',